Log request ID

Registered by Jason Dunsmore

Each request to the API should have a unique request ID. For example:

req-15187ebf-19bc-4210-b733-56b04d5dabd2

This is built into oslo. The request ID should be in each log message generated by heat-engine and heat-api.
In a production Heat deployment, this would facilitate tracing the conversation through all the tiers and aid in debugging.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Jason Dunsmore
Direction:
Needs approval
Assignee:
Daniel Givens
Definition:
Review
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Daniel Givens
Completed by
Angus Salkeld

Whiteboard

Also log the Rackspace resource ID of Rackspace resources.
This should also include logging PIDs for multi-engine deployments: https://github.com/jasondunsmore/heat/commit/1492e8964f6aa7eff985b224e11ed4bb68c0ebab

^^^ This should go into a separate blueprint.

Gerrit topic: https://review.openstack.org/#q,topic:bp/log-request-id,n,z

Addressed by: https://review.openstack.org/47035
    Enabled request_id in RequestContext to enable logging on request id's

https://review.openstack.org/167070

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.