Glance api fails to set image to active after upload when user token expires or is revoked.
Bug #1182536 reported by
Alex Meade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Alex Meade |
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://
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.
tags: | added: grizzly-backport-potential |
tags: | removed: grizzly-backport-potential |
Changed in glance: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/29967
Review: https:/