CentOS HA deployment fail, can not execute swift-ring-builder

Bug #1248651 reported by Tatyanka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Ivan Ponomarev

Bug Description

325 iso with Havan packages:
Deploy Ha mode on Cetos with 3 controller + 1 compute + Nona networking with FlatDHCP:
installation on 1 controller node take near 1h
1 controller fail with error in puppet logs:
(/Ring_container_device[192.168.1.3:6001]/ensure) change from absent to present failed: Execution of '/usr/bin/swift-ring-builder /etc/swift/container.builder remove 192.168.1.3:6001/192.168.1.3' returned 2: Search value "192.168.1.3:6001/192.168.1.3" matched 0 devices.
The on-disk ring builder is unchanged.

Next message in swift logs:
Error trying to load config from /etc/swift/object-server.conf: xattr>=0.4

[root@node-1 log]# ls -all /usr/lib64/python2.6/site-packages/ | grep xattr
-rw-r--r-- 1 root root 406 Oct 26 14:19 pyxattr-0.5.0-py2.6.egg-info
-rw-r--r-- 1 root root 26248 Oct 26 14:19 xattr.so

Tags: 4.0 havana
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

Swift output format is changed in Havana. Look into:

[root@node-1 ~]# /usr/bin/swift-ring-builder /etc/swift/container.builder
/etc/swift/container.builder, build version 6
262144 partitions, 3.000000 replicas, 1 regions, 3 zones, 6 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
             0 1 2 192.168.1.3 6001 192.168.1.3 6001 2 1.00 131072 0.00
             1 1 2 192.168.1.3 6001 192.168.1.3 6001 1 1.00 131072 0.00
             2 1 3 192.168.1.4 6001 192.168.1.4 6001 2 1.00 131072 0.00
             3 1 3 192.168.1.4 6001 192.168.1.4 6001 1 1.00 131072 0.00
             4 1 1 192.168.1.2 6001 192.168.1.2 6001 2 1.00 131072 0.00
             5 1 1 192.168.1.2 6001 192.168.1.2 6001 1 1.00 131072 0.00

Changed in fuel:
importance: Medium → Critical
assignee: nobody → Zipfer (ivanzipfer)
Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :
Changed in fuel:
status: New → In Progress
Changed in fuel:
status: In Progress → Fix Committed
summary: - CentOs HA deployment fail, can not execute swift-ring-builder
+ CentOS HA deployment fail, can not execute swift-ring-builder
Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :

what do you mean, how it related with this bug?

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.