← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182536] Re: Glance api fails to set image to active after upload when user token expires or is revoked.

 

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

** Changed in: glance
    Milestone: None => havana-2

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

Title:
  Glance api fails to set image to active after upload when user token
  expires or is revoked.

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

Bug description:
  Glance Api fails to set image to active after upload when user token
  expires or is revoked.

  1) glance image-create --name test-upload-delete --disk-format vhd --container-format ovf < ~/ubuntu
  2) update token set valid = 0;
  3) see error and receive 500 on post request
  500 Internal Server Error
  The server has either erred or is incapable of performing the requested operation.
      (HTTP 500)

  Glance logs during upload and token expiration:

  http://paste.openstack.org/show/37535/

  
  There is currently code in the registry client that will allow for reauths with admin credentials on failure, but it is currently broken. If configured, glance api should perform this reauth and finish the request.

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