[ipv6] proxy should not raise exception if storage rel not ready
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swift-proxy (Juju Charms Collection) |
Fix Released
|
Critical
|
Edward Hope-Morley |
Bug Description
Currently if the storage relation fires but does not have the required information we raise an exception. Instead we should just ignore the event and wait for the next one.
2015-10-28 13:11:39 INFO juju-log swift-storage:60: Leader established, updating ring builders
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 INFO swift-storage-
2015-10-28 13:11:39 ERROR juju.worker.
Related branches
- David Ames (community): Approve
- OpenStack Charmers: Pending requested
-
Diff: 46 lines (+16/-3)2 files modifiedhooks/swift_hooks.py (+5/-3)
lib/swift_utils.py (+11/-0)
Changed in swift-proxy (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in swift-proxy (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
A juju-resolved -r does fix this but we should improve the code to avoid it happening in the first place.