summaryrefslogtreecommitdiffstats
path: root/plugins/xenserver
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-03-15 16:57:47 -0400
committerDan Prince <dprince@redhat.com>2013-03-15 16:57:47 -0400
commit7f1b1b69d70a6c7ee37b0f8c907473ddf5c08cac (patch)
tree201acdb5fe78bb8127b84b9ab2543cc88ebcc6f5 /plugins/xenserver
parent4aac62be597a90a908b28fcaeb2307e4a8eabf58 (diff)
downloadnova-7f1b1b69d70a6c7ee37b0f8c907473ddf5c08cac.tar.gz
nova-7f1b1b69d70a6c7ee37b0f8c907473ddf5c08cac.tar.xz
nova-7f1b1b69d70a6c7ee37b0f8c907473ddf5c08cac.zip
Revert 1154253 causes XenServer image compat issue
In 1154253 we: Drop gzip flag from tar command for OVF archives While support more OVF file formats is a worthy goal the approach in 1154253 is going to cause serious issues for existing Nova XenServer users who are already zipping their OVS images. I would also point out that our utils.py xenserver plugins still zips tarballs we create (see create_tarball) so the new code causes internal inconsistencies as well. This should fix SmokeStack. Fixes LP Bug #1155783. Change-Id: Iff6db314c0dec6df2e48d98db2a547f6624b9d9a
Diffstat (limited to 'plugins/xenserver')
-rw-r--r--plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py
index 850d6ab98..2a5d3d9ae 100644
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py
@@ -345,7 +345,7 @@ def extract_tarball(fileobj, path, callback=None):
:param path: path to extract tarball into
:param callback: optional callback to call on each chunk read
"""
- tar_cmd = "tar -x --directory=%(path)s" % locals()
+ tar_cmd = "tar -zx --directory=%(path)s" % locals()
tar_proc = make_subprocess(tar_cmd, stderr=True, stdin=True)
while True: