yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38126
[Bug 1480196] Re: Request-id is not getting returned if glance throws 500 error
** 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/1480196
Title:
Request-id is not getting returned if glance throws 500 error
Status in Glance:
Fix Released
Bug description:
If glance throws Internal Server Error (500) for some reason,
then in that case 'request-id' is not getting returned in response headers.
Request-id is required to analyse logs effectively on failure and it should be
returned from headers.
For ex. -
image-create api returns 500 error if property name exceeds 255 characters
(fix for this issue is in progress : https://review.openstack.org/#/c/203948/)
curl command:
$ curl -g -i -X POST -H 'Accept-Encoding: gzip, deflate' -H 'x-image-
meta-container_format: ami' -H 'x-image-meta-property-
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:
jskg' -H 'Accept: */*' -H 'X-Auth-Token:
b94bd7b3a0fb4fada73fe170fe7d49cb' -H 'Connection: keep-alive' -H 'x
-image-meta-is_public: None' -H 'User-Agent: python-glanceclient' -H
'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format:
ami' http://10.69.4.173:9292/v1/images
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 0
Date: Fri, 31 Jul 2015 08:27:31 GMT
Connection: close
Here request-id is not part of response header.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1480196/+subscriptions
References