X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/830da2702a015068a5a635cf6c1cbe2a076be157..24818e8f214f44bd88715ccd2a787a968461a325:/qa/qa_cluster.py diff --git a/qa/qa_cluster.py b/qa/qa_cluster.py index 2995885..8b3d3eb 100644 --- a/qa/qa_cluster.py +++ b/qa/qa_cluster.py @@ -164,7 +164,7 @@ def TestClusterCopyfile(): """gnt-cluster copyfile""" master = qa_config.GetMasterNode() - uniqueid = utils.GetUUID() + uniqueid = utils.NewUUID() # Create temporary file f = tempfile.NamedTemporaryFile() @@ -188,8 +188,8 @@ def TestClusterCommand(): """gnt-cluster command""" master = qa_config.GetMasterNode() - uniqueid = utils.GetUUID() - rfile = "/tmp/gnt%s" % utils.GetUUID() + uniqueid = utils.NewUUID() + rfile = "/tmp/gnt%s" % utils.NewUUID() rcmd = utils.ShellQuoteArgs(['echo', '-n', uniqueid]) cmd = utils.ShellQuoteArgs(['gnt-cluster', 'command', "%s >%s" % (rcmd, rfile)])