lp://staging/~ajkavanagh/charms/trusty/glance/use-assess-status-lp1531767
- Get this branch:
- bzr branch lp://staging/~ajkavanagh/charms/trusty/glance/use-assess-status-lp1531767
Branch merges
- David Ames (community): Approve
- Liam Young (community): Needs Fixing
-
Diff: 272 lines (+104/-52)5 files modifiedactions/actions.py (+10/-5)
hooks/glance_relations.py (+3/-6)
hooks/glance_utils.py (+34/-0)
unit_tests/test_actions.py (+23/-41)
unit_tests/test_glance_utils.py (+34/-0)
Branch information
- Owner:
- Alex Kavanagh
- Status:
- Merged
Recent revisions
- 161. By Alex Kavanagh
-
Change set_os_
workload_ status( ) call in hooks/glance_ relations. py to assess_status(...) call This is so that invoking glance_relations.py doesn't clobber a user set 'paused' state.
- 160. By Alex Kavanagh
-
Updates to code following comments from Liam Young:
assess_status() now uses set_os_
workload_ status( ) if he unit is not
explicitly paused. - 159. By Alex Kavanagh
-
change pause/resume actions use (new) assess_status()
Implemented new is_paused() and assess_status() functions, and changed
the pause and resume actions to use them. Changed existing and added new
tests to verify functionality. Note changed any of the other status_set()
functions. - 157. By Liam Young
-
[james-page, r=gnuoy] Expose image locations by default when in use with a Ceph backend to support copy-on-write cloning in cinder and nova
- 152. By David Ames
-
[ionutbalutoiu, r=thedac] Adds additional variables to the image-service relation. These are available only when a relation with Swift object storage is present.
In case any charm needs to generate temporary URLs from Glance with Swift backend, it needs a temp-url-key which must be posted to Swift with the glance account. (Details: http://docs.openstack. org/liberty/ config- reference/ content/ object- storage- tempurl. html)
This is needed for OpenStack Ironic charm (http://bazaar. launchpad. net/~cloudbasei t/charms/ trusty/ ironic/ trunk/view/ head:/hooks/ ironic_ context. py#L76), but might also be generally useful.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)