Merge lp:~hopem/charms/trusty/cinder/lp1493931 into lp:~openstack-charmers-archive/charms/trusty/cinder/next
| Status: | Superseded | ||||
|---|---|---|---|---|---|
| Proposed branch: | lp:~hopem/charms/trusty/cinder/lp1493931 | ||||
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/cinder/next | ||||
| Diff against target: |
292 lines (+252/-2) 3 files modified
hooks/cinder_contexts.py (+45/-1) hooks/cinder_utils.py (+1/-1) unit_tests/test_cinder_contexts.py (+206/-0) |
||||
| To merge this branch: | bzr merge lp:~hopem/charms/trusty/cinder/lp1493931 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page | 2015-09-10 | Resubmit on 2015-09-11 | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-09-09.
This proposal has been superseded by a proposal from 2015-09-11.
| Edward Hope-Morley (hopem) wrote : | # |
Fair dos i'll get that done.
charm_lint_check #9701 cinder-next for hopem mp270658
LINT FAIL: lint-test failed
LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.
Full lint test output: http://
Build: http://
charm_unit_test #8944 cinder-next for hopem mp270658
UNIT OK: passed
charm_amulet_test #6332 cinder-next for hopem mp270658
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://
- 128. By Edward Hope-Morley on 2015-09-11
-
fixed unit test lint errors
| Ryan Beisner (1chb1n) wrote : | # |
Amulet fail #6332 appears to have been a (new?) juju bug. I've not filed one yet, but after walking through the logs of the various stages, here are observances:
http://
2015-09-10 13:33:59 DEBUG juju.service discovery.go:111 failed to find init system "upstart": exec "/sbin/initctl" failed: exit status 1

Hi Ed
I think we need to add features to backend subordinates so that the sub can determine and flag that its stateful/stateless; that was we don't need to update the cinder charm every time we add a new backend that is stateless.
I would suggest a default assumption of 'stateful', meaning that we would just need to update the cinder-ceph charm for now to set this new flag.
I would suggest something like:
relation_ get('stateful' ) or True
for the cinder charm, with the cinder-ceph charm setting this on its relation to cinder:
relation_ set('stateful' , True)