Invert validation task order
We should check that the Horizon endpoint is
configured correctly before running the validation.
Change-Id: Ib0b1c7e68711222e0f8326a268fde7b100a92e87
Related-Bug: 1742947
(cherry picked from commit 2b24b3dc55
)
This commit is contained in:
parent
6949c44438
commit
e246d696db
|
@ -12,15 +12,16 @@
|
|||
- pre-upgrade
|
||||
- post-upgrade
|
||||
tasks:
|
||||
# Check that the Horizon endpoint exists
|
||||
- name: Fail if the HorizonPublic endpoint is not defined
|
||||
fail: msg="The `HorizonPublic` endpoint is not defined in the `EndpointMap` of the deployed stack. This means Horizon may not have been deployed correctly."
|
||||
when: overcloud_horizon_url|default('') == ''
|
||||
|
||||
# Check connectivity to horizon
|
||||
- name: Check Horizon
|
||||
uri: url={{ overcloud_horizon_url }}
|
||||
when: overcloud_horizon_url|default('')
|
||||
|
||||
- name: Fail if the HorizonPublic endpoint is not defined
|
||||
fail: msg="The `HorizonPublic` endpoint is not defined in the `EndpointMap` of the deployed stack. This means Horizon may not have been deployed correctly."
|
||||
when: overcloud_horizon_url|default('') == ''
|
||||
|
||||
# Check that we can obtain an auth token from horizon
|
||||
- name: Check Keystone
|
||||
uri:
|
||||
|
|
Loading…
Reference in New Issue