Fix tempest tenant_network_cidr and stack_owner_role

Change-Id: I5923d000829b4a8874fab01c74a42c0357ec5658
This commit is contained in:
Imre Farkas 2015-07-22 12:16:17 +02:00
parent 6d57df10c3
commit 0dd0af0773
2 changed files with 14 additions and 10 deletions

View File

@ -60,15 +60,17 @@ class TestOvercloudValidate(fakes.TestOvercloudValidate):
'--network-id 42 ' '--network-id 42 '
'--deployer-input partial_config_file ' '--deployer-input partial_config_file '
'--debug --create ' '--debug --create '
'identity.uri http://foo '
'compute.allow_tenant_isolation true ' 'compute.allow_tenant_isolation true '
'object-storage.operator_role swiftoperator '
'identity.admin_password password '
'compute.build_timeout 500 ' 'compute.build_timeout 500 '
'compute.image_ssh_user cirros ' 'compute.image_ssh_user cirros '
'compute.ssh_user cirros ' 'compute.ssh_user cirros '
'identity.admin_password password '
'identity.uri http://foo '
'network.build_timeout 500 ' 'network.build_timeout 500 '
'volume.build_timeout 500 ' 'network.tenant_network_cidr 192.168.0.0/24 '
'scenario.ssh_user cirros'), 'object-storage.operator_role swiftoperator '
'orchestration.stack_owner_role heat_stack_user '
'scenario.ssh_user cirros '
'volume.build_timeout 500'),
mock.call('./tools/run-tests.sh bar --skip-file skip') mock.call('./tools/run-tests.sh bar --skip-file skip')
]) ])

View File

@ -47,16 +47,18 @@ class ValidateOvercloud(command.Command):
'--network-id %(network_id)s ' '--network-id %(network_id)s '
'--deployer-input %(partial_config_file)s ' '--deployer-input %(partial_config_file)s '
'--debug --create ' '--debug --create '
'identity.uri %(auth_url)s '
'compute.allow_tenant_isolation true ' 'compute.allow_tenant_isolation true '
'object-storage.operator_role swiftoperator '
'identity.admin_password %(admin_password)s '
'compute.build_timeout 500 ' 'compute.build_timeout 500 '
'compute.image_ssh_user cirros ' 'compute.image_ssh_user cirros '
'compute.ssh_user cirros ' 'compute.ssh_user cirros '
'identity.admin_password %(admin_password)s '
'identity.uri %(auth_url)s '
'network.build_timeout 500 ' 'network.build_timeout 500 '
'volume.build_timeout 500 ' 'network.tenant_network_cidr 192.168.0.0/24 '
'scenario.ssh_user cirros' % 'object-storage.operator_role swiftoperator '
'orchestration.stack_owner_role heat_stack_user '
'scenario.ssh_user cirros '
'volume.build_timeout 500' %
{'network_id': network_id, {'network_id': network_id,
'partial_config_file': deployer_input, 'partial_config_file': deployer_input,
'auth_url': overcloud_auth_url, 'auth_url': overcloud_auth_url,