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

QA: Disable reinstall test for diskless instances


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent 1a6db3df
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,10 @@ def TestInstanceReboot(instance):
@InstanceCheck(INST_DOWN, INST_DOWN, FIRST_ARG)
def TestInstanceReinstall(instance):
"""gnt-instance reinstall"""
if instance.disk_template == constants.DT_DISKLESS:
print qa_utils.FormatInfo("Test not supported for diskless instances")
return
AssertCommand(["gnt-instance", "reinstall", "-f", instance.name])
# Test with non-existant OS definition
......
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