Setup swift endpoint correctly

Swift needs different path that is currently in the
os-cloud-config default. This prevented Overcloud
Swift from working.

Change-Id: I8b8841c6fcc543e99642fd681b5d189b712e58a3
This commit is contained in:
Ladislav Smola 2014-10-09 17:40:02 +02:00
parent 75e1ae05bf
commit 954262f557
2 changed files with 6 additions and 2 deletions

View File

@ -265,7 +265,9 @@ class PostDeployInit(horizon.forms.SelfHandlingForm):
controller_role.parameter_prefix + 'NovaPassword')},
"swift": {
"password": plan.parameter_value(
controller_role.parameter_prefix + 'SwiftPassword')},
controller_role.parameter_prefix + 'SwiftPassword'),
'path': '/v1/AUTH_%(tenant_id)s',
'admin_path': '/v1'},
"horizon": {'port': ''}}
def build_neutron_setup(self, data):

View File

@ -283,7 +283,9 @@ class OverviewTests(test.BaseAdminViewTests):
'horizon': {'port': ''},
'cinder': {'password': None},
'glance': {'password': None},
'swift': {'password': None},
'swift': {'password': None,
'path': '/v1/AUTH_%(tenant_id)s',
'admin_path': '/v1'},
'novav3': {'password': None},
'neutron': {'password': None}},
os_auth_url=stack.keystone_auth_url,