Merge lp:~ionutbalutoiu/charms/trusty/swift-proxy/next into lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next
| Status: | Merged |
|---|---|
| Merged at revision: | 123 |
| Proposed branch: | lp:~ionutbalutoiu/charms/trusty/swift-proxy/next |
| Merge into: | lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next |
| Diff against target: |
30 lines (+13/-0) 1 file modified
hooks/swift_hooks.py (+13/-0) |
| To merge this branch: | bzr merge lp:~ionutbalutoiu/charms/trusty/swift-proxy/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 object-
Variable 'swift-url' is useful when generating temporary URLs with Swift.
Needed for OpenStack Ironic charm (http://
charm_lint_check #12919 swift-proxy-next for ionutbalutoiu mp276218
LINT OK: passed
Build: http://
charm_amulet_test #7662 swift-proxy-next for ionutbalutoiu mp276218
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://
| David Ames (thedac) wrote : | # |
Hello and thanks for submitting.
The amulet failure is:
2015-10-30 21:17:20 INFO config-changed Traceback (most recent call last):
2015-10-30 21:17:20 INFO config-changed File "/var/lib/
2015-10-30 21:17:20 INFO config-changed main()
2015-10-30 21:17:20 INFO config-changed File "/var/lib/
2015-10-30 21:17:20 INFO config-changed hooks.execute(
2015-10-30 21:17:20 INFO config-changed File "/var/lib/
2015-10-30 21:17:20 INFO config-changed self._hooks[
2015-10-30 21:17:20 INFO config-changed File "/var/lib/
2015-10-30 21:17:20 INFO config-changed f(*args, **kwargs)
2015-10-30 21:17:20 INFO config-changed File "/var/lib/
2015-10-30 21:17:20 INFO config-changed object_
2015-10-30 21:17:20 INFO config-changed TypeError: object_
2015-10-30 21:17:20 ERROR juju.worker.
relid vs relation_id
+ for r_id in relation_
+ object_
+@hooks.
+def object_
charm_lint_check #12929 swift-proxy-next for ionutbalutoiu mp276218
LINT OK: passed
Build: http://
charm_unit_test #12005 swift-proxy-next for ionutbalutoiu mp276218
UNIT OK: passed
charm_amulet_test #7672 swift-proxy-next for ionutbalutoiu mp276218
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.
- 123. By David Ames on 2015-11-02
-
[ionutbalutoiu, r=thedac] Variable 'swift-url' is useful when generating temporary URLs with Swift.
Adds object-store-relation- joined hook.
Needed for OpenStack Ironic charm (http://bazaar. launchpad. net/~cloudbasei t/charms/ trusty/ ironic/ trunk/view/ head:/hooks/ ironic_ context. py#L99), but might also be generally useful.

charm_unit_test #11994 swift-proxy-next for ionutbalutoiu mp276218
UNIT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_unit_ test/11994/