Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1057128

Summary: [engine-backend] [external-provider] Engine doesn't execute DownloadImageVDSCommand when importing an image which was created in glance without --copy-data attribute
Product: [Retired] oVirt Reporter: Elad <ebenahar>
Component: ovirt-engine-coreAssignee: Sergey Gotliv <sgotliv>
Status: CLOSED WORKSFORME QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4CC: acanan, acathrow, amureini, fsimonce, gklein, iheim, oourfali, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-26 12:06:15 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:
Attachments:
Description Flags
engine.log and screenshot none

Description Elad 2014-01-23 13:46:22 UTC
Created attachment 854396 [details]
engine.log and screenshot

Description of problem:
I tried to import an image from glance which wasn't copied first during creation. It seems that engine doesn't do anything in order to actually import the image. there is no DownloadImageVDSCommand when trying to import the image.

Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.5.beta1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create an image in glance without --copy-data attribute in the create-image command. For example:

[root@cougar01 ~(keystone_admin)]# glance image-create --disk-format qcow2 --location http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img --name gfslocation  --container-format bare

2. Add glance to oVirt as an external provider
3. Import the image from glance domain to a RHEV DC

Actual results:
The command doesn't even get to the backend, the 'import image(s)' window on UI get stuck until user closes it 

Expected results: 
The command should be passed to the backend, and if there is a failure to import the image, there should be an error about this on UI.

Additional info: engine.log and screenshot

Comment 1 Itamar Heim 2014-01-26 08:10:46 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 2 Sergey Gotliv 2014-02-26 12:06:15 UTC
I verified several times that scenario described in this case is working.

According to attached logs there was an attempt to import a non-existing image but again such scenario is working either.

Please, reopen this case if reproducible for you.

Comment 3 Aharon Canan 2014-03-11 11:50:30 UTC
didn't reproduce again