openstack-dashboard apparently not honoring endpoint-type setting

Bug #1895819 reported by Jake Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-dashboard (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

openstack-dashboard-280

routergod@juju:~$ juju config openstack-dashboard endpoint-type
internalURL

I try to log in to Horizon but get an error message "Unable to establish connection to keystone endpoint." This is after having added distinct public endpoints to an existing deployment (via an nginx proxy) and having set os-public-hostname on all API charms. The public APIs seem to work, only the dashboard is broken.

Revision history for this message
Jake Hill (routergod) wrote :

Some diagnosis;

[Fri Sep 18 14:54:58.326810 2020] [wsgi:error] [pid 99247:tid 140122969696000] [remote 192.168.200.53:53382] Unable to establish connection to http://172.16.1.6:5000/v3/auth/tokens: HTTPConnectionPool(host='172.16.1.6', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f70d4c90128>: Failed to establish a new connection: [Errno 113] No route to host',))

I rummaged and found in local_settings.py

OPENSTACK_HOST = "172.16.1.6"

#OPENSTACK_ENDPOINT_TYPE = "publicURL"
OPENSTACK_ENDPOINT_TYPE = "internalURL"

The keystone endpoints are;

ID,Region,Service Name,Service Type,Enabled,Interface,URL
2df581d915c74b0b8ea3c675b8030886,RegionOne,keystone,identity,True,admin,http://192.168.200.55:35357/v3
6e80c1bbad5f4adfa803cbe410911e14,RegionOne,keystone,identity,True,internal,http://192.168.200.55:5000/v3
bf41c209c9914e67b738cb9606c3ae46,RegionOne,keystone,identity,True,public,http://172.16.1.6:5000/v3

I tried re-making the identity relation but it made no difference. It looks like the keystone endpoint config is hard-wired to the public API.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.