Created attachment 798280 [details] logs Description of problem: Exporting a disk from RHEV to glance when vdsm hypervisor is blocked from glance in port 9292, is causing the exported image to stuck in 'queued' state in glance forever. Version-Release number of selected component (if applicable): openstack-glance-2013.1.3-1.el6ost.noarch How reproducible: 100% Steps to Reproduce: With open-stack (glance installed) and RHEV environments 1. add glance to RHEVM as an external provider 2. create new disk in RHEV 3. block connectivity from vdsm hypervisor to openstack-glance host in port 9292 4. export the disk from RHEV to glance Actual results: image gets stuck in 'queued' state | e9e3c9c0-13d2-4844-acca-17fba1a2862a | iscsi1-2 | raw | bare | | queued | Expected results: glance should fail this task and delete the image Additional info: logs
Version-Release number of selected component (if applicable): openstack-glance-2013.1.3-1.el6ost.noarch rhevm-3.3.0-0.19.master.el6ev.noarch vdsm-4.12.0-127.gitedb88bf.el6ev.x86_64
*** Bug 1010633 has been marked as a duplicate of this bug. ***
Elad, please make sure to run scenario from bug below as well when this bug is fixed. https://bugzilla.redhat.com/show_bug.cgi?id=1010633
In glance, image records are separate from image data. When an image upload fails, the uploaded data is cleaned but the record is kept because you can still upload data for that image. Also, it was recently added support for multiple locations which means that an 1 image record can store its data in different locations. Could you verify the partially uploaded data is cleaned up? If so, I'll close this bug as 'NOTABUG'.
(In reply to Flavio Percoco from comment #4) > In glance, image records are separate from image data. When an image upload > fails, the uploaded data is cleaned but the record is kept because you can > still upload data for that image. Also, it was recently added support for > multiple locations which means that an 1 image record can store its data in > different locations. > > Could you verify the partially uploaded data is cleaned up? If so, I'll > close this bug as 'NOTABUG'. This is happening indeed. The image is no longer existing under /var/lib/glance/images/
Thanks for double-checking, I'll close this bug!