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

Bug #1294587 reported by Sumanth Nagadavalli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

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.

Tags: xenserver
Changed in nova:
assignee: nobody → Sumanth Nagadavalli (sumanth-nagadavalli)
Changed in nova:
status: New → In Progress
Revision history for this message
John Garbutt (johngarbutt) wrote :

This feels a lot like a feature to me... This may require a blueprint.

tags: removed: nova plugin xen
Changed in nova:
importance: Undecided → Wishlist
Revision history for this message
John Garbutt (johngarbutt) wrote :

No updates, and no patch, so marking this as no longer in progress. Please do update if this is false.

Changed in nova:
status: In Progress → Triaged
assignee: Sumanth Nagadavalli (sumanth-nagadavalli) → nobody
Sean Dague (sdague)
Changed in nova:
status: Triaged → Confirmed
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

This wishlist bug has been open a year without any activity. I'm going to move it to "Opinion / Wishlist", which is an easily-obtainable queue of older requests that have come on.

In case you want to work on that, consider writing a blueprints [1] and spec [2]. I'll recommend to read [3] if not yet done. The effort to implement the requested feature is then driven only by the blueprint (and spec).

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints

Changed in nova:
status: Confirmed → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.