Nova conf needs domain information

Running nova-api-metadata service on mitaka with keystone v3
enabled currently fails to authenticate when querying the neutron
server. This is because it is not passing the project and user
domain information. this change adds that in as per the Mitaka
installation guide.

Change-Id: Id6921392a634585f9551e64ec12e42460252d2e5
This commit is contained in:
Liam Young 2016-04-17 18:45:11 +00:00
parent 045ce8a4bd
commit 8dd2af43c1
2 changed files with 8 additions and 4 deletions

View File

@ -19,12 +19,14 @@ network_api_class=nova.network.neutronv2.api.API
[neutron]
url={{ quantum_url }}
auth_plugin=password
auth_url={{ service_protocol }}://{{ keystone_host }}:{{ service_port }}
auth_type=password
project_domain_name=default
user_domain_name=default
region={{ region }}
project_name={{ service_tenant }}
username={{ service_username }}
password={{ service_password }}
auth_url={{ service_protocol }}://{{ keystone_host }}:{{ service_port }}
region={{ region }}
service_metadata_proxy=True
metadata_proxy_shared_secret={{ shared_secret }}

View File

@ -904,7 +904,9 @@ class NeutronGatewayBasicDeployment(OpenStackAmuletDeployment):
if self._get_openstack_release() >= self.trusty_mitaka:
expected['neutron'] = {
'url': nova_cc_relation['quantum_url'],
'auth_plugin': 'password',
'auth_type': 'password',
'project_domain_name': 'default',
'user_domain_name': 'default',
'project_name': 'services',
'username': 'nova',
'password': nova_cc_relation['service_password'],