Neutron 18.6.0 - Wallaby on Ubuntu 20.04, neutron-dhcp-agent RPC unusually slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Wallaby |
Fix Released
|
High
|
Unassigned | ||
neutron |
Fix Committed
|
Undecided
|
Rodolfo Alonso | ||
neutron (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi!
We're running Openstack Wallaby on Ubuntu 20.04, 3 high-performance infra nodes with a RabbitMQ cluster. I updated Neutron components to version 18.6.0, which recently became available in the cloud repository (http://
Install: libunbound8:amd64 (1.9.4-2ubuntu1.4, automatic), openvswitch-
Upgrade: neutron-
Installed Neutron packages:
ii neutron-common 2:18.6.
ii neutron-dhcp-agent 2:18.6.
Firewall-
ii neutron-l3-agent 2:18.6.
ii neutron-
ii neutron-
ii neutron-plugin-ml2 2:18.6.
ii neutron-server 2:18.6.
ii python3-neutron 2:18.6.
ii python3-neutron-lib 2.10.1-
ii python3-
Normally this would be an easy update, but this time neutron-dhcp-agent doesn't work properly:
2023-03-14 05:44:27.572 2534501 INFO neutron.
2023-03-14 05:44:38.868 2534501 ERROR neutron_lib.rpc [req-cb1dc604-
2023-03-14 05:44:38.871 2534501 WARNING neutron_lib.rpc [req-cb1dc604-
2023-03-14 05:45:34.244 2534501 ERROR neutron.
2023-03-14 05:47:10.876 2534501 INFO oslo_messaging.
2023-03-14 05:47:34.353 2534501 ERROR neutron_lib.rpc [req-607a9252-
2023-03-14 05:47:34.354 2534501 WARNING neutron_lib.rpc [req-607a9252-
2023-03-14 05:47:46.681 2534501 INFO oslo_messaging.
2023-03-14 05:48:01.086 2534501 ERROR neutron.
2023-03-14 05:49:45.035 2534501 INFO neutron.
While neutron-dhcp-agent is waiting, neutron-server log gets filled up with:
neutron-
...
neutron-
This repeats for each port of each network neutron-dhcp-agent needs to configure.
Each subsequent configuration for each network takes about 1-2 minutes, depending on the network size. With earlier Neutron versions the whole process of configuring all networks would finish in under a minute, i.e. DHCP configuration per port (and network) is several orders of magnitude slower than it should be. Once neutron-dhcp-agent finishes synchronization, it seems to work without issues although there aren't that many changes in our cloud to tell whether it's fast or slow, individual port updates seem to happen quickly.
All other services are working well, RabbitMQ cluster is working well, infra nodes are not overloaded and there are no apparent issues other than this one with Neutron, thus I am inclined to think that the issue is specific to version 18.6.0 of neutron-dhcp-agent or neutron-server.
I would appreciate any advice!
Best regards,
Zakhar
summary: |
- Wallaby on Ubuntu 20.04, Neutron 18.6.0 neutron-dhcp-agent RPC unusually - slow + Neutron 18.6.0 - Wallaby on Ubuntu 20.04, neutron-dhcp-agent RPC + unusually slow |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → Fix Committed |
Hello:
The issue reported was fixed in [1]. The patch introducing this active wait for all ports [2] is in Neutron 18.6.0 but the patch fixing this issue [3] is still not released.
The next release will be the EOL one, but that will be in more than one year. If needed, you can manually patch this version or use 18.5.0. Remember that Wallaby is in extended maintenance mode: we still push patches (like [3]), but no new releases will be delivered until the EOL one.
Regards.
[1]https:/ /bugs.launchpad .net/neutron/ +bug/1991092 /review. opendev. org/c/openstack /neutron/ +/857569 /review. opendev. org/c/openstack /neutron/ +/863620
[2]https:/
[3]https:/