charm does not remove old ceph config and packages (no -broken hook)
Bug #1359220 reported by
Lei Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charmhelpers (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen | ||
cinder (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen | ||
cinder-ceph (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen | ||
glance (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen | ||
nova-compute (Juju Charms Collection) |
Fix Released
|
Medium
|
Liang Chen |
Bug Description
If there was something wrong with ceph and other services (e.g. cinder, glance and nova-compute etc), and one destroys the relation between them, the old ceph config, ceph key and ceph packages are still in the system even the relation was destroyed.
When re-add relation between cinder/glance and ceph, the old ceph key is still there, and which causes wrong ceph key in cinder/glance node, and it will fail to contact with ceph
Related branches
lp://qastaging/~cbjchen/charm-helpers/delete-ceph-keyring
- Liam Young (community): Approve
- Edward Hope-Morley: Approve
- OpenStack Charmers: Pending requested
-
Diff: 50 lines (+29/-0)2 files modifiedcharmhelpers/contrib/storage/linux/ceph.py (+11/-0)
tests/contrib/storage/test_linux_ceph.py (+18/-0)
lp://qastaging/~cbjchen/charms/trusty/glance/remove_stale_key
- Edward Hope-Morley: Approve
- OpenStack Charmers: Pending requested
-
Diff: 61 lines (+17/-2)2 files modifiedhooks/glance_relations.py (+9/-2)
unit_tests/test_glance_relations.py (+8/-0)
lp://qastaging/~cbjchen/charms/trusty/cinder-ceph/remove_stale_key
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/cinder-ceph/next
at
revision 26
- Edward Hope-Morley: Approve
-
Diff: 58 lines (+20/-3)2 files modifiedhooks/cinder_hooks.py (+9/-2)
unit_tests/test_cinder_hooks.py (+11/-1)
lp://qastaging/~cbjchen/charms/trusty/cinder/remove_stale_key
- Edward Hope-Morley: Approve
-
Diff: 60 lines (+16/-2)2 files modifiedhooks/cinder_hooks.py (+8/-1)
unit_tests/test_cinder_hooks.py (+8/-1)
lp://qastaging/~cbjchen/charms/trusty/nova-compute/remove_stale_key
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/nova-compute/next
at
revision 103
- Edward Hope-Morley: Approve
-
Diff: 180 lines (+83/-9)7 files modified.pydevproject (+2/-2)
README.md (+7/-0)
config.yaml (+1/-1)
hooks/nova_compute_hooks.py (+8/-1)
hooks/nova_compute_utils.py (+11/-4)
tests/basic_deployment.py (+1/-1)
unit_tests/test_nova_compute_utils.py (+53/-0)
description: | updated |
description: | updated |
tags: |
added: openstack removed: bite-sized |
tags: | added: bite-sized |
tags: | added: cts |
tags: | removed: bite-sized |
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in glance (Juju Charms Collection): | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in cinder (Juju Charms Collection): | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in nova-compute (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in glance (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in cinder (Juju Charms Collection): | |
status: | Triaged → In Progress |
Changed in charmhelpers (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in charmhelpers (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
no longer affects: | cinder-ceph (Ubuntu) |
no longer affects: | cinder-ceph (Ubuntu) |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in cinder-ceph (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in cinder (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in glance (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in cinder-ceph (Juju Charms Collection): | |
importance: | Undecided → Medium |
Changed in charmhelpers (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in cinder (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in glance (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in nova-compute (Juju Charms Collection): | |
milestone: | none → 15.04 |
Changed in cinder (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in glance (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in charmhelpers (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in cinder-ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Both these charms lack a -broken hook for the ceph relation; marking confirmed and medium for now.