-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
?
-
?
-
None
-
-
-
Moderate
Steps to reproduce the problem:
- Deploy openstack-operators (make openstack)
- Deploy openstack control plane (make openstack_deploy)
- Create and deploy edpm compute node (make edpm_compute; make edpm_deploy)
- All works fine in ovn_metadata_agent,
- Clean edpm compute node (make edpm_deploy_cleanupl make edpm_compute_cleanup)
- Deploy edpm compute node again (make edpm_compute; make edpm_deploy)
- In the ovn_metadata_agent on compute node there will be error:
2023-10-17 18:04:13.419 68611 DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Running txn n=1 command(idx=0): DbAddCommand(_result=None, table=Chassis_Private, record=eb421307-4892-4dad-97d4-4539bbba29f5, column=external_ids, values=({'neutron:ovn-metadata-id': '3424bc7b-f32c-5959-9c11-9ce13337a2a5'},)) do_commit /usr/
lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:89
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.transaction [-] Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 118, in run
txn.results.put(txn.do_commit())
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 92, in do_commit
command.run_idl(txn)
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 180, in run_idl
record = self.api.lookup(self.table, self.record)
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/_init_.py", line 183, in lookup
return self._lookup(table, record)
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/_init_.py", line 234, in _lookup
row = idlutils.row_by_value(self, rl.table, rl.column, record)
File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value
raise RowNotFound(table=table, col=column, match=match)
ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=eb421307-4892-4dad-97d4-4539bbba29f5
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command [-] Error executing command (DbAddCommand): ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=eb421307-4892-4dad-97d4-4539bbba29f5
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command Traceback (most recent call last):
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 50, in execute
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command t.add(self)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib64/python3.9/contextlib.py", line 126, in _exit_
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command next(self.gen)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/api.py", line 120, in transaction
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command del self._nested_txns_map[cur_thread_id]
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/api.py", line 71, in _exit_
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command self.result = self.commit()
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 64, in commit
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command raise result.ex
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 118, in run
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command txn.results.put(txn.do_commit())
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 92, in do_commit
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command command.run_idl(txn)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 180, in run_idl
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command record = self.api.lookup(self.table, self.record)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/_init_.py", line 183, in lookup
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command return self._lookup(table, record)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/_init_.py", line 234, in _lookup
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command row = idlutils.row_by_value(self, rl.table, rl.column, record)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command File "/usr/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command raise RowNotFound(table=table, col=column, match=match)
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=eb421307-4892-4dad-97d4-4539bbba29f5
2023-10-17 18:04:13.420 68611 ERROR ovsdbapp.backend.ovs_idl.command