libvirt/hyperv do not support Glance

Bug #708673 reported by Thierry Carrez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Thierry Carrez

Bug Description

libvirt and hyperv are not compatible with Glance, they unconditionally use nova-objectstore.

libvirt and hyper-V use nova.virt.images to fetch images, which supports only s3 or local filesystem (through the use_s3 flag).
xenapi on the other hand implemented a switch (based on xenapi_image_service flag, should probably use image_service instead) to support Glance or the objectstore.

Some refactoring is needed so that the switch is implemented at nova.virt.images level.

Related branches

Revision history for this message
Thierry Carrez (ttx) wrote :

See naive fix in attached branch. Rather than refactoring which would carry regression risks, it just handles the case where --image_service=nova.image.glance.GlanceImageService. I can boot a VM alright with this patch.

Changed in nova:
assignee: nobody → Thierry Carrez (ttx)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

Or maybe we should just consider it an unsupported case in Bexar and properly fix it in Cactus.

Thierry Carrez (ttx)
Changed in nova:
milestone: none → bexar-rc
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: bexar-rc → bexar-gamma
Thierry Carrez (ttx)
Changed in nova:
milestone: bexar-gamma → 2011.1
status: Fix Committed → Fix Released
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.