Reviewed: https://review.opendev.org/661522 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=00eb6f26f6165a00d647d2bf35fb7996534cfc09 Submitter: Zuul Branch: master
commit 00eb6f26f6165a00d647d2bf35fb7996534cfc09 Author: shenjiatong <yshxxsjt...@gmail.com> Date: Mon May 27 11:26:49 2019 +0800 improve dvr port update under large scale deployment update port may takes an excessive number of seconds to complete if dvr routers are running on more than 100 compute nodes. This patch tries to save some time by removing unnecessary calls inside looping through hosts. Change-Id: Ide740e0c5c43c2d2b842460a37c8ce125da12b28 Closes-Bug: #1830456 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1830456 Title: dvr router slow response during port update Status in neutron: Fix Released Bug description: We are having a distributed router which used by hundreds of virtual machines scattered across around 150 compute nodes. When nova sends port update request to neutron, it will generally taking nearly 4 min to complete. Neutron version is openstack Queens 12.0.5. I found the following log entries printed by neutron-server, 2019-05-25 05:24:16,285.285 11834 INFO neutron.wsgi [req-xxxx xxxxx - default default] x.x.x.x "PUT /v2.0/ports/8c252d91-741a-4627-9600-916d1da5178f HTTP/1.1" status: 200 len: 0 time: 233.6103470 You can see it takes around 240 seconds to finish request. Right now I am suspecting this code snippet https://github.com/openstack/neutron/blob/de59a21754747335d0d9d26082c7f0df105a30c9/neutron/db/l3_dvrscheduler_db.py#L139 leads to the issue. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1830456/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp