Bug 1028922

Summary: [engine-backend] [external-provider] [glance] [RFE] add the option to run VM directly from glance image
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: RFEsAssignee: Andrew Cathrow <acathrow>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: abaron, acanan, acathrow, iheim, lpeer, rbalakri, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-11 09:23:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elad 2013-11-11 08:44:27 UTC
As part of glance integration with RHEV, we are able to add glance images to existing VMs in RHEV as disks, after we import those images from glance.

Glance should have the ability to run RHEV VMs directly from its image repository, without importing the images to RHEV.

Comment 1 Ayal Baron 2013-11-11 09:23:41 UTC
(In reply to Elad from comment #0)
> As part of glance integration with RHEV, we are able to add glance images to
> existing VMs in RHEV as disks, after we import those images from glance.
> 
> Glance should have the ability to run RHEV VMs directly from its image
> repository, without importing the images to RHEV.

If you'd like to add functionality to glance then please open an rfe on glance.

What glance supports is:
1. retrieving an image over http - does not support random access, so cannot run VMs this way
2. multi-locations for image - in this way, in the special case where a host is able to reach the image not only through glance but also through direct access to its backend then you can use it directly.  However, the correct way to do this is have Cinder as the backend for glance and then choose the cinder volume to back your disks.

Glance is an external service and there is no guarantee that it will remain available in which case, disks created from it might be rendered useless.  In openstack this is fine since the disks created from it are considered ephemeral anyway.  In oVirt, however, this is not the case.

Comment 2 Elad 2013-11-14 08:11:02 UTC
(In reply to Ayal Baron from comment #1)
This ability is existing on glance. as far as I know, open-stack has the ability to create VMs directly from glance images. Can't we replicate this ability to RHEV?

Comment 3 Elad 2013-11-14 11:27:49 UTC
Sorry Ayal, you have already answered to my question in your comment. I'm removing the need info.