Similar to https://bugs.launchpad.net/cinder/+bug/1743461, currently all log entries will have the request ID of the latest request that was received in the cinder-volume service.
Example:
During and after volume creation, the request id related to periodic tasks is changed:
2018-05-29 03:52:17.790 2561 DEBUG cinder.volume.manager [req-daccffb6-0e26-4923-9433-cdfe3ab716a8 9de813eb53ba4ac982a37df462783d5d 3ce4f026aed1411baa6e8013b13f9257 - - -] Task 'cinder.volume.flows.manager.create_volume.ExtractVolumeRefTask;volume:create' (3290c197-bcc9-4d8e-8bae-fdbb69fc3258) transitioned into state 'RUNNING' from state 'PENDING' _task_receiver /usr/lib/python2.7/site-packages/taskflow/listeners/logging.py:194
...
2018-05-29 03:52:18.868 2561 INFO cinder.volume.manager [req-daccffb6-0e26-4923-9433-cdfe3ab716a8 9de813eb53ba4ac982a37df462783d5d 3ce4f026aed1411baa6e8013b13f9257 - - -] Created volume successfully.
2018-05-29 03:53:12.079 2561 DEBUG oslo_service.periodic_task [req-daccffb6-0e26-4923-9433-cdfe3ab716a8 9de813eb53ba4ac982a37df462783d5d 3ce4f026aed1411baa6e8013b13f9257 - - -] Running periodic task VolumeManager._publish_service_capabilities run_periodic_tasks /usr/lib/python2.7/site-packages/oslo_service/periodic_task.py:215
2018-05-29 03:53:12.079 2561 DEBUG cinder.manager [req-daccffb6-0e26-4923-9433-cdfe3ab716a8 9de813eb53ba4ac982a37df462783d5d 3ce4f026aed1411baa6e8013b13f9257 - - -] Notifying Schedulers of capabilities ... _publish_service_capabilities /usr/lib/python2.7/site-packages/cinder/manager.py:189
cinder version: cinder- 12.0.0- 1.el7.noarch cinder- 12.0.0- 1.el7.noarch
python-
openstack-