Commit a90636b2 authored by Michael Hanselmann's avatar Michael Hanselmann

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
...@@ -248,6 +248,10 @@ def TestInstanceReboot(instance): ...@@ -248,6 +248,10 @@ def TestInstanceReboot(instance):
@InstanceCheck(INST_DOWN, INST_DOWN, FIRST_ARG) @InstanceCheck(INST_DOWN, INST_DOWN, FIRST_ARG)
def TestInstanceReinstall(instance): def TestInstanceReinstall(instance):
"""gnt-instance reinstall""" """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]) AssertCommand(["gnt-instance", "reinstall", "-f", instance.name])
# Test with non-existant OS definition # Test with non-existant OS definition
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment