← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1367310] Re: Not supplying container format fails but still creates image in 'queued' state

 

This is confusing, yes. However, its not really a bug per se (or in any
case it would require backwards incompatible changes to fix). You can
subsequently call glance image-update with the appropriate --container-
format and --file base.qcow2, and the file should be uploaded with the
image going to active.

We're planning on a more sensible upload path than 'Queueing', but it
would affect a different command or version of the client and server so
I'm marking this as wontfix.

** Changed in: glance
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1367310

Title:
  Not supplying container format fails but still creates image in
  'queued' state

Status in OpenStack Image Registry and Delivery Service (Glance):
  Won't Fix

Bug description:
  r@ra:~$ glance image-create --name="demoimg" --disk-format=qcow2 --property kernel_id=65c3fe11-dc90-40d0-93ca-6855bc2a83fd --property ramdisk_id=bec768bc-9eac-41b2-90f4-fd861b7b8a05 < base.qcow2
  Request returned failure status 400.
  <html>
   <head>
    <title>400 Bad Request</title>
   </head>
   <body>
    <h1>400 Bad Request</h1>
    Invalid container format 'None' for image.<br /><br />

   </body>
  </html> (HTTP 400)

  
  But while running 'glance image-list', it still says there is an entry for this image, but in 'queued' state

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1367310/+subscriptions


References