Merge lp:~jjo/charms/trusty/swift-proxy/fix-multiple-devices-per-node_lp1479938 into lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next
| Status: | Merged |
|---|---|
| Merged at revision: | 120 |
| Proposed branch: | lp:~jjo/charms/trusty/swift-proxy/fix-multiple-devices-per-node_lp1479938 |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next |
| Diff against target: |
121 lines (+82/-6) 2 files modified
hooks/swift_utils.py (+11/-6) unit_tests/test_swift_utils.py (+71/-0) |
| To merge this branch: | bzr merge lp:~jjo/charms/trusty/swift-proxy/fix-multiple-devices-per-node_lp1479938 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| OpenStack Charmers | 2015-07-30 | Pending | |
|
Review via email:
|
|||
Commit Message
[jjo, r=] also consider blockdev in exists_in_ring(), fixes lp#1479938
| JuanJo Ciarlante (jjo) wrote : | # |
charm_lint_check #7295 swift-proxy-next for jjo mp266462
LINT OK: passed
charm_unit_test #6749 swift-proxy-next for jjo mp266462
UNIT OK: passed
charm_lint_check #7296 swift-proxy-next for jjo mp266462
LINT OK: passed
charm_unit_test #6750 swift-proxy-next for jjo mp266462
UNIT OK: passed
- 103. By JuanJo Ciarlante on 2015-07-30
-
add unittest: test_update_
rings_multiple_ devs()
| JuanJo Ciarlante (jjo) wrote : | # |
FYI, added unittests at r103.
charm_lint_check #7297 swift-proxy-next for jjo mp266462
LINT OK: passed
charm_unit_test #6751 swift-proxy-next for jjo mp266462
UNIT FAIL: unit-test failed
UNIT Results (max last 2 lines):
make: *** [unit_test] Error 1
ERROR:root:Make target returned non-zero.
Full unit test output: http://
Build: http://
- 104. By JuanJo Ciarlante on 2015-07-30
-
improve test_update_
rings_multiple_ devs() by comparing added devices with requested ones
charm_lint_check #7298 swift-proxy-next for jjo mp266462
LINT OK: passed
charm_unit_test #6752 swift-proxy-next for jjo mp266462
UNIT FAIL: unit-test failed
UNIT Results (max last 2 lines):
make: *** [unit_test] Error 1
ERROR:root:Make target returned non-zero.
Full unit test output: http://
Build: http://
charm_amulet_test #5509 swift-proxy-next for jjo mp266462
AMULET OK: passed
Build: http://
- 105. By JuanJo Ciarlante on 2015-07-30
-
add a basic-enough mock_ring class, to avoid the need for swift.common.ring library
| JuanJo Ciarlante (jjo) wrote : | # |
r105 should now pass both unittest, and amulet ones (already ok for the latter).
charm_lint_check #7299 swift-proxy-next for jjo mp266462
LINT OK: passed
charm_unit_test #6753 swift-proxy-next for jjo mp266462
UNIT OK: passed
charm_amulet_test #5533 swift-proxy-next for jjo mp266462
AMULET OK: passed
Build: http://
| David Ames (thedac) wrote : | # |
Juan Jo, I have superseded this MP with https:/
I wanted to see a slightly different approach and it did not make sense to ask you to do it. I have merged your MP into mine so it is included for historical sake.

Sorry for not providing tests also, please use is as a reference
for a possible lp#1479938 fix.