![]() When adding ceph-mon relation to cinder, the charm installs ceph.conf with the update-alternatives via cinder_utils.resource_map(). However when the relation is removed, the alternative isn't cleaned up. This can cause issues if installing a cinder-ceph subordinate charm. The cinder-ceph charm also installs a ceph.conf alternative that will point to the leftover ceph.conf installed by the ceph-mon charm. Added remove_alternative() in ceph-relation-broken hook to ensure that leftover ceph.conf alternatives is removed upon relation removal. Change-Id: I308e62a626f31eb8ef690a09035fe3908920ccc9 Closes-Bug: 1778084 |
||
---|---|---|
.. | ||
__init__.py | ||
test_cinder_contexts.py | ||
test_cinder_hooks.py | ||
test_cinder_utils.py | ||
test_utils.py |