Allow tempest to deploy when no heat in environment
Currently, the deployment of tempest will fail if heat does not exist in the environment. This commit updates os_tempest/tasks/tempest_resources.yml so that users are only added to heat_stack_owner role if tempest_service_available_heat is set to True. Change-Id: Ib3f6a11de60be86c1b2581d3c8da615d66ebae5b
This commit is contained in:
parent
4e85ba4e53
commit
9f761ca0fc
@ -72,7 +72,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- tempest-setup
|
- tempest-setup
|
||||||
|
|
||||||
- name: Ensure tempest users have heat_stack_owners role
|
- name: Ensure tempest users have heat_stack_owner role
|
||||||
keystone:
|
keystone:
|
||||||
command: ensure_user_role
|
command: ensure_user_role
|
||||||
token: "{{ keystone_auth_admin_token }}"
|
token: "{{ keystone_auth_admin_token }}"
|
||||||
@ -85,6 +85,7 @@
|
|||||||
until: add_service|success
|
until: add_service|success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 10
|
delay: 10
|
||||||
|
when: tempest_service_available_heat | bool
|
||||||
with_items:
|
with_items:
|
||||||
- demo
|
- demo
|
||||||
- alt_demo
|
- alt_demo
|
||||||
|
Loading…
Reference in New Issue
Block a user