Transaction id in header?

Asked by John Burke

This page: https://blueprints.launchpad.net/swift/+spec/transaction-id-headers
would seem to suggest that I should get the transaction ID as a header in each response I get from swift, but I am not seeing them. Is there some way to turn this behavior on? It would be really useful for debugging

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John Dickinson (notmyname) said :
#1

The transaction IDs are generated by the catch_errors middleware (which should be in your proxy server config pipeline). If it's not loaded, you should update it (see https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample for a well-documented sample config).

If you have catch_errors loaded, but you still aren't seeing the transaction ID, then either the response isn't coming from Swift (eg it could be coming from your load balancer) or something (like a load balancer) is stripping the header off of the response.

Can you help with this problem?

Provide an answer of your own, or ask John Burke for more information if necessary.

To post a message you must log in.