Can't log in to the UI: wrong keystone endpoint URL

Bug #1630546 reported by Julie Pichon on 2016-10-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Julie Pichon

Bug Description

I just installed a new undercloud (master). It's not possible to log into the UI by default because the keystone URL in /var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js is set to "http://<IP>:5000" instead of "http://<IP>:5000/v2.0".

window.tripleOUiConfig = {
  "keystone": "",

The workaround is obviously to append /v2.0 and reload the UI, but this should work without a manual step.

It looks like the URL is defined at - hiera('keystone::endpoint::public_url'), though that looks like it should give us the correct endpoint...

$ openstack catalog show keystone
| endpoints | regionOne |
| | publicURL: |
| | internalURL: |
| | adminURL: |

Tags: ui Edit Tag help
Julie Pichon (jpichon) wrote :

Looking at the existing hieradata:

$ sudo grep -R 5000 /etc/puppet/hieradata/

The UI explicitly references v2.0 in the configuration sample ( ) for now so, let's go with keystone_auth_uri_v2.

Changed in tripleo:
assignee: nobody → Julie Pichon (jpichon)
Julie Pichon (jpichon) wrote :
Changed in tripleo:
status: Triaged → In Progress
Julie Pichon (jpichon) wrote :

This is a one-liner change with a major impact on the UI usability, so I'm tentatively setting newton-rc3 as a milestone.

Changed in tripleo:
milestone: none → newton-rc3
Julie Pichon (jpichon) wrote :
Julie Pichon (jpichon) wrote :

Backport merged.

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/puppet-tripleo 5.3.0 release.

This issue was fixed in the openstack/puppet-tripleo 6.0.0 release.

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

Other bug subscribers