[openstack-dev] [all] Global Request ID progress

Sean Dague sean at dague.net
Wed May 24 10:02:20 UTC 2017


The Global Request ID effort made some good progress this week
https://review.openstack.org/#/c/464746/ (and was merged last night).

The new TL;DR - we're going to pass around a value that is strongly
validated to req-$uuid. It's stored in a different field in oslo.context
(global_request_id). If you don't want to trust it, just don't log that
field.

All the patches up for review are here -
https://review.openstack.org/#/q/topic:global_request_id

Through great hackery here is a devstack-gate scenario demonstrating
this in action with Nova -> Neutron -
https://review.openstack.org/#/c/467417/ -
http://logs.openstack.org/17/467417/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/1cccf3f/logs/screen-q-svc.txt.gz#_May_24_00_38_15_067393

You can see 2 request_ids in that line, the first is the originator from
Nova (ignore the errors that are around that, the Nova patch has some
extra error logs for visible debugging) -
http://logs.openstack.org/17/467417/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/1cccf3f/logs/screen-n-cpu.txt.gz#_May_24_00_38_16_446058

Dims, Doug, and cbg have been really responsive on reviews to make this
move forward quite quickly, much thanks to all of them.

My hope is that we can get this working with Nova, Neutron, Cinder,
Glance this cycle, and let it be a candidate cross project goal in the
future.

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list