Explicitly use Keystone v2 endpoint in the UI
authorJulie Pichon <jpichon@redhat.com>
Wed, 5 Oct 2016 11:58:21 +0000 (12:58 +0100)
committerJulie Pichon <jpichon@redhat.com>
Wed, 5 Oct 2016 12:18:41 +0000 (13:18 +0100)
The UI expects a Keystone endpoint URL that includes the version
(without it, it is not possible to log in). Looking at the
dist/tripleo_ui_config.js.sample configuration sample in the tripleo-ui
repository, the current expectation is a v2.0 URL so let's use that for
now.

Change-Id: I4ca04b16251fbee264cd4ce5e5433c2c1cb6d2f0
Closes-Bug: #1630546

manifests/ui.pp

index 3f6d37a..dc51bfc 100644 (file)
@@ -72,7 +72,7 @@ class tripleo::ui (
   $servername          = $::fqdn,
   $bind_host           = undef,
   $ui_port             = 3000,
-  $keystone_url        = hiera('keystone::endpoint::public_url'),
+  $keystone_url        = hiera('keystone_auth_uri_v2'),
   $heat_url            = hiera('heat::keystone::auth::public_url', undef),
   $ironic_url          = hiera('ironic::keystone::auth::public_url', undef),
   $mistral_url         = hiera('mistral::keystone::auth::public_url', undef),