← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549869] Re: Glance should return 204 when user downloads queued image file

 

Reviewed:  https://review.openstack.org/254334
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=3077339f9fcd23ba0f7667571f885353fb03d7e1
Submitter: Jenkins
Branch:    master

commit 3077339f9fcd23ba0f7667571f885353fb03d7e1
Author: Stuart McLaren <stuart.mclaren@xxxxxx>
Date:   Mon Dec 7 17:54:35 2015 +0000

    Return 204 rather than 403 when no image data
    
    As per http://developer.openstack.org/api-ref-image-v2.html:
     "If no image data exists, the call returns the HTTP 204 status code. "
    
    This commit changed that to 403:
    
     d4d94b290ceb9147dd285822e201dd85ce812ef0
    
    We should revert to the juno/kilo/liberty behaviour.
    
    APIImpact
    
    Closes-bug: 1549869
    
    Change-Id: Ie9353bc254d11870abc102a7b9b4c7db3917abb4


** Changed in: glance
       Status: New => 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/1549869

Title:
  Glance should return 204 when user downloads queued image file

Status in Glance:
  Fix Released

Bug description:
  Previously (In Liberty) when user tried to download file while image
  was in 'queued' status Glance returned 204. In Mitaka this behavior
  was changed  and now Glance returns 403. This is contrary to the
  Glance image api v2 http://developer.openstack.org/api-ref-
  image-v2.html We have to return it back.

  Previously: http://paste.openstack.org/show/487782/

  Now:  http://paste.openstack.org/show/488210/

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


References