Ask Your Question
0

Transaction id in header?

asked 2013-09-05 18:38:13 -0500

jcburke gravatar image

This page: https://blueprints.launchpad.net/swift/+spec/transaction-id-headers (https://blueprints.launchpad.net/swif...) 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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-05 18:46:03 -0500

notmyname gravatar image

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/bl... 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-05 18:38:13 -0500

Seen: 46 times

Last updated: Sep 05 '13