Commit 5702c12b authored by Helga Velroyen's avatar Helga Velroyen

QA: Add more verification checks for SSH

This adds a few 'gnt-cluster verify' to QA tests that are
prone to mess up the SSH key files.
Signed-off-by: default avatarHelga Velroyen <>
Reviewed-by: default avatarKlaus Aehlig <>
parent bd619974
......@@ -41,7 +41,8 @@ import qa_config
import qa_error
import qa_utils
from qa_utils import AssertCommand, AssertEqual, AssertIn, GetCommandOutput
from qa_utils import AssertCommand, AssertRedirectedCommand, AssertEqual, \
AssertIn, GetCommandOutput
def NodeAdd(node, readd=False, group=None):
......@@ -65,6 +66,9 @@ def NodeAdd(node, readd=False, group=None):
if readd:
AssertRedirectedCommand(["gnt-cluster", "verify"])
if readd:
assert node.added
......@@ -265,6 +269,8 @@ def TestNodeModify(node):
AssertCommand(["gnt-node", "modify", "--secondary-ip=%s" % node.secondary,
AssertRedirectedCommand(["gnt-cluster", "verify"])
def _CreateOobScriptStructure():
"""Create a simple OOB handling script and its structure."""
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment