Relation data isn't always updated on config-change

Bug #1898139 reported by Vern Hart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder-Ceph charm
New
Undecided
Unassigned

Bug Description

The subordinate_configuration in the storage-backend relation doesn't update sometimes.

I've encountered several situations where the configuration in /etc/cinder/cinder.conf doesn't match the configuration of the cinder-ceph charm.

One scenario:

- Deploy cinder-ceph related to cinder using rbd-pool-name=thepool.
- Create a new pool with a name "different".
- juju conifg cinder-ceph rbd-pool-name=different

The cinder.conf will continue to have "thepool".

I believe what is happening is the ceph_changed function (which is called as a part of config-changed) only updates relation data when it successfully creates the pool.

I've had other scenarios where the config file didn't get updated but this is the only one I've been able to nail down.

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.