-
Bug
-
Resolution: Done
-
Major
-
None
-
1
-
False
-
-
False
-
Not Set
-
1:22.1.1-18.0.20240710235928.ec50195
-
Not Set
-
Not Set
-
None
-
-
-
Important
Description of problem:
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance [req-b78617f7-7a4f-4b76-836e-16a49c85e3db - - - - -] Failed to update port fd11a4f2-ddc8-47ee-a929-58094f991e06: KeyError: 'binding:profile'
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance Traceback (most recent call last):
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 620, in check_port_has_address_scope
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance self._ovn_client.get_external_ids_from_port(
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 571, in get_external_ids_from_port
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance port_info = self._get_port_options(port)
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 321, in _get_port_options
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance bp_info = utils.validate_and_get_data_from_binding_profile(port)
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/common/ovn/utils.py", line 333, in validate_and_get_data_from_binding_profile
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance binding_profile = copy.deepcopy(port[constants.OVN_PORT_BINDING_PROFILE])
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance KeyError: 'binding:profile'
2024-06-04 15:44:57.785 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance [req-b78617f7-7a4f-4b76-836e-16a49c85e3db - - - - -] Failed to update port d3383efd-d49f-47b8-8723-40fa07b5b6c0: KeyError: 'binding:profile'
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance Traceback (most recent call last):
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py", line 620, in check_port_has_address_scope
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance self._ovn_client.get_external_ids_from_port(
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 571, in get_external_ids_from_port
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance port_info = self._get_port_options(port)
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py", line 321, in _get_port_options
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance bp_info = utils.validate_and_get_data_from_binding_profile(port)
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance File "/usr/lib/python3.9/site-packages/neutron/common/ovn/utils.py", line 333, in validate_and_get_data_from_binding_profile
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance binding_profile = copy.deepcopy(port[constants.OVN_PORT_BINDING_PROFILE])
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance KeyError: 'binding:profile'
2024-06-04 15:44:59.885 54 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.maintenance
Version-Release number of selected component (if applicable):
17.1.3
How reproducible:
Always
Steps to Reproduce:
1. Create a port
2. Wait for the maintenance task
3.
Actual results:
Expected results:
Additional info: