charm-glance/hooks
Ionut Balutoiu 7a69693752 Fix race condition with the object-store relation
The `CONFIGS.write(GLANCE_SWIFT_CONF)` is missing in the object-store
hook. This config file is used when the `swift` backend is enabled.

This bug is only encountered on some deployments, because there are multiple
places where `CONFIGS.write_all()` is called.

If the `object-store` relation is established, and another hook calls
`CONFIGS.write_all()`, this problem wouldn't reproduce. However, if
`object-store` relation is executed last, this issue will pop up.

Closes-Bug: #1915300
Change-Id: Ie52b18fc4dc637dbeec5ecfb8d5930a24c5f72cf
2021-03-19 22:58:47 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 17:23:19 +01:00
amqp-relation-changed Add support for rabbitmq use for ceilometer notifications 2013-10-17 15:15:56 +01:00
amqp-relation-joined Add support for rabbitmq use for ceilometer notifications 2013-10-17 15:15:56 +01:00
ceph-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
ceph-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
ceph-relation-departed Fix misc issues with removal of ceph relation 2020-07-24 10:52:17 +01:00
ceph-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
certificates-relation-changed Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
certificates-relation-departed Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
certificates-relation-joined Add support for tls-certificates relation 2018-05-15 14:49:34 +00:00
cinder-volume-service-relation-broken Add support for storage of images in Cinder 2016-08-24 10:56:55 +01:00
cinder-volume-service-relation-joined Add support for storage of images in Cinder 2016-08-24 10:56:55 +01:00
cluster-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
cluster-relation-departed Update symlinks 2013-06-10 13:06:33 -04:00
cluster-relation-joined Add missing stuff 2014-07-03 14:07:25 +01:00
config-changed Update symlinks 2013-06-10 13:06:33 -04:00
glance_contexts.py Add multi backend support 2020-09-14 22:19:22 +00:00
glance_relations.py Fix race condition with the object-store relation 2021-03-19 22:58:47 +00:00
glance_utils.py Waiting state if broker request is incomplete 2020-10-15 14:34:57 +00:00
ha-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
ha-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
identity-service-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
identity-service-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
identity-service-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
image-service-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
install Update pre-install hooks to fail on error 2019-02-08 15:49:35 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:39:12 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
object-store-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
object-store-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
object-store-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
post-series-upgrade Series Upgrade 2018-09-14 20:58:07 -07:00
pre-series-upgrade Series Upgrade 2018-09-14 20:58:07 -07:00
shared-db-relation-broken Add generic relation broken hook. 2013-08-20 12:09:15 -07:00
shared-db-relation-changed Update symlinks 2013-06-10 13:06:33 -04:00
shared-db-relation-joined Update symlinks 2013-06-10 13:06:33 -04:00
start Update symlinks 2013-06-10 13:06:33 -04:00
stop Update symlinks 2013-06-10 13:06:33 -04:00
storage-backend-relation-broken Allow to provide configuration for specific cinder backend 2016-08-26 17:21:11 +03:00
storage-backend-relation-changed Allow to provide configuration for specific cinder backend 2016-08-26 17:21:11 +03:00
update-status Refactor to assess status after every hook execution, add update-status hook 2015-10-07 16:42:25 -07:00
upgrade-charm Drop charm supplied paste.ini configurations 2016-03-10 11:46:02 +00:00