From 537473ad3addeaa3d1e4e2d0fd556aeaa4018eb2 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Fri, 19 Jun 2020 09:50:28 +0200 Subject: [PATCH] Store local overcloud CACERT copy in relative path At present the overcloud CACERT is copied to /tmp and as such it is not possbile to run multiple tests at once without them stepping on each other. Store the copy in a path relative to where the test is executed, in line with how the SSH keys are stored etc. Fixes #331 --- zaza/openstack/utilities/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/utilities/openstack.py b/zaza/openstack/utilities/openstack.py index 780d2df..64d42a8 100644 --- a/zaza/openstack/utilities/openstack.py +++ b/zaza/openstack/utilities/openstack.py @@ -163,7 +163,7 @@ WORKLOAD_STATUS_EXCEPTIONS = { KEYSTONE_CACERT = "keystone_juju_ca_cert.crt" KEYSTONE_REMOTE_CACERT = ( "/usr/local/share/ca-certificates/{}".format(KEYSTONE_CACERT)) -KEYSTONE_LOCAL_CACERT = ("/tmp/{}".format(KEYSTONE_CACERT)) +KEYSTONE_LOCAL_CACERT = ("tests/{}".format(KEYSTONE_CACERT)) def get_cacert():