Revision a09639d1 tools/move-instance
b/tools/move-instance | ||
---|---|---|
600 | 600 |
logging.info("Retrieving instance information from source cluster") |
601 | 601 |
instinfo = self._GetInstanceInfo(src_client, mrt.PollJob, |
602 | 602 |
mrt.move.src_instance_name) |
603 |
if (instinfo["disk_template"] in |
|
604 |
[constants.DT_FILE, constants.DT_SHARED_FILE]): |
|
603 |
if (instinfo["disk_template"] in constants.DTS_FILEBASED): |
|
605 | 604 |
raise Error("Inter-cluster move of file-based instances is not" |
606 | 605 |
" supported.") |
607 | 606 |
|
Also available in: Unified diff