swift-proxy charm fails to add multiple devices per node
Bug #1479938 reported by
JuanJo Ciarlante
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swift-proxy (Juju Charms Collection) |
Fix Released
|
High
|
JuanJo Ciarlante |
Bug Description
charm: swift-proxy trunk r97
deploy: swift-proxy related to swift-storage-
result: only sdc showing in the ring
expected: sdc and sdd showing in the ring.
Debugging details: swift-ring-builder output, juju setting and juju relation values:
http://
Related branches
lp://staging/~jjo/charms/trusty/swift-proxy/fix-multiple-devices-per-node_lp1479938
- OpenStack Charmers: Pending requested
-
Diff: 121 lines (+82/-6)2 files modifiedhooks/swift_utils.py (+11/-6)
unit_tests/test_swift_utils.py (+71/-0)
lp://staging/~thedac/charms/trusty/swift-proxy/multiple-device-per-node
- Corey Bryant: Approve
-
Diff: 157 lines (+90/-11)3 files modifiedhooks/swift_hooks.py (+6/-2)
lib/swift_utils.py (+8/-9)
unit_tests/test_swift_utils.py (+76/-0)
Changed in swift-proxy (Juju Charms Collection): | |
importance: | Undecided → High |
milestone: | none → 15.10 |
Changed in swift-proxy (Juju Charms Collection): | |
status: | Confirmed → In Progress |
Changed in swift-proxy (Juju Charms Collection): | |
assignee: | nobody → JuanJo Ciarlante (jjo) |
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.
AFAICS exists_ in_ring( ring_path, node) doesn't take
into account the physical device that's being added,
thus skipping all additional devices from existing node(s).