Browse Source

Fix grenade regression introduced by multicloud support

Fixes grenade job regression introduced by commit
6990331639.

Change-Id: Ic2b782cd0a6e27c43d741ccf3864ecbcf543dc27
tags/13.0.0.0rc1
Rabi Mishra 8 months ago
parent
commit
46f595b462
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      heat_integrationtests/prepare_test_env.sh

+ 2
- 2
heat_integrationtests/prepare_test_env.sh View File

@@ -81,8 +81,8 @@ function _config_tempest_plugin
iniset $conf_file heat_plugin boot_config_env $CONF_DEST/heat-templates/hot/software-config/boot-config/test_image_env.yaml

# support test multi-cloud
openstack application credential create heat_multicloud --secret secret --unrestricted
app_cred_id=$(openstack application credential show heat_multicloud|grep ' id '|awk '{print $4}')
app_cred_id=$((openstack application credential show heat_multicloud || openstack application credential create heat_multicloud \
--secret secret --unrestricted) | grep ' id '|awk '{print $4}')
export OS_CREDENTIAL_SECRET_ID=$(openstack secret store -n heat-multi-cloud-test-cred --payload '{"auth_type": "v3applicationcredential", "auth": {"auth_url": $OS_AUTH_URL, "application_credential_id": $app_cred_id, "application_credential_secret": "secret"}, "roles": ["admin"], "project_id": $app_cred_project_id}')
iniset $conf_file heat_features_enabled multi_cloud True
iniset $conf_file heat_plugin heat_plugin credential_secret_id $OS_CREDENTIAL_SECRET_ID

Loading…
Cancel
Save