Merge lp://qastaging/~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks into lp://qastaging/~openstack-charmers-archive/charms/trusty/ceph-osd/next

Proposed by Chris MacNaughton
Status: Needs review
Proposed branch: lp://qastaging/~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks
Merge into: lp://qastaging/~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://qastaging/~chris.macnaughton/charms/trusty/ceph-osd/storage-hooks
Reviewer Review Type Date Requested Status
James Page Needs Fixing
Review via email: mp+284445@code.qastaging.launchpad.net

Description of the change

Add ability to manage ceph OSD and Journal devices with storage hooks

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

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/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #18334 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/18334/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

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://paste.ubuntu.com/14695879/
Build: http://10.245.162.77:8080/job/charm_amulet_test/9098/

62. By Chris MacNaughton

finish hooks

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #17082 ceph-osd-next for chris.macnaughton mp284445
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/17082/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #18335 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/18335/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

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://paste.ubuntu.com/14697247/
Build: http://10.245.162.77:8080/job/charm_amulet_test/9099/

63. By Chris MacNaughton

update to get around storage behaviour

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #18448 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/18448/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #17187 ceph-osd-next for chris.macnaughton mp284445
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/17187/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #9145 ceph-osd-next for chris.macnaughton mp284445
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/9145/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #122 ceph-osd-next for chris.macnaughton mp284445
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/122/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #136 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/136/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #21 ceph-osd-next for chris.macnaughton mp284445
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/21/

Revision history for this message
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?

review: Needs Fixing
64. By Chris MacNaughton

remove actions stuff

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

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.

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #740 ceph-osd-next for chris.macnaughton mp284445
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/740/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #837 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/837/

65. By Chris MacNaughton

Resolve conflict with get_devices

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #743 ceph-osd-next for chris.macnaughton mp284445
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/743/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #841 ceph-osd-next for chris.macnaughton mp284445
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/841/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #336 ceph-osd-next for chris.macnaughton mp284445
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/336/

Unmerged revisions

65. By Chris MacNaughton

Resolve conflict with get_devices

64. By Chris MacNaughton

remove actions stuff

63. By Chris MacNaughton

update to get around storage behaviour

62. By Chris MacNaughton

finish hooks

61. By Chris MacNaughton

add storage hooks for OSD and Journal devices

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches