Improve heat environment manager
- For underlay SSH, use "fixed" heat stack addresses
instead of "floating". "fixed" addresses must be
accessible from Jenkins slave node.
- do not include fuel-devops engine libraries in case if
ENV_MANAGER is not 'devops', to avoid configuring database.
- use LAB_PARAM_DEFAULTS to specify heat template "environment"
file with default parameters
- use required OS_USER_DOMAIN_NAME to initialize heat client.
- When heat stack is created, two parameters are passed into the
.hot template from heat manager:
'mcp_version': settings.MCP_VERSION
'env_name': settings.ENV_NAME
Related-task: #PROD-27687
Change-Id: I8efcdacf6f8115e5c01c144207a2cf8a4ff9fb48
diff --git a/tcp_tests/settings.py b/tcp_tests/settings.py
index 346506f..f98981d 100644
--- a/tcp_tests/settings.py
+++ b/tcp_tests/settings.py
@@ -101,9 +101,10 @@
SKIP_SYNC_TIME = get_var_as_bool("SKIP_SYNC_TIME", False)
# OpenStack parameters to work with Heat stacks
-OS_STACK_NAME = os.environ.get("OS_STACK_NAME", ENV_NAME)
OS_HEAT_VERSION = os.environ.get('OS_HEAT_VERSION', 1)
OS_AUTH_URL = os.environ.get('OS_AUTH_URL', None)
OS_USERNAME = os.environ.get('OS_USERNAME', None)
OS_PASSWORD = os.environ.get('OS_PASSWORD', None)
OS_PROJECT_NAME = os.environ.get('OS_PROJECT_NAME', None)
+OS_USER_DOMAIN_NAME = os.environ.get('OS_USER_DOMAIN_NAME', 'Default')
+LAB_PARAM_DEFAULTS = os.environ.get('LAB_PARAM_DEFAULTS', '')