Generate EtcdInitialClusterToken

Add EtcdInitialClusterToken to constants so
the etcd token will be generated during the deployment.

Change-Id: I6e30cce469736e84a3c483fafa29d542b8347ba9
Partial-Bug: #1673266
(cherry picked from commit 09be30d196)
This commit is contained in:
Emilien Macchi 2017-03-15 17:53:44 -04:00
parent cc1c3109d8
commit cb4168b22f
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
security:
- |
Add EtcdInitialClusterToken to the list of passwords
to generate, so users don't have to pick a string or
rely on a default value.
Fixes `bug 1673266 <https://bugs.launchpad.net/tripleo/+bug/1673266>`__.

View File

@ -67,6 +67,7 @@ PASSWORD_PARAMETER_NAMES = (
'CinderPassword',
'CongressPassword',
'Ec2ApiPassword',
'EtcdInitialClusterToken',
'GlancePassword',
'GnocchiPassword',
'HAProxyStatsPassword',

View File

@ -65,6 +65,7 @@ _EXISTING_PASSWORDS = {
'KeystoneFernetKey1': 'AueoL37kd6eLjV29AG-Ruxu5szW47osgXx6aPOqtI6I=',
'CephClusterFSID': u'97c16f44-b62c-11e6-aed3-185e0f73fdc5',
'Ec2ApiPassword': 'FPvz2WiWxrHVWrmSSvv44bqmr',
'EtcdInitialClusterToken': 'fcVZXehsSc2KdmFFMKDudxTLKa',
'PacemakerRemoteAuthkey':
'bCfHQx4fX7FqENVBbDfBnKvf6FTH6mPfVdNjfzakEjuF4UbmZJHAxWdheEr6feEyZmtM'
'XEd4w3qM8nMVrzjnDCmqAFDmMDQfKcuNgTnqGnkbVUDGpym67Ry4vNCPHyp9tGGyfjNX'