Bug 907259 - Uploading image with no container format leaves image stuck in queued
Summary: Uploading image with no container format leaves image stuck in queued
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: John Bresnahan
QA Contact: Yaniv Kaul
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 00:36 UTC by Graeme Gillies
Modified: 2013-09-30 02:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-14 02:20:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.