Current tempest didn't create networks for each tenant, so let
tempest use demo tenant for tesing if we enable quantum.
Change-Id: I5f139b5f1bdf5c176130b8db9e896e2cb48b4420
| ... | ... |
@@ -187,6 +187,12 @@ function configure_tempest() {
|
| 187 | 187 |
iniset $TEMPEST_CONF compute resize_available False |
| 188 | 188 |
iniset $TEMPEST_CONF compute change_password_available False |
| 189 | 189 |
iniset $TEMPEST_CONF compute compute_log_level ERROR |
| 190 |
+ # Note(nati) current tempest don't create network for each tenant |
|
| 191 |
+ # so reuse same tenant for now |
|
| 192 |
+ if is_service_enabled quantum; then |
|
| 193 |
+ TEMPEST_ALLOW_TENANT_ISOLATION=${TEMPEST_ALLOW_TENANT_ISOLATION:-False}
|
|
| 194 |
+ fi |
|
| 195 |
+ iniset $TEMPEST_CONF compute allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
|
|
| 190 | 196 |
#Skip until #1074039 is fixed |
| 191 | 197 |
iniset $TEMPEST_CONF compute run_ssh False |
| 192 | 198 |
iniset $TEMPEST_CONF compute ssh_user ${DEFAULT_INSTANCE_USER:-$OS_USERNAME}
|