Enable tempest config regeneration
Change the runtest formula behavior to always create a tempest.conf
according to the actual objects in the OpenStack
Change-Id: I9a9c10e1bf2997df6b6bf128f0c661b5ceae1b02
Related-prod: PROD-25676
diff --git a/_states/runtest.py b/_states/runtest.py
index 6700bf7..cb937c4 100644
--- a/_states/runtest.py
+++ b/_states/runtest.py
@@ -44,7 +44,7 @@
return check_for_testing
@_test_call
-def tempestconf_present(name, regenerate=False):
+def tempestconf_present(name, regenerate=True):
""" Checks that file with config present."""
diff --git a/metadata/service/tempest/init.yml b/metadata/service/tempest/init.yml
index 707ca47..e4f0dab 100644
--- a/metadata/service/tempest/init.yml
+++ b/metadata/service/tempest/init.yml
@@ -27,7 +27,6 @@
runtest_tempest_cfg_dir: /root/test/
runtest_tempest_cfg_name: tempest_generated.conf
runtest_tempest_log_file: /home/rally/test/tempest.log
- runtest_tempest_regenerate_conf: false
runtest_tempest_public_net: public
runtest_tempest_use_dynamic_credentials: true
runtest_salttest_enabled: true
@@ -77,7 +76,6 @@
test_target: ${_param:tempest_test_target}
keystone_profile_admin: admin_identity
local_image_url: ${_param:runtest_local_image_url}
- regenerate_conf: ${_param:runtest_tempest_regenerate_conf}
convert_to_uuid:
compute:
image_ref: ${_param:glance_image_cirros_name}