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
This commit is contained in:
Frode Nordahl
2020-06-19 09:50:28 +02:00
parent 95eb158e7e
commit 537473ad3a

View File

@@ -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():