Race condition with the object-store relation

Bug #1915300 reported by Ionut-Madalin Balutoiu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Glance Charm
Fix Released
High
Alex Kavanagh

Bug Description

The `CONFIGS.write(GLANCE_SWIFT_CONF)` is missing in the `object_store_joined` 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.

Changed in charm-glance:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alex Kavanagh (ajkavanagh)
Revision history for this message
Ionut-Madalin Balutoiu (ionutbalutoiu) wrote :
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :
Changed in charm-glance:
status: Triaged → In Progress
milestone: none → 21.04
Revision history for this message
Ionut-Madalin Balutoiu (ionutbalutoiu) wrote :
Changed in charm-glance:
status: In Progress → Fix Committed
Changed in charm-glance:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.