** Changed in: glance
       Status: New => Invalid

** Changed in: glance
     Assignee: wangxiyuan (wangxiyuan) => (unassigned)

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

Title:
  size still exist when create image with incomplete parameter in api v1

Status in Glance:
  Invalid

Bug description:
  version:Glance master

  Reproduce:
  1. glance image-create --file xxxx --name test    (in my env, image file's 
size is 642580480B)
     Then An error raised: 400 Bad Request: Disk format is not specified. (HTTP 
400)

  2. glance image-list
      list information:

  ID  | Name | Disk Format | Container Format |   Size   | Status
  --------------------------------------------------------------------
  xxx | test |             |                  |642580480 | queued

      except: There should not leave 'size' in the list.

  ID  | Name | Disk Format | Container Format |   Size   | Status
  --------------------------------------------------------------------
  xxx | test |             |                  |          | queued

  There is no bug in api v2.  Only occured in api v1

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to