Ovs-agent can process the ports in large sets, then all
of these ports will have to update DB status or attributes.
But neutron server is centralized. It may have to do
something else, or the database processing can be also
time-consuming. Because of these, it sometimes returns
the RPC timeout exception to ovs-agent. And a fullsync
will be triggered in next rpc loop. The restart time is
becoming longer and longer.
Adds a default step to update the port to reduce
the probability of RPC timeout.
Reviewed: https:/ /review. opendev. org/649691 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fa16540d2dd 80f836c8fa2a424 717899ac64af60
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit fa16540d2dd80f8 36c8fa2a4247178 99ac64af60
Author: LIU Yulong <email address hidden>
Date: Fri Apr 12 18:47:24 2019 +0300
Do not call update_device_list in large sets
Ovs-agent can process the ports in large sets, then all
of these ports will have to update DB status or attributes.
But neutron server is centralized. It may have to do
something else, or the database processing can be also
time-consuming. Because of these, it sometimes returns
the RPC timeout exception to ovs-agent. And a fullsync
will be triggered in next rpc loop. The restart time is
becoming longer and longer.
Adds a default step to update the port to reduce
the probability of RPC timeout.
Related-Bug: #1813703
Related-Bug: #1813704
Related-Bug: #1813706
Related-Bug: #1813707
Conflicts: tests/unit/ plugins/ ml2/test_ rpc.py
neutron/
Change-Id: Ie37f4a4869969e 235ce16b73cdfcb dc98626823e de354599e26c49b f9e17e8bef) 1348fa282790862 2e3a8c7dfb) 639f8b87266ccfc 9391ce6135)
(cherry picked from commit 8408af4f173a0ff
(cherry picked from commit d7d30ea950844f1
(cherry picked from commit 5d705468de1e495