[RPC] digging RPC timeout for client and server

Bug #1847747 reported by LIU Yulong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Low
Unassigned
oslo.messaging
Fix Released
Undecided
LIU Yulong

Bug Description

RPC timeout can be found frequently, but we have no statistical data for it. A simple log can help. Since all the projects are using oslo.messaging as midlware between services and message queue, we can add a log in it, something like this, a local test:

2019-10-11 19:23:05.703 40774 INFO oslo_messaging.rpc.server [-] Receive incoming message with id cf4ab75b89e64458bc989c709add43cf and method: sync_routers.
2019-10-11 19:29:19.781 40774 INFO oslo_messaging.rpc.server:188 [None req-e33a11a2-64cd-4aea-b801-7689996a8ace - - - - -] Replied message with id cf4ab75b89e64458bc989c709add43cf and method: sync_routers. Time elapsed: 374.078

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.opendev.org/688147

Changed in oslo.messaging:
assignee: nobody → LIU Yulong (dragon889)
status: New → In Progress
Revision history for this message
LIU Yulong (dragon889) wrote :
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.opendev.org/688147
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=b104f254ab43d5e2589e845eff84b1bd096cb42d
Submitter: Zuul
Branch: master

commit b104f254ab43d5e2589e845eff84b1bd096cb42d
Author: LIU Yulong <email address hidden>
Date: Fri Oct 11 23:22:23 2019 +0800

    Add RPC incoming and reply log

    Typically a simple log will not narrow down the
    performance, but give us more information about
    the service status.

    Change-Id: I51c8f2743dd39cccd3d1d021d3c50dc09f70cd97
    Closes-Bug: #1847747

Changed in oslo.messaging:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.messaging 10.4.0

This issue was fixed in the openstack/oslo.messaging 10.4.0 release.

Revision history for this message
Brian Haley (brian-haley) wrote :

Hi Liu - is there a neutron bug here? Or should this be closed? Thanks

LIU Yulong (dragon889)
Changed in neutron:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.