swift proxy has inconsistent ring builder across units
Bug #1381040 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swift-proxy (Juju Charms Collection) |
Fix Released
|
Critical
|
Edward Hope-Morley |
Bug Description
Deploying Swift from the stable branch with:
* 3 proxy units + hacluster
* 3 storage units
produces inconsistent /etc/swift/
Related branches
lp://qastaging/~hopem/charms/trusty/swift-proxy/ring-builder-sync
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/swift-proxy/next
at
revision 67
- OpenStack Charmers: Pending requested
-
Diff: 351 lines (+181/-76)3 files modifiedREADME.md (+3/-2)
hooks/swift_hooks.py (+171/-66)
hooks/swift_utils.py (+7/-8)
lp://qastaging/~hopem/charms/trusty/swift-proxy/ring-builder-sync.stable-backport
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/swift-proxy/trunk
at
revision 67
- Edward Hope-Morley: Approve
-
Diff: 351 lines (+181/-76)3 files modifiedREADME.md (+3/-2)
hooks/swift_hooks.py (+171/-66)
hooks/swift_utils.py (+7/-8)
Changed in swift-proxy (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Edward Hope-Morley (hopem) |
tags: | added: cts openstack |
tags: | added: backport-potential |
Changed in swift-proxy (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in swift-proxy (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Using stable charms and this procedure:
$ juju deploy --to 1 --repository . --config= config. yaml local:trusty/ swift-storage swift-zone1 config. yaml local:trusty/ swift-storage swift-zone2 config. yaml local:trusty/ swift-storage swift-zone3 config. yaml local:trusty/ swift-proxy
$ juju deploy --to 2 --repository . --config=
$ juju deploy --to 3 --repository . --config=
$ juju deploy --to lxc:1 --repository . --config=
$ juju add-unit --to lxc:2 swift-proxy
$ juju add-unit --to lxc:3 swift-proxy
$ juju add-relation swift-proxy swift-hacluster
$ juju add-relation swift-proxy swift-zone1
$ juju add-relation swift-proxy swift-zone2
$ juju add-relation swift-proxy swift-zone3
$ juju add-relation swift-proxy glance
$ juju add-relation swift-proxy keystone
Behavior is inconsistent; most of the time it works, but sometimes we have inconsistency across proxies. This is relevant config from yaml:
swift-proxy:
auth-type: 'keystone'
use-https: 'False'
vip: '192.168.0.10'
vip_iface: eth0
zone-assignment: 'manual'
swift-hash: 'random_hash'
swift-zone1:
block-device: '/dev/sdc /dev/sde /dev/sdg /dev/sdi /dev/sdk'
overwrite: 'true'
zone: 1
swift-zone2:
block-device: '/dev/sdc /dev/sde /dev/sdg /dev/sdi /dev/sdk'
overwrite: 'true'
zone: 2
swift-zone3:
block-device: '/dev/sdc /dev/sde /dev/sdg /dev/sdi /dev/sdk'
overwrite: 'true'
zone: 3
We've also tried with manual zone assignment with the same result. Always only one of swift-proxies is able to actually communicate with storage zones.