Bug 907259

Summary: Uploading image with no container format leaves image stuck in queued
Product: Red Hat OpenStack Reporter: Graeme Gillies <ggillies>
Component: openstack-glanceAssignee: John Bresnahan <jbresnah>
Status: CLOSED NOTABUG QA Contact: Yaniv Kaul <ykaul>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: abaron, eglynn, jbresnah, jkt, jrd
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 02:20:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Graeme Gillies 2013-02-04 00:36:34 UTC
Hi,

When you use glance image-upload but fail to specify a container-format, the whole image gets uploaded, then it errors out (error is no container-format was specified. However, the image is still in glance in state queued which seems a bit non-sensical?

Regards,

Graeme

Comment 2 John Bresnahan 2013-02-14 02:11:57 UTC
With the version of glance server from the RPM openstack-glance-2012.2.1-4.el6ost.noarch and the client from python-glanceclient-0.5.1-1.el6.noarch (what is currently in 6.4 beta) I do not experience this problem.  The image is not uploaded when the container-format argument is left out.

The entry in glance is left in the queued state because the user can still use the image-update command to set the container format and upload the image.