<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 15, 2017 at 6:20 AM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 05/15/2017 05:59 AM, Andrey Volkov wrote:<br>
><br>
>> The last time this came up, some people were concerned that trusting<br>
>> request-id on the wire was concerning to them because it's coming from<br>
>> random users.<br>
><br>
> TBH I don't see the reason why a validated request-id value can't be<br>
> logged on a callee service side, probably because I missed some previous<br>
> context. Could you please give an example of such concerns?<br>
><br>
> With service user I see two blocks:<br>
> - A callee service needs to know if it's "special" user or not.<br>
> - Until all services don't use a service user we'll not get the complete trace.<br>
<br>
</span>That is doable, but then you need to build special tools to generate<br>
even basic flows. It means that the Elastic Search use case (where<br>
plopping in a request id shows you things across services) does not<br>
work. Because the child flows don't have the new id.<br>
<br>
It's also fine to *also* cross log the child/callee request idea on the<br>
parent/caller, but it's not actually going to be sufficiently useful to<br>
most people.<br></blockquote><div><br></div><div>+1</div><div><br></div><div>To me it makes sense to supply the override so that a single request-id can track multiple operations across services. But I'm struggling to find a case where passing a list(global_request_id, local_request_id) is useful. This might be something we can elaborate on later, if we find a use case for including multiple request-ids.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="im HOEnZb"><br>
        -Sean<br>
<br>
--<br>
Sean Dague<br>
<a href="http://dague.net" rel="noreferrer" target="_blank">http://dague.net</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>