← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154253] Re: increased support for different compression types

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1154253

Title:
  increased support for different compression types

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I'm referring specifically to the XenServer OVF container type here
  but this may apply to others as well

  from line 324 in

  plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py

  the line is

  tar_cmd = "tar -zx --directory=%(path)s" % locals()

  This line limits the hypervisor to only extracting gzipped archives
  and not bzip2, xz or other archive types with different compression.
  The OVA gzip specification does not appear to apply here since the
  archive file is first extracted anyway and the resulting vhd files are
  imported uncompressed.  Given that, why limit the compression type to
  gzip only?  Changing "tar xz" to "tar x" doesn't remove any
  functionality for gzip archives and would allow hypervisors to extract
  any archive that tar is capable of regardless of compression type.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1154253/+subscriptions