Use clean keystone URL in the keystone validation

Inventory variable overcloud_keystone_url gets its
value from stack's output 'KeystoneURL'
which might include the keystone version.
We need to get rid off the version, otherwise
undercloud validations fail at the time of
checking the Keystone endpoint [0].

[0] - 545e4924e3/validations/openstack-endpoints.yaml (L28)

Co-Authored-By: Jose Luis Franco <jfrancoa@redhat.com>
Story: #2001897

Change-Id: I3e900afd840a4a0504a573a1eabe80911f8f7881
This commit is contained in:
Carlos Camacho 2018-05-08 10:00:23 +02:00
parent 084aa9999c
commit c8cefbd9e9
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
# Check that we can obtain an auth token from horizon
- name: Check Keystone
uri:
url: "{{ overcloud_keystone_url }}/v3/auth/tokens"
url: "{{ overcloud_keystone_url | urlsplit('scheme') }}://{{ overcloud_keystone_url | urlsplit('netloc')}}/v3/auth/tokens"
method: POST
body_format: json
body: