Merge lp://staging/~cbjchen/charms/trusty/glance/remove_stale_key into lp://staging/~openstack-charmers-archive/charms/trusty/glance/next
Proposed by
Liang Chen
Status: | Merged |
---|---|
Merged at revision: | 97 |
Proposed branch: | lp://staging/~cbjchen/charms/trusty/glance/remove_stale_key |
Merge into: | lp://staging/~openstack-charmers-archive/charms/trusty/glance/next |
Diff against target: |
61 lines (+17/-2) 2 files modified
hooks/glance_relations.py (+9/-2) unit_tests/test_glance_relations.py (+8/-0) |
To merge this branch: | bzr merge lp://staging/~cbjchen/charms/trusty/glance/remove_stale_key |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edward Hope-Morley | Approve | ||
OpenStack Charmers | Pending | ||
Review via email: mp+248164@code.staging.launchpad.net |
Description of the change
Clean up the keyring for glance after ceph service is destroyed and re-created like below,
1. break relation
2. destroy service
3. deploy new ceph service
4. add relation back
If old key exists, ensure_ceph_keyring will not store the newly retrieved key from ceph.
To post a comment you must log in.
charm_lint_check #1454 glance-next for cbjchen mp248164
LINT FAIL: lint-test failed
LINT Results (max last 2 lines): glance_ relations. py:272: 1: W293 blank line contains whitespace
hooks/
make: *** [lint] Error 1
Full lint test output: http:// paste.ubuntu. com/9962752/ 10.245. 162.77: 8080/job/ charm_lint_ check/1454/
Build: http://