yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76619
[Bug 1809943] Re: nova send None global_request_id on neutron calls
** Also affects: nova/queens
Importance: Undecided
Status: New
** Also affects: nova/rocky
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1809943
Title:
nova send None global_request_id on neutron calls
Status in OpenStack Compute (nova):
In Progress
Status in OpenStack Compute (nova) queens series:
New
Status in OpenStack Compute (nova) rocky series:
New
Bug description:
I config logging_context_format_string in cinder.conf, neutron.conf and nova.conf。
[default]
logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(global_request_id)s %(request_id)s %(user_identity)s] %(instance)s%(message)s
After boot a new instance, I get the request_id of the nova request
which is req-3acf5bf3-3fcb-40c7-b9f2-3a96947836cc.
[root@shyiq ~(keystone_admin)]# openstack server event list 96e0c916-0ca9-4b35-9663-3129944d7e81
+------------------------------------------+--------------------------------------+--------+----------------------------+
| Request ID | Server ID | Action | Start Time |
+------------------------------------------+--------------------------------------+--------+----------------------------+
| req-3acf5bf3-3fcb-40c7-b9f2-3a96947836cc | 96e0c916-0ca9-4b35-9663-3129944d7e81 | create | 2018-12-28T02:04:35.000000 |
+------------------------------------------+--------------------------------------+--------+----------------------------+
I can find req-3acf5bf3-3fcb-40c7-b9f2-3a96947836cc as
global_request_id in /var/log/nova/nova-placement-api.log and
/var/log/cinder/api.log, but None in /var/log/neutron/server.log。
Nova send request_id to glance, cinder and neutron in the following Change-Id
Ic5ee9161cd1174a2dd32b7f155194a7110cc5219
I16f9dda3c904c4a2578fa6a691fed646a41f6793
I866b8c6593c76c089da6bed55cf863ac556c9a8e
But since I41724a612a5f3eabd504f3eaa9d2f9d141ca3f69 nova send context.global_request_id which may be None on neutron calls.
stable/rocky and stable/queens also have this bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1809943/+subscriptions
References