<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 12:18 PM, Sandy Walsh <span dir="ltr"><<a href="mailto:sandy.walsh@rackspace.com" target="_blank">sandy.walsh@rackspace.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On 06/04/2013 04:10 PM, Brian Elliott wrote:<br>
> Brian,<br>
><br>
> On Jun 4, 2013, at 1:39 PM, Brian Lamar <<a href="mailto:brian.lamar@rackspace.com">brian.lamar@rackspace.com</a>> wrote:<br>
><br>
>> I'm going to refrain on commenting on thread local storage, but I have one question: Is this going to replace the request_id concept we've had in Nova/Glance for a while? I've been out of development for a bit but this seems like it's a similar concept. I'm all for having IDs to track across all projects.<br>


>><br>
>> Brian<br>
>><br>
>><br>
><br>
> No, it will not replace the Nova/Glance request_id.  It is intended instead to serve as a single identifier that carries across multiple services through the lifespan of a user request.  It is intended to be service-agnostic and will hopefully get implemented in every project.<br>


><br>
> Correlation_id and request_id could be the same identifier, but it could get hairy if they were.  Imagine a single call to service A results in two calls to service B.  I think you want each request to B to retain a separate request identifier for tracking purposes (like it is now), but then you want a second correlation_id that gives you simplified tracking across the entire surface of the call originating at A.<br>


<br>
</div>That would be useful. If Correlation could include multiple Request ID's<br>
we could track a call from Keystone all the way down.<br></blockquote><div><br></div><div style>Can't we do this now with a little bit of log parsing?  Every time nova calls another service AFAIK we log the request ID to that service. </div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Per User Action = Correlation ID<br>
Per Service = Request ID<br>
<br>
Is the purpose of using TLS for tracking those calls that don't pass the<br>
context? If so, could we use TLS for the Context object instead of<br>
explicitly passing it as a parameter?<br>
<span class="HOEnZb"><font color="#888888"><br>
-S<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks,<br>
> Brian<br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>