Ensure auth_encryption_key is identical for all units
This patch ensures that if multiple heat units are deployer, that each
one will have the same auth_encryption_key in the /etc/heat/heat.conf.
This is automatically generated on the (juju) leader and then remains
unchanged for the application's duration. It can be overriden by the
config setting 'encryption-key'.
Testing is via the amulet 500 test (added) which checkes that the two
units deployed have the same key.
Change-Id: I89a11efe772314acd58ab9be21773eee89a23980
Closes-Bug: #1714157
(cherry picked from commit 275a8f61c69a435763f893c60335616db546423e)
Reviewed: https:/ /review. openstack. org/507042 /git.openstack. org/cgit/ openstack/ charm-heat/ commit/ ?id=a77b59dc2e7 2271c9bc7e82708 ca5f36b6dd334b
Committed: https:/
Submitter: Jenkins
Branch: stable/17.08
commit a77b59dc2e72271 c9bc7e82708ca5f 36b6dd334b
Author: Alex Kavanagh <email address hidden>
Date: Thu Sep 21 12:11:17 2017 +0100
Ensure auth_encryption_key is identical for all units
This patch ensures that if multiple heat units are deployer, that each heat.conf.
one will have the same auth_encryption_key in the /etc/heat/
This is automatically generated on the (juju) leader and then remains
unchanged for the application's duration. It can be overriden by the
config setting 'encryption-key'.
Testing is via the amulet 500 test (added) which checkes that the two
units deployed have the same key.
Change-Id: I89a11efe772314 acd58ab9be21773 eee89a23980 763f893c6033561 6db546423e)
Closes-Bug: #1714157
(cherry picked from commit 275a8f61c69a435