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

2013-12-12 Thread Joe Gordon
On Thu, Dec 12, 2013 at 1:40 AM, Sean Dague wrote: > 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 tran

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

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

2013-12-11 Thread Chris Buccella
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 advantage to operators to trace requests through multi

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

2013-12-06 Thread Joe Gordon
On Dec 6, 2013 4:26 PM, "Akihiro Motoki" wrote: > > > (2013/12/06 17:57), Joe Gordon wrote: > > > > On Dec 6, 2013 9:57 AM, "Maru Newby" > wrote: > > > > > > > > > On Dec 6, 2013, at 1:09 AM, John Dickinson > wrote: > > > > > > > > > > > On Dec 5, 2013, at 1:36 AM, Maru Newby > wrote: > > >

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" > wrote: > > > > > > On Dec 6, 2013, at 1:09 AM, John Dickinson > wrote: > > > > > > > > On Dec 5, 2013, at 1:36 AM, Maru Newby > wrote: >

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

2013-12-06 Thread Joe Gordon
On Dec 6, 2013 9:57 AM, "Maru Newby" wrote: > > > On Dec 6, 2013, at 1:09 AM, John Dickinson wrote: > > > > > On Dec 5, 2013, at 1:36 AM, Maru Newby wrote: > > > >> > >> On Dec 3, 2013, at 12:18 AM, Joe Gordon wrote: > >> > >>> > >>> > >>> > >>> On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson w

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

2013-12-05 Thread Maru Newby
On Dec 6, 2013, at 1:09 AM, John Dickinson wrote: > > On Dec 5, 2013, at 1:36 AM, Maru Newby wrote: > >> >> On Dec 3, 2013, at 12:18 AM, Joe Gordon wrote: >> >>> >>> >>> >>> On Sun, Dec 1, 2013 at 7:04 PM, John Dickinson wrote: >>> Just to add to the story, Swift uses "X-Trans-Id" and

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

2013-12-05 Thread John Dickinson
On Dec 5, 2013, at 1:36 AM, Maru Newby wrote: > > On Dec 3, 2013, at 12:18 AM, Joe Gordon wrote: > >> >> >> >> On Sun, Dec 1, 2013 at 7: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. >> >

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

2013-12-05 Thread Maru Newby
On Dec 3, 2013, at 12:18 AM, Joe Gordon wrote: > > > > On Sun, Dec 1, 2013 at 7: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 t

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 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

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

2013-12-02 Thread Matthew Treinish
On Mon, Dec 02, 2013 at 09:47:54AM -0500, Jay Pipes wrote: > 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 th

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-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 caug

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

2013-12-01 Thread Maru Newby
On Nov 30, 2013, at 1:00 AM, Sean Dague 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 vari

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 wh

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 con