charm-cinder-ceph/hooks
Ionut Balutoiu b8efc0e698 Fixes for ceph-replication-device relation
* Re-trigger `ceph_access_joined` from `ceph_replication_device_changed`.
  Without this, we could end up with incomplete `ceph-access` relation
  if `ceph_access_joined` is executed before `ceph_replication_device_changed`.

* Seed `replication-device-secret-uuid` early in `config-changed`, to make
  sure that it's set if `storage_backend` is executed before `ceph_access_joined`.

* Set `secret_uuid` as part of the `replication_device` config in the backend
  config. Without this, Nova won't be able to access the proper secret for
  the Cinder Ceph volumes, after a failover.

Change-Id: Ic023d05d5d17a663e1719de393bdd15f18a40484
2021-01-14 13:25:12 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
ceph-access-relation-broken Require relation to nova-compute application 2020-05-28 06:46:39 +01:00
ceph-access-relation-changed Fix support for cinder ceph rbd on Ocata 2017-03-13 13:43:07 +00:00
ceph-access-relation-departed Require relation to nova-compute application 2020-05-28 06:46:39 +01:00
ceph-access-relation-joined Fix support for cinder ceph rbd on Ocata 2017-03-13 13:43:07 +00:00
ceph-relation-broken Initial version of charm 2014-01-23 16:14:44 +00:00
ceph-relation-changed Initial version of charm 2014-01-23 16:14:44 +00:00
ceph-relation-joined Initial version of charm 2014-01-23 16:14:44 +00:00
ceph-replication-device-relation-broken Implement new relation: 'ceph-replication-device' 2020-12-17 21:46:49 +02:00
ceph-replication-device-relation-changed Implement new relation: 'ceph-replication-device' 2020-12-17 21:46:49 +02:00
ceph-replication-device-relation-joined Implement new relation: 'ceph-replication-device' 2020-12-17 21:46:49 +02:00
cinder_contexts.py Implement new relation: 'ceph-replication-device' 2020-12-17 21:46:49 +02:00
cinder_hooks.py Fixes for ceph-replication-device relation 2021-01-14 13:25:12 +00:00
cinder_utils.py Implement new relation: 'ceph-replication-device' 2020-12-17 21:46:49 +02:00
config-changed Initial version of charm 2014-01-23 16:14:44 +00:00
install Update pre-install hooks to fail on error 2019-02-08 15:48:23 -06:00
install.real Ensure cinder-ceph installs its prerequisites 2018-03-20 09:04:23 +00:00
leader-settings-changed Fix support for cinder ceph rbd on Ocata 2017-03-13 13:43:07 +00:00
post-series-upgrade Series Upgrade 2018-09-22 20:20:19 +00:00
pre-series-upgrade Series Upgrade 2018-09-22 20:20:19 +00:00
start Initial version of charm 2014-01-23 16:14:44 +00:00
stop Initial version of charm 2014-01-23 16:14:44 +00:00
storage-backend-relation-broken Initial version of charm 2014-01-23 16:14:44 +00:00
storage-backend-relation-changed Initial version of charm 2014-01-23 16:14:44 +00:00
storage-backend-relation-joined Initial version of charm 2014-01-23 16:14:44 +00:00
update-status Add missing update-status hook 2016-10-10 09:36:04 +01:00
upgrade-charm Add some more tests 2014-04-02 09:31:50 +01:00