Replace local storage of domain UUIDs with leader storage
Currently the Keystone leader charm creates new domains and stores
the UUIDs locally on disk. This approach predates charm relation-/
leader- storage, is error prone, and causes problems in HA setups.
Move to leader storage and remove old interfaces. There is no need
to migrate the on-disk stored data as it is read from the deployment
and stored as a part of the upgrade process.
Do not set default values for service_tenant_id, admin_domain_id and
default_domain_id. This will cause context to be incomplete on peer
units until the values are actually available.
Change functional tests to run on Keystone cluster to verify contents of
configuration and operation of services in clustered environment.
(also fixup stable amulet tests to use python from venv).
Closes-Bug: 1637453
Change-Id: Id0eaf7bfceead627cc691e9b52dd889d60c05fa9
(cherry picked from commit 4d2ab6668f8601a17bbda1bf89ab7633f22d8d3d)
Reviewed: https:/ /review. openstack. org/410822 /git.openstack. org/cgit/ openstack/ charm-keystone/ commit/ ?id=f2f395f565e 66708c2bc364f7c d525c4e363ea2f
Committed: https:/
Submitter: Jenkins
Branch: stable/16.10
commit f2f395f565e6670 8c2bc364f7cd525 c4e363ea2f
Author: Frode Nordahl <email address hidden>
Date: Mon Nov 28 09:33:55 2016 +0100
Replace local storage of domain UUIDs with leader storage
Currently the Keystone leader charm creates new domains and stores
the UUIDs locally on disk. This approach predates charm relation-/
leader- storage, is error prone, and causes problems in HA setups.
Move to leader storage and remove old interfaces. There is no need
to migrate the on-disk stored data as it is read from the deployment
and stored as a part of the upgrade process.
Do not set default values for service_tenant_id, admin_domain_id and domain_ id. This will cause context to be incomplete on peer
default_
units until the values are actually available.
Change functional tests to run on Keystone cluster to verify contents of
configuration and operation of services in clustered environment.
(also fixup stable amulet tests to use python from venv).
Closes-Bug: 1637453 27cc691e9b52dd8 89d60c05fa9 17bbda1bf89ab76 33f22d8d3d)
Change-Id: Id0eaf7bfceead6
(cherry picked from commit 4d2ab6668f8601a