Bug 1466977

Summary: director generated invalid neutron_admin_auth_url in manila.conf.
Product: Red Hat OpenStack Reporter: Won Young Choi <wchoi>
Component: openstack-tripleo-heat-templatesAssignee: Tom Barron <tbarron>
Status: CLOSED CURRENTRELEASE QA Contact: Dustin Schoenbrun <dschoenb>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: cschwede, dbecker, jjoyce, jslagle, mburns, morazi, nchandek, pgrist, rhel-osp-director-maint, vcojot
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.3.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1485025 1485030 (view as bug list) Environment:
Last Closed: 2018-08-17 08:14:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1485030    
Bug Blocks:    

Description Won Young Choi 2017-07-01 01:17:28 UTC
Description of problem:

director create neutron_admin_auth_url with NeutronAdmin in manila.conf.
NeutronAdmin url doest not match this auth url.

Version-Release number of selected component (if applicable):


How reproducible:

This symptom is default in RHOSP10

Steps to Reproduce:
1.
2.
3.

Actual results:
# cat /etc/manila/manila.conf
...
network_api_class = manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin
neutron_api_insecure=False
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_url=http://10.1.70.10:9696
neutron_admin_password=HYZBsT2BE6cGcT3kc7kuEkp7j
neutron_admin_username=neutron
neutron_admin_auth_url=http://10.1.70.10:9696 <-- this is invalid config
neutron_url_timeout=30
...

Working configuration edited as below.
network_api_class = manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin
neutron_api_insecure=False
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_url=http://10.1.76.10:9696
neutron_admin_password=HYZBsT2BE6cGcT3kc7kuEkp7j
neutron_admin_username=neutron
neutron_admin_auth_url=http://10.1.70.10:5000/v2.0 <-- this is correct
neutron_url_timeout=30

Expected results:

neutron_admin_auth_url will be KeystoneInternal in /usr/share/openstack-tripleo-heat-templates/puppet/services/manila-scheduler.yaml


- manila::network::neutron::neutron_admin_auth_url: {get_param: [EndpointMap, NeutronAdmin, uri]}
+ manila::network::neutron::neutron_admin_auth_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
Additional info:

Comment 2 Tom Barron 2017-08-24 21:17:55 UTC
*** Bug 1469410 has been marked as a duplicate of this bug. ***

Comment 3 Tom Barron 2017-09-07 21:16:10 UTC
501519 has merged upstream in stable/newton

Comment 4 Christian Schwede (cschwede) 2018-08-17 08:14:13 UTC
Closing this one, fix has been included in recent zstreams.