← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1268680] Re: Creating an image without container format queues image and fails with 400

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => liberty-1

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

Title:
  Creating an image without container format queues image and fails with
  400

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  Description of problem:

  Creating an image from CLI without --container format queued the image
  and fails with 400.

  Request returned failure status.
  400 Bad Request
  Invalid container format 'None' for image.
      (HTTP 400)

  
  How reproducible:
  # glance --debug image-create --name cirros --disk-format qcow2 --file /tmp/cirros-image.qcow2 --progress
  <snip>
  [=============================>] 100%

  HTTP/1.1 400 Bad Request
  date: Tue, 07 Jan 2014 14:13:54 GMT
  content-length: 64
  content-type: text/plain; charset=UTF-8
  x-openstack-request-id: req-11b4ecad-3a8d-4e44-9c37-a4d843805889

  400 Bad Request

  Invalid container format 'None' for image.


  # glance image-list
  +-----------------------------------------------------------+-----------+-----------------+------------------------+----------------+-----------+
  | ID                                                                            | Name    | Disk Format | Container Format | Size              | Status    |
  +-----------------------------------------------------------+-----------+-----------------+------------------------+----------------+-----------+
  | b2490dd2-b535-4b98-8647-cca428a63e01 | cirros     | qcow2           |                                 | 307962880 | queued |
  +-----------------------------------------------------------+-----------+-----------------+------------------------+----------------+-----------+

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


References