1d06b80c8d
The IdentityServiceContext was recently updated to add the application data bag. Unfortunately, they keystone charm uses both the regular relation data primarily, but the updates for endpoints are on both the application database and the regular relation data. The IdentityServiceContext used the app data bag exclusively if there were any keys available, which leads to it ignoring the existing relation data entirely; this results in 'identity relation not ready' with missing data items. charm-helpers is patched at [1] to solve the issue and this is a charm-helpers sync that includes that patch. This changes the functionality of the IdentityServiceContext so that it preferentially selects keys from the application data bag unless they are None, in which case it tries for those keys on the existing relation data. e.g. it will stitch the two relations together with the app data bag taking priority. This allows the nova-cloud-controller charm to correctly access the identity relation data and form a complete context. [1] https://github.com/juju/charm-helpers/pull/746 Change-Id: Ic868213c6bb42bc2a28ad25a2f7344a28ab9f04d |
||
---|---|---|
.. | ||
linux | ||
__init__.py |