From d324e3fc2fe12eeeced4c9b4eca65b320ff8bd18 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 17 Oct 2008 14:36:45 +0000 Subject: [PATCH] Temporarily explicitely break import/export Since they're not converted to API 10 yet, we temporarily disable the import/export functions. Reviewed-by: iustinp --- lib/backend.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/backend.py b/lib/backend.py index c11872e93..d52b3552b 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -1347,6 +1347,10 @@ def ExportSnapshot(disk, dest_node, instance, cluster_name): True if successful, False otherwise. """ + # TODO(ultrotter): Import/Export still to be converted to OS API 10 + logging.error("Import/Export still to be converted to OS API 10") + return False + inst_os = OSFromDisk(instance.os) export_script = inst_os.export_script @@ -1494,6 +1498,10 @@ def ImportOSIntoInstance(instance, os_disk, swap_disk, src_node, src_image, False in case of error, True otherwise. """ + # TODO(ultrotter): Import/Export still to be converted to OS API 10 + logging.error("Import/Export still to be converted to OS API 10") + return False + inst_os = OSFromDisk(instance.os) import_script = inst_os.import_script -- GitLab