From dcd85eef75c1edc2be26e8cbd228d7087ba8c5bf Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 21 Feb 2013 15:32:51 +0100 Subject: [PATCH] QA: Read virtual node's RAPI certificate The virtual node prefix must be added to the path. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Bernardo Dal Seno <bdalseno@google.com> --- qa/qa_rapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/qa_rapi.py b/qa/qa_rapi.py index 887f3b71d..39b6e4bc7 100644 --- a/qa/qa_rapi.py +++ b/qa/qa_rapi.py @@ -76,7 +76,7 @@ def Setup(username, password): master = qa_config.GetMasterNode() # Load RAPI certificate from master node - cmd = ["cat", pathutils.RAPI_CERT_FILE] + cmd = ["cat", qa_utils.MakeNodePath(master, pathutils.RAPI_CERT_FILE)] # Write to temporary file _rapi_ca = tempfile.NamedTemporaryFile() -- GitLab