Revision ad658827 qa/qa_rapi.py
b/qa/qa_rapi.py | ||
---|---|---|
681 | 681 |
@InstanceCheck(INST_DOWN, INST_DOWN, FIRST_ARG) |
682 | 682 |
def TestRapiInstanceReinstall(instance): |
683 | 683 |
"""Test reinstalling an instance via RAPI""" |
684 |
if instance.disk_template == constants.DT_DISKLESS: |
|
685 |
print qa_utils.FormatInfo("Test not supported for diskless instances") |
|
686 |
return |
|
687 |
|
|
684 | 688 |
_WaitForRapiJob(_rapi_client.ReinstallInstance(instance.name)) |
685 | 689 |
# By default, the instance is started again |
686 | 690 |
qa_utils.RunInstanceCheck(instance, True) |
Also available in: Unified diff