Commit d324e3fc authored by Guido Trotter's avatar Guido Trotter
Browse files

Temporarily explicitely break import/export

Since they're not converted to API 10 yet, we temporarily disable the
import/export functions.

Reviewed-by: iustinp
parent 58f6e5ca
......@@ -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
......
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