The request ID from the API request getting re-used when the periodic task runs is a separate and yes very confusing serviceability issue. I thought I had reported a bug for this but can't find it. This change is related though:
https://review.opendev.org/#/c/524306/
Anyway, I think that's a red herring and has to do with the request ID being stored in a global thread context:
https://opendev.org/openstack/oslo.context/src/tag/2.22.1/oslo_context/context.py#L40
The request ID from the API request getting re-used when the periodic task runs is a separate and yes very confusing serviceability issue. I thought I had reported a bug for this but can't find it. This change is related though:
https:/ /review. opendev. org/#/c/ 524306/
Anyway, I think that's a red herring and has to do with the request ID being stored in a global thread context:
https:/ /opendev. org/openstack/ oslo.context/ src/tag/ 2.22.1/ oslo_context/ context. py#L40