Merge lp:~ionutbalutoiu/charms/trusty/glance/next into lp:~openstack-charmers-archive/charms/trusty/glance/next
| Status: | Merged |
|---|---|
| Merged at revision: | 152 |
| Proposed branch: | lp:~ionutbalutoiu/charms/trusty/glance/next |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/glance/next |
| Diff against target: |
80 lines (+41/-0) 2 files modified
hooks/glance_relations.py (+10/-0) hooks/glance_utils.py (+31/-0) |
| To merge this branch: | bzr merge lp:~ionutbalutoiu/charms/trusty/glance/next |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| David Ames | 2015-10-30 | Approve on 2015-11-02 | |
|
Review via email:
|
|||
Description of the Change
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://
This is needed for OpenStack Ironic charm (http://
charm_unit_test #12002 glance-next for ionutbalutoiu mp276285
UNIT OK: passed
charm_amulet_test #7669 glance-next for ionutbalutoiu mp276285
AMULET OK: passed
Build: http://
| David Ames (thedac) wrote : | # |
Thanks for participating in the charm ecosystem! This MP looks good with the exception of the lint failure. The lint failure is a simple flake8 check.
You can run this with:
flake8 --exclude hooks/charmhelp
Once that is fixed we can merge it.
charm_lint_check #12928 glance-next for ionutbalutoiu mp276285
LINT OK: passed
Build: http://
charm_unit_test #12004 glance-next for ionutbalutoiu mp276285
UNIT OK: passed
charm_amulet_test #7671 glance-next for ionutbalutoiu mp276285
AMULET OK: passed
Build: http://
| David Ames (thedac) wrote : | # |
Ionut-Madalin,
This looks good. I tested manually. Will merge.
Thanks again for participating in the charm community.
- 152. By David Ames on 2015-11-02
-
[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.

charm_lint_check #12926 glance-next for ionutbalutoiu mp276285
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:// paste.ubuntu. com/13010274/ 10.245. 162.77: 8080/job/ charm_lint_ check/12926/
Build: http://