← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257273] Re: Glance download fails when size is 0

 

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

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

Title:
  Glance download fails when size is 0

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

Bug description:
  Glance images are not being fetched by glance's API v1 when the size
  is 0. There are 2 things wrong with this behaviour:

  1) Active images should always be ready to be downloaded, regardless they're locally or remotely stored.
  2) The size shouldn't be the way to verify whether an image has some data or not.

  https://git.openstack.org/cgit/openstack/glance/tree/glance/api/v1/images.py#n455

  This is happening in the API v1, but it doesn't seem to be true for
  v2.

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


References