Skip to content
Snippets Groups Projects
Commit 59c1d41e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

QA: Fix breakage on cluster initialization


The hypervisors are a list and need to be comma-separated.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e4a4391d
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ def TestClusterInit(rapi_user, rapi_secret): ...@@ -97,7 +97,7 @@ def TestClusterInit(rapi_user, rapi_secret):
cmd = [ cmd = [
"gnt-cluster", "init", "gnt-cluster", "init",
"--primary-ip-version=%d" % qa_config.get("primary_ip_version", 4), "--primary-ip-version=%d" % qa_config.get("primary_ip_version", 4),
"--enabled-hypervisors=%s" % qa_config.GetEnabledHypervisors(), "--enabled-hypervisors=%s" % ",".join(qa_config.GetEnabledHypervisors()),
] ]
for spec_type in ("mem-size", "disk-size", "disk-count", "cpu-count", for spec_type in ("mem-size", "disk-size", "disk-count", "cpu-count",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment