openstack-dashboard apparently not honoring endpoint-type setting
Bug #1895819 reported by
Jake Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-dashboard (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
openstack-
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.
To post a comment you must log in.
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: HTTPConnectionP ool(host= '172.16. 1.6', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionEr ror('<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" ENDPOINT_ TYPE = "internalURL"
OPENSTACK_
The keystone endpoints are;
ID,Region,Service Name,Service Type,Enabled, Interface, URL b8ea3c675b80308 86,RegionOne, keystone, identity, True,admin,http:// 192.168. 200.55: 35357/v3 fa803cbe410911e 14,RegionOne, keystone, identity, True,internal,http:// 192.168. 200.55: 5000/v3 7b738cb9606c3ae 46,RegionOne, keystone, identity, True,public,http:// 172.16. 1.6:5000/ v3
2df581d915c74b0
6e80c1bbad5f4ad
bf41c209c9914e6
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.