Note that this fixes the "current issue" but doesn't fix the underlying
problem. :/

Signed-off-by: Guido Trotter <[email protected]>
---
 qa/ganeti-qa.py |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/qa/ganeti-qa.py b/qa/ganeti-qa.py
index 5ffd44f..1ea0b25 100755
--- a/qa/ganeti-qa.py
+++ b/qa/ganeti-qa.py
@@ -364,7 +364,11 @@ def RunExportImportTests(instance, inodes):
   @param inodes: current nodes of the instance
 
   """
-  if qa_config.TestEnabled("instance-export"):
+  # FIXME: export explicitly bails out on file based storage. other non-lvm
+  # based storage types are untested, though. Also note that import could still
+  # work, but is deeply embedded into the "export" case.
+  if (qa_config.TestEnabled("instance-export") and
+      instance.disk_template != constants.DT_FILE):
     RunTest(qa_instance.TestInstanceExportNoTarget, instance)
 
     pnode = inodes[0]
-- 
1.7.10.4

Reply via email to