[Openstack] Link Openstack Request-ids

Takashi Natsume natsume.takashi at lab.ntt.co.jp
Thu Dec 8 23:54:42 UTC 2016


Hello Phani.

On 2016/12/07 0:35, Phani Pawan Padmanabharao wrote:
> Is there a way to link all the Openstack-request-ids currently?
>
> For example during a nova boot command execution - All the components involved in the nova-boot process create a new request-id within themselves.
> Is there a way to get all the request-ids after the operation or during the operation ?
> Basically I want to have the flow of the command execution (If I can link the request-ids then I thought I would get the flow).

When nova calls another components(cinder, glance, neutron),
the callee's request ID can be output to logs with caller(nova)'s 
request ID.
So you can link them.

The function has been implemented by the following blueprints and RFE.

* Log request_id for each api call(python-cinderclient)
https://blueprints.launchpad.net/python-cinderclient/+spec/log-request-id

* Log request_id for each api call(python-glanceclient)
https://blueprints.launchpad.net/python-glanceclient/+spec/log-request-id

* Log request_id for each api call(python-neutronclient)
https://bugs.launchpad.net/python-neutronclient/+bug/1604306

* Log request_id for each api call(python-novaclient)
https://blueprints.launchpad.net/python-novaclient/+spec/log-request-id

Regards,
Takashi Natsume
NTT Software Innovation Center
E-mail: natsume.takashi at lab.ntt.co.jp






More information about the Openstack mailing list