Create specific heat_stack_owner role to be used by
tempest tests, rather than using _member_ which is not
automatically created in keystone v3.
Change-Id: Iff13a47e360b628bc48a8cb897d9368af49db01b
Partial-Bug: #1539692
| ... | ... |
@@ -383,6 +383,11 @@ function configure_tempest {
|
| 383 | 383 |
|
| 384 | 384 |
# Orchestration Tests |
| 385 | 385 |
if is_service_enabled heat; then |
| 386 |
+ # Though this is not needed by heat, some tempest tests explicitly |
|
| 387 |
+ # try to set this role. Removing them from the tempest tests breaks |
|
| 388 |
+ # some non-devstack CIs. |
|
| 389 |
+ get_or_create_role "heat_stack_owner" |
|
| 390 |
+ |
|
| 386 | 391 |
if [[ ! -z "$HEAT_CFN_IMAGE_URL" ]]; then |
| 387 | 392 |
iniset $TEMPEST_CONFIG orchestration image_ref $(basename "${HEAT_CFN_IMAGE_URL%.*}")
|
| 388 | 393 |
fi |
| ... | ... |
@@ -396,7 +401,7 @@ function configure_tempest {
|
| 396 | 396 |
iniset $TEMPEST_CONFIG orchestration instance_type "m1.heat" |
| 397 | 397 |
fi |
| 398 | 398 |
iniset $TEMPEST_CONFIG orchestration build_timeout 900 |
| 399 |
- iniset $TEMPEST_CONFIG orchestration stack_owner_role "_member_" |
|
| 399 |
+ iniset $TEMPEST_CONFIG orchestration stack_owner_role "heat_stack_owner" |
|
| 400 | 400 |
fi |
| 401 | 401 |
|
| 402 | 402 |
# Scenario |