[Orchestration Installation]: "auth_url" address needs to be updated under [keystone_authtoken] section in heat.conf file

Bug #1786405 reported by Suraj Muthreja on 2018-08-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
heat (Ubuntu)
Undecided
Unassigned

Bug Description

[Orchestration Installation]: "auth_url" address needs to be updated under [keystone_authtoken] section in heat.conf file.

As per Orchestration Installation guide for Queen version, auth url is mentioned as "auth_url = http://controller:35357".
When used port 35357, it gives the error as below:

2018-08-08 17:23:20.719 32679 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://controller:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://controller:35357: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fdab64bc310>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2018-08-08 17:23:20.755 32679 INFO eventlet.wsgi.server [-] x.x.x.x - - [08/Aug/2018 17:23:20] "GET /v1/14f1fa5bb7d442ac9edafe54f054b8bb/services HTTP/1.1" 500 424 0.055859
2018-08-08 17:28:38.963 32672 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://controller:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://controller:35357: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fdab64bb2d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))

Port should be "5000" in queen version.
I tried after modifying the port as "5000", it is able to authenticate.
So new auth url should be as : auth_url = http://controller:5000"

Updated section will look like:

[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:5000
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = heat
password = HEAT_PASS

Corey Bryant (corey.bryant) wrote :

Hi Suraj,

Thank you for taking the time to report this bug and making Ubuntu better.

I believe this bug is meant to be filed against the upstream heat project rather than the Ubuntu heat package, as I'm seeing 35357 auth_url's for several distros here: https://docs.openstack.org/heat/rocky/install/

Upstream is now tracking bugs at: https://storyboard.openstack.org/#!/project/989

Please file a bug with the upstream heat project. For now I'll mark this bug as Invalid for the heat package. If you believe this is a valid package bug please feel free to move back to New and state why.

Thanks,
Corey

Changed in heat (Ubuntu):
status: New → Invalid
Suraj Muthreja (surajm) wrote :

Thanks!
Created a story on above suggested new project..

https://storyboard.openstack.org/#!/story/2003860

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers