This commit makes `keystone-manage bootstrap` completely idempotent
when configuration values or environment variables haven't changed
between runs. If they have changed, then `bootstrap` shouldn't be
as idempotent becuase it's changing the state of the deployment.
This commit addresses these issues and adds tests to ensure the
proper behavior is tested.
Change-Id: I053b27e881f5bb67db1ace01e6d06aead10b1e47
Closes-Bug: 1647800
(cherry picked from commit 90f2f96e69b8bfd5058628b50c9f0083e3f293e9)
Reviewed: https:/ /review. openstack. org/408835 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=16a7b074eff 5597752a86a676a e8838be32b91fb
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 16a7b074eff5597 752a86a676ae883 8be32b91fb
Author: Lance Bragstad <email address hidden>
Date: Thu Dec 8 17:01:22 2016 +0000
Make bootstrap idempotent when it needs to be
This commit makes `keystone-manage bootstrap` completely idempotent
when configuration values or environment variables haven't changed
between runs. If they have changed, then `bootstrap` shouldn't be
as idempotent becuase it's changing the state of the deployment.
This commit addresses these issues and adds tests to ensure the
proper behavior is tested.
Change-Id: I053b27e881f5bb 67db1ace01e6d06 aead10b1e47 5058628b50c9f00 83e3f293e9)
Closes-Bug: 1647800
(cherry picked from commit 90f2f96e69b8bfd