aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2019-09-14 18:47:55 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-09-14 18:47:55 +0000
commita58363a7b437b3fcc737062339e8c53a240c6ff7 (patch)
tree98ce83196cceae6b8dd6dae1df950a0a0224787a
parentc1b25e9a487436c75d2f0fd625b95c6c59563e64 (diff)
parent1e70293dd1fb10d20a0dd2ba6834f7289063bc32 (diff)
Merge "Harden OS_ env vars for VMTP" into stable/iruya
-rw-r--r--functest/opnfv_tests/openstack/vmtp/vmtp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/vmtp/vmtp.py b/functest/opnfv_tests/openstack/vmtp/vmtp.py
index 2fd4e089c..294201996 100644
--- a/functest/opnfv_tests/openstack/vmtp/vmtp.py
+++ b/functest/opnfv_tests/openstack/vmtp/vmtp.py
@@ -135,6 +135,8 @@ class Vmtp(singlevm.VmReady2):
OS_USERNAME=self.project.user.name,
OS_PROJECT_NAME=self.project.project.name,
OS_PROJECT_ID=self.project.project.id,
+ OS_PROJECT_DOMAIN_NAME=self.project.domain.name,
+ OS_USER_DOMAIN_NAME=self.project.domain.name,
OS_PASSWORD=self.project.password)
if not new_env["OS_AUTH_URL"].endswith(('v3', 'v3/')):
new_env["OS_AUTH_URL"] = "{}/v3".format(new_env["OS_AUTH_URL"])