Adds ManilaPassword to the tripleoclient

Support for Manila is being added in [1]. This review adds the
ManilaPassword to the list of randomly generated passwords for the
tripleo-overcloud-passwords file that is used to set passwords for
deployed services.

[1] https://review.openstack.org/#/c/188137/
Change-Id: I9eda4b3364e5c59342761a1ec71b0eb567c69cf1
This commit is contained in:
marios 2016-07-08 12:39:09 +03:00
parent 13c2afda86
commit 5883caf3aa
4 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class TestPasswordsUtil(TestCase):
mock.call('OVERCLOUD_HEAT_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_HEAT_STACK_DOMAIN_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_IRONIC_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_MANILA_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_MISTRAL_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_MYSQL_CLUSTERCHECK_PASSWORD=PASSWORD\n'),
mock.call('OVERCLOUD_NEUTRON_PASSWORD=PASSWORD\n'),
@ -96,6 +97,7 @@ class TestPasswordsUtil(TestCase):
'OVERCLOUD_HEAT_PASSWORD=PASSWORD\n',
'OVERCLOUD_HEAT_STACK_DOMAIN_PASSWORD=PASSWORD\n',
'OVERCLOUD_IRONIC_PASSWORD=PASSWORD\n',
'OVERCLOUD_MANILA_PASSWORD=PASSWORD\n',
'OVERCLOUD_MISTRAL_PASSWORD=PASSWORD\n',
'OVERCLOUD_MYSQL_CLUSTERCHECK_PASSWORD=PASSWORD\n',
'OVERCLOUD_NEUTRON_PASSWORD=PASSWORD\n',

View File

@ -160,6 +160,7 @@ class TestDeployOvercloud(fakes.TestDeployOvercloud):
'HypervisorNeutronPhysicalBridge': 'br-ex',
'HypervisorNeutronPublicInterface': 'nic1',
'IronicPassword': 'password',
'ManilaPassword': 'password',
'MistralPassword': 'password',
'MysqlClustercheckPassword': 'password',
'NeutronAllowL3AgentFailover': False,
@ -328,6 +329,7 @@ class TestDeployOvercloud(fakes.TestDeployOvercloud):
'HypervisorNeutronPhysicalBridge': 'br-ex',
'HypervisorNeutronPublicInterface': 'nic1',
'IronicPassword': 'password',
'ManilaPassword': 'password',
'MistralPassword': 'password',
'MysqlClustercheckPassword': 'password',
'NeutronAllowL3AgentFailover': False,

View File

@ -50,6 +50,7 @@ _PASSWORD_NAMES = (
"OVERCLOUD_HEAT_PASSWORD",
"OVERCLOUD_HEAT_STACK_DOMAIN_PASSWORD",
"OVERCLOUD_IRONIC_PASSWORD",
"OVERCLOUD_MANILA_PASSWORD",
"OVERCLOUD_MISTRAL_PASSWORD",
"OVERCLOUD_MYSQL_CLUSTERCHECK_PASSWORD",
"OVERCLOUD_NEUTRON_PASSWORD",

View File

@ -100,6 +100,7 @@ class DeployOvercloud(command.Command):
parameters['TrovePassword'] = (
passwords['OVERCLOUD_TROVE_PASSWORD'])
parameters['ZaqarPassword'] = passwords['OVERCLOUD_ZAQAR_PASSWORD']
parameters['ManilaPassword'] = passwords['OVERCLOUD_MANILA_PASSWORD']
parameters['NeutronMetadataProxySharedSecret'] = (
passwords['NEUTRON_METADATA_PROXY_SHARED_SECRET'])