identity-credentials relation data not updated (except credentials_password)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
We have a charm [0] that uses charm-interface
When the keystone admin password is changed, identity-
However, other information like auth_host, auth_protocol or credentials_host are not updated. The code involved is [2][3].
[*] Steps followed:
juju config openstack-
juju config keystone ssl_ca=... ssl_cert=... ssl_key=... os-public-
[*] Workaround:
(1) juju remove-application openstack-
(2) Redeploy the removed app on (1)
Note: see pastebin [4]. Removing the unit and adding it again (without removing the app) didn't work.
0. https:/
1. https:/
2. https:/
3. https:/
4. https:/
I suspect that the ordering of the calls to juju is significant. i.e. if the juju config keystone is done first and allowed to settle prior to the juju config openstack- service- checks then the keystone will "know" it is SSL prior to the hook from openstack- service- checks firing.
However, there would appear be a race hazard if the above is the case. Probably both code paths (config-changed and identity- credentials- changed) should be investigated so that both end up (on keystone) triggering/writing the correct information to the relation for openstack- service- checks charm to consume properly.
Please could you check to see if keystone is done first (and settles) whether the problem clears or a different issue arises?