Merge lp:~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks into lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next |
| Diff against target: |
131 lines (+53/-23) 3 files modified
hooks/add-storage (+7/-0) hooks/ceph_hooks.py (+37/-23) metadata.yaml (+9/-0) |
| To merge this branch: | bzr merge lp:~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page | 2016-01-29 | Needs Fixing on 2016-02-18 | |
|
Review via email:
|
|||
Description of the Change
Add ability to manage ceph OSD and Journal devices with storage hooks
charm_lint_check #18334 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
Build: http://
charm_amulet_test #9098 ceph-osd-next for chris.macnaughton mp284445
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 124
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://
- 62. By Chris MacNaughton on 2016-01-29
-
finish hooks
charm_unit_test #17082 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
charm_lint_check #18335 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
Build: http://
charm_amulet_test #9099 ceph-osd-next for chris.macnaughton mp284445
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.
Full amulet test output: http://
Build: http://
- 63. By Chris MacNaughton on 2016-02-01
-
update to get around storage behaviour
charm_lint_check #18448 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
Build: http://
charm_unit_test #17187 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
charm_amulet_test #9145 ceph-osd-next for chris.macnaughton mp284445
AMULET OK: passed
Build: http://
charm_unit_test #122 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
charm_lint_check #136 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
charm_amulet_test #21 ceph-osd-next for chris.macnaughton mp284445
AMULET OK: passed
| James Page (james-page) wrote : | # |
Chris
I have reservations about the actions being implemented here; they overlap heavily with what juju storage should be doing and I'm not sure they are the right direction.
That said, the juju storage stuff looks great - does the ceph charm suffer from the 'new versions' problem for early unit lifecycle as well?
- 64. By Chris MacNaughton on 2016-02-18
-
remove actions stuff
Didn't mean for the actions (incomplete) to be on here; you'll notice the mini hook, add-storage, that shims in support to make the hooks ok later since they will fire before the install hook.
charm_unit_test #740 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
charm_lint_check #837 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
- 65. By Chris MacNaughton on 2016-02-18
-
Resolve conflict with get_devices
charm_unit_test #743 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
charm_lint_check #841 ceph-osd-next for chris.macnaughton mp284445
LINT OK: passed
charm_amulet_test #336 ceph-osd-next for chris.macnaughton mp284445
AMULET OK: passed
Unmerged revisions
- 65. By Chris MacNaughton on 2016-02-18
-
Resolve conflict with get_devices
- 64. By Chris MacNaughton on 2016-02-18
-
remove actions stuff
- 63. By Chris MacNaughton on 2016-02-01
-
update to get around storage behaviour
- 62. By Chris MacNaughton on 2016-01-29
-
finish hooks
- 61. By Chris MacNaughton on 2016-01-29
-
add storage hooks for OSD and Journal devices

charm_unit_test #17081 ceph-osd-next for chris.macnaughton mp284445
UNIT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_unit_ test/17081/