Revision a90636b2 qa/qa_instance.py
b/qa/qa_instance.py | ||
---|---|---|
248 | 248 |
@InstanceCheck(INST_DOWN, INST_DOWN, FIRST_ARG) |
249 | 249 |
def TestInstanceReinstall(instance): |
250 | 250 |
"""gnt-instance reinstall""" |
251 |
if instance.disk_template == constants.DT_DISKLESS: |
|
252 |
print qa_utils.FormatInfo("Test not supported for diskless instances") |
|
253 |
return |
|
254 |
|
|
251 | 255 |
AssertCommand(["gnt-instance", "reinstall", "-f", instance.name]) |
252 | 256 |
|
253 | 257 |
# Test with non-existant OS definition |
Also available in: Unified diff