[ML2/OVN] After upgrading from Xena to Yoga neutron-dhcp-agent is not working for Baremetals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrading from Xena to Yoga dhcp stopped working for Baremetal instances.
neutron-dhcp-agent is in a weird loop:
https:/
neutron-server logs :
https:/
agents are reporting up and running:
[stack@server .ssh]$ openstack network agent list | grep -i dhcp
| 02cecb18-
| 2768ae2b-
| 8ed34d8b-
description: | updated |
After enabling debug in neutron-dhcp-agent: common. utils [req-1d32d76b- a61e-47cd- 8cea-7abfc06e14 87 - - - - -] Calling throttled function clear wrapper /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron/ common/ utils.py: 111 agent.dhcp. agent [req-1d32d76b- a61e-47cd- 8cea-7abfc06e14 87 - - - - -] resync (a56b71cc- 2220-479d- 97a5-082b722e9e 4c): ['Remote error: NetworkNotFound Network a56b71cc- 2220-479d- 97a5-082b722e9e 4c could not be found.\ n[\'Traceback (most recent call last):\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_messaging/ rpc/server. py", line 241, in inner\\n return func(*args, **kwargs)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_messaging/ rpc/server. py", line 241, in inner\\n return func(*args, **kwargs)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron_ lib/db/ api.py" , line 139, in wrapped\\n setattr(e, \\\'_RETRY_ EXCEEDED\ \\', True)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 227, in __exit__\\n self.force_ reraise( )\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 200, in force_reraise\\n raise self.value\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron_ lib/db/ api.py" , line 135, in wrapped\\n return f(*args, **kwargs)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_db/ api.py" , line 154, in wrapper\\n ectxt.value = e.inner_exc\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 227, in __exit__\\n self.force_ reraise( )\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 200, in force_reraise\\n raise self.value\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_db/ api.py" , line 142, in wrapper\\n return f(*args, **kwargs)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron_ lib/db/ api.py" , line 183, in wrapped\\n LOG.debug("Retry wrapper got retriable exception: %s", e)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 227, in __exit__\\n self.force_ reraise( )\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_utils/ excutils. py", line 200, in force_reraise\\n raise self.value\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron_ lib/db/ api.py" , line 179, in wrapped\\n return f(*dup_args, **dup_kwargs)\\n\', \' File "/var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron/ api/rpc/ handlers/ dhcp_rpc. py", line 310, in update_dhcp_port\\n raise exceptions. NetworkNotFound (net_id= network_ id)\\n\ ', \'neutron_ lib.exceptions. NetworkNotFound : Network a56b71cc- 2220-479d- 97a5-082b722e9e 4c could not be found.\\n\'].'] _periodic_ resync_ helper /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ neutron/ agent/dhcp/ agent.py: 364
2022-11-02 09:43:39.106 7 DEBUG neutron.
2022-11-02 09:43:39.106 7 DEBUG neutron.