Tempest: ensure heat_stack_owner is present

The orchestration role used in tempest configuration should be create
before running tempest.

Change-Id: I129831c5821e60493f649b2ce71256cf82b1f197
This commit is contained in:
Dimitri Savineau 2017-01-16 13:08:12 -05:00
parent 313b56df87
commit 6446c98b06
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ source {{ working_dir }}/stackrc
public_net_id=$(neutron net-show {{ undercloud_public_net_name }} -f value -c id)
{% endif %}
## * Ensure heat_stack_owner role is present
## ::
openstack role show heat_stack_owner > /dev/null || openstack role create heat_stack_owner
## * Generate a tempest configuration
## ::