Comment 36 for bug 1988069

Revision history for this message
Andy Gomez (agomerz) wrote :

I have just run into this issue running Wallaby though the MTU on a network was set to 128.

This prevented any new ports on other networks sharing this DHCP agent from being put into ACTIVE status.
The ports would be stuck in BUILD status. Until The MTU of the offending network was increased.

openstack network show 2148e8d4-5c5f-4c4e-aa52-9373d7aaa5cc
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | use1-prod0-os-1a, use1-prod0-os-1b |
| created_at | 2023-08-28T11:28:30Z |
| description | |
| dns_domain | |
| id | 2148e8d4-5c5f-4c4e-aa52-9373d7aaa5cc |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | None |
| is_vlan_transparent | None |
| mtu | 128 |
| name | cracow-rly-test |
| port_security_enabled | True |
| project_id | af686ff819454f5daef0c4d4262c3280 |
| provider:network_type | vxlan |
| provider:physical_network | None |
| provider:segmentation_id | 4209 |
| qos_policy_id | None |
| revision_number | 2 |
| router:external | Internal |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | e1df7e75-a81c-439f-acb0-47504509b7be |
| tags | |
| tenant_id | af686ff819454f5daef0c4d4262c3280 |
| updated_at | 2023-08-28T11:28:31Z |
+---------------------------+--------------------------------------+

openstack port list --network 58dc3b69-2c46-4f6b-ae03-a7de7aeb709b
+--------------------------------------+----------+-------------------+----------------------------------------------------------------------------+--------+
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+--------------------------------------+----------+-------------------+----------------------------------------------------------------------------+--------+
| 20f950e2-7ce3-402e-a209-27f9b25dd7f3 | | fa:16:3e:fc:76:74 | ip_address='10.32.0.100', subnet_id='b7ef03bc-63b4-4408-a4a2-7dd30367476a' | ACTIVE |
| 47dabc95-7102-4140-bc62-f23511e208fd | agtest-1 | fa:16:3e:28:25:28 | ip_address='10.32.0.188', subnet_id='b7ef03bc-63b4-4408-a4a2-7dd30367476a' | BUILD |
| c541b728-b948-427c-baa9-cad085fa430c | | fa:16:3e:63:ee:8d | ip_address='10.32.0.101', subnet_id='b7ef03bc-63b4-4408-a4a2-7dd30367476a' | ACTIVE |
| e07e5b4f-b833-4eb3-be05-2a73ffc07e74 | | fa:16:3e:b9:47:14 | ip_address='10.32.0.1', subnet_id='b7ef03bc-63b4-4408-a4a2-7dd30367476a' | BUILD |
+--------------------------------------+----------+-------------------+----------------------------------------------------------------------------+--------+

 2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent [-] Unable to enable dhcp for 2148e8d4-5c5f-4c4e-aa52-9373d7aaa5cc.: neutron.privileged.agent.linux.ip_lib.InvalidArgument: Invalid parameter/value used on interface ns-a949f5f2-c2, namespace qdhcp-2148e8d4-5c5f-4c4e-aa52-9373d7aaa5cc.
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/dhcp/agent.py", line 227, in call_driver
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent rv = getattr(driver, action)(**action_kwargs)
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/dhcp.py", line 266, in enable
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent common_utils.wait_until_true(self._enable, timeout=300)
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/common/utils.py", line 708, in wait_until_true
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent while not predicate():
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/dhcp.py", line 278, in _enable
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent interface_name = self.device_manager.setup(self.network)
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/dhcp.py", line 1770, in setup
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent self.driver.init_l3(interface_name, ip_cidrs,
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/interface.py", line 153, in init_l3
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent device.addr.add(ip_cidr)
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/ip_lib.py", line 536, in add
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent add_ip_address(cidr, self.name, self._parent.namespace, scope,
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/neutron/agent/linux/ip_lib.py", line 821, in add_ip_address
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent privileged.add_ip_address(
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/oslo_privsep/priv_context.py", line 247, in _wrap
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent return self.channel.remote_call(name, args, kwargs)
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent File "/openstack/venvs/neutron-23.4.3/lib/python3.8/site-packages/oslo_privsep/daemon.py", line 224, in remote_call
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent raise exc_type(*result[2])
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent neutron.privileged.agent.linux.ip_lib.InvalidArgument: Invalid parameter/value used on interface ns-a949f5f2-c2, namespace qdhcp-2148e8d4-5c5f-4c4e-aa52-9373d7aaa5cc.
                                                                     2023-09-11 17:16:31.356 2419003 ERROR neutron.agent.dhcp.agent