Return request ID to caller

Registered by Chris Buccella

This blueprint is part of a larger effort to log request ID mappings across service boundaries to allow for easier debugging.

Currently, calls into the python client return only Image objects to a caller. In order to log a mapping the request IDs of both glanceclient and the caller, the x-openstack-request-id header value returned in glance's response is needed on the server side.

One consideration here is that not all services using the python client will be expecting the request ID to be returned. Therefore, it is proposed that an optional list parameter, return_req_id, be considered. If this param is passed in, glanceclient will append the request ID it receives from glance.

This blueprint will affect both v1 and v2, since we want to ensure this feature still works when the services upgrade to using v2.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Chris Buccella
Direction:
Needs approval
Assignee:
Chris Buccella
Definition:
Review
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

Work items:
1) Change for v1: https://review.openstack.org/#/c/68524/: INPROGRESS
2) Change for v2: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.