Bug 1466977 - director generated invalid neutron_admin_auth_url in manila.conf.
Summary: director generated invalid neutron_admin_auth_url in manila.conf.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ---
: 10.0 (Newton)
Assignee: Tom Barron
QA Contact: Dustin Schoenbrun
URL:
Whiteboard:
: 1469410 (view as bug list)
Depends On: 1485030
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-01 01:17 UTC by Won Young Choi
Modified: 2020-08-13 09:32 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-5.3.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1485025 1485030 (view as bug list)
Environment:
Last Closed: 2018-08-17 08:14:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1712908 0 None None None 2017-08-24 21:23:01 UTC
OpenStack gerrit 501519 0 None MERGED manila: set "neutron_admin_auth_url" correctly 2020-08-12 19:56:01 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.