Re: [openstack-dev] request-id in API response

2013-12-11 Thread Sean Dague
On 12/11/2013 04:17 PM, Chris Buccella wrote: On 12/02/2013 10:18 AM, Joe Gordon wrote: Thanks for bringing this up, and I'd welcome a patch in Swift that would use a common library to generate the transaction id, if it were installed. I can see that there would be huge

Re: [openstack-dev] request-id in API response

2013-12-06 Thread Joe Gordon
On Dec 6, 2013 9:57 AM, Maru Newby ma...@redhat.com wrote: On Dec 6, 2013, at 1:09 AM, John Dickinson m...@not.mn wrote: On Dec 5, 2013, at 1:36 AM, Maru Newby ma...@redhat.com wrote: On Dec 3, 2013, at 12:18 AM, Joe Gordon joe.gord...@gmail.com wrote: On Sun, Dec 1, 2013

Re: [openstack-dev] request-id in API response

2013-12-06 Thread Akihiro Motoki
(2013/12/06 17:57), Joe Gordon wrote: On Dec 6, 2013 9:57 AM, Maru Newby ma...@redhat.com mailto:ma...@redhat.com wrote: On Dec 6, 2013, at 1:09 AM, John Dickinson m...@not.mn mailto:m...@not.mn wrote: On Dec 5, 2013, at 1:36 AM, Maru Newby ma...@redhat.com

Re: [openstack-dev] request-id in API response

2013-12-06 Thread Joe Gordon
On Dec 6, 2013 4:26 PM, Akihiro Motoki mot...@da.jp.nec.com wrote: (2013/12/06 17:57), Joe Gordon wrote: On Dec 6, 2013 9:57 AM, Maru Newby ma...@redhat.com mailto: ma...@redhat.com wrote: On Dec 6, 2013, at 1:09 AM, John Dickinson m...@not.mn mailto: m...@not.mn wrote:

Re: [openstack-dev] request-id in API response

2013-12-05 Thread Maru Newby
On Dec 3, 2013, at 12:18 AM, Joe Gordon joe.gord...@gmail.com wrote: On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson m...@not.mn wrote: Just to add to the story, Swift uses X-Trans-Id and generates it in the outer-most catch_errors middleware. Swift's catch errors middleware is

Re: [openstack-dev] request-id in API response

2013-12-05 Thread John Dickinson
On Dec 5, 2013, at 1:36 AM, Maru Newby ma...@redhat.com wrote: On Dec 3, 2013, at 12:18 AM, Joe Gordon joe.gord...@gmail.com wrote: On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson m...@not.mn wrote: Just to add to the story, Swift uses X-Trans-Id and generates it in the outer-most

Re: [openstack-dev] request-id in API response

2013-12-05 Thread Maru Newby
On Dec 6, 2013, at 1:09 AM, John Dickinson m...@not.mn wrote: On Dec 5, 2013, at 1:36 AM, Maru Newby ma...@redhat.com wrote: On Dec 3, 2013, at 12:18 AM, Joe Gordon joe.gord...@gmail.com wrote: On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson m...@not.mn wrote: Just to add to the

Re: [openstack-dev] request-id in API response

2013-12-02 Thread Jay Pipes
On 12/01/2013 10:04 PM, John Dickinson wrote: Just to add to the story, Swift uses X-Trans-Id and generates it in the outer-most catch_errors middleware. Swift's catch errors middleware is responsible for ensuring that the transaction id exists on each request, and that all errors previously

Re: [openstack-dev] request-id in API response

2013-12-02 Thread Joe Gordon
On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson m...@not.mn wrote: Just to add to the story, Swift uses X-Trans-Id and generates it in the outer-most catch_errors middleware. Swift's catch errors middleware is responsible for ensuring that the transaction id exists on each request, and that

Re: [openstack-dev] request-id in API response

2013-12-01 Thread Maru Newby
On Nov 30, 2013, at 1:00 AM, Sean Dague s...@dague.net wrote: On 11/29/2013 10:33 AM, Jay Pipes wrote: On 11/28/2013 07:45 AM, Akihiro Motoki wrote: Hi, I am working on adding request-id to API response in Neutron. After I checked what header is used in other projects header name varies

Re: [openstack-dev] request-id in API response

2013-12-01 Thread John Dickinson
Just to add to the story, Swift uses X-Trans-Id and generates it in the outer-most catch_errors middleware. Swift's catch errors middleware is responsible for ensuring that the transaction id exists on each request, and that all errors previously uncaught, anywhere in the pipeline, are caught

Re: [openstack-dev] request-id in API response

2013-11-29 Thread Jay Pipes
On 11/28/2013 07:45 AM, Akihiro Motoki wrote: Hi, I am working on adding request-id to API response in Neutron. After I checked what header is used in other projects header name varies project by project. It seems there is no consensus what header is recommended and it is better to have some

Re: [openstack-dev] request-id in API response

2013-11-29 Thread Sean Dague
On 11/29/2013 10:33 AM, Jay Pipes wrote: On 11/28/2013 07:45 AM, Akihiro Motoki wrote: Hi, I am working on adding request-id to API response in Neutron. After I checked what header is used in other projects header name varies project by project. It seems there is no consensus what header is