← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1294587] [NEW] Old style Images with vhd files tarred along with a folder are not handled in nova xen plugin

 

Public bug reported:

There are some legacy snapshots which are uploaded into swift, with vhd
files bundled in a folder called "image".

They are in the below format,
image/
            snap.vhd
            image.vhd


Right now, in glance plugin, after downloading the image, when we try to handle old style images, we expected vhd files to be downloaded in the staging_path.

https://github.com/openstack/nova/blob/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py#167

But in this case of legacy images, there is a folder called "image" with
vhd files, downloaded in the staging path.

So, the level of recursiveness in the downloaded image is not supported
today, while handling old style image.

** Affects: nova
     Importance: Undecided
     Assignee: Sumanth Nagadavalli (sumanth-nagadavalli)
         Status: New


** Tags: nova plugin xen xenserver

** Changed in: nova
     Assignee: (unassigned) => Sumanth Nagadavalli (sumanth-nagadavalli)

-- 
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/1294587

Title:
  Old style Images with vhd files tarred along with a folder are not
  handled in nova xen plugin

Status in OpenStack Compute (Nova):
  New

Bug description:
  There are some legacy snapshots which are uploaded into swift, with
  vhd files bundled in a folder called "image".

  They are in the below format,
  image/
              snap.vhd
              image.vhd

  
  Right now, in glance plugin, after downloading the image, when we try to handle old style images, we expected vhd files to be downloaded in the staging_path.

  https://github.com/openstack/nova/blob/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/utils.py#167

  But in this case of legacy images, there is a folder called "image"
  with vhd files, downloaded in the staging path.

  So, the level of recursiveness in the downloaded image is not
  supported today, while handling old style image.

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


Follow ups

References