Bug 2004149 - [ovn migration] fails during Sync neutron db with OVN db task
Summary: [ovn migration] fails during Sync neutron db with OVN db task
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 16.2 (Train on RHEL 8.4)
Assignee: Lucas Alvares Gomes
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On: 2003023 2003708
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-14 15:08 UTC by Lucas Alvares Gomes
Modified: 2021-12-23 17:49 UTC (History)
18 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20210601204830.el8ost.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1993080
Environment:
Last Closed: 2021-12-09 20:41:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1939704 0 None None None 2021-10-15 12:43:57 UTC
OpenStack gerrit 814181 0 None NEW [OVN] Execute OVN migration transactions independently 2021-10-25 08:42:53 UTC
Red Hat Issue Tracker OSP-9591 0 None None None 2021-11-10 15:15:25 UTC
Red Hat Product Errata RHBA-2021:5067 0 None None None 2021-12-09 20:41:46 UTC

Comment 23 Jakub Libosvar 2021-11-16 15:46:58 UTC
It likely fails because of https://bugzilla.redhat.com/show_bug.cgi?id=2023640 - the error is

2021-11-16 10:54:33.811 37 DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Running txn n=1 command(idx=0): PgAclAddCommand(entity=pg_e584d0e7_9903_4a61_a93a_5cd70d6362ac, direction=to-lport, priority=1002, match=outport == @pg_e584d0e7_9903_4a61_a93a_5cd70d6362ac && ip4 && tcp && tcp.dst == 22, action=allow-related, log=False, may_exist=False, severity=[], name=[], meter=None, external_ids={'neutron:security_group_rule_id': '0051a117-8290-4870-afc4-d68fae61b5c2'}) do_commit /usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:84
2021-11-16 10:54:33.812 37 ERROR ovsdbapp.backend.ovs_idl.transaction [req-1171756a-9ae2-46e3-bcc7-7c0a45a6e168 - - - - -] Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 128, in run
    txn.results.put(txn.do_commit())
  File "/usr/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 86, in do_commit
    command.run_idl(txn)
  File "/usr/lib/python3.6/site-packages/ovsdbapp/schema/ovn_northbound/commands.py", line 122, in run_idl
    self.direction, self.priority, self.match))
RuntimeError: ACL (to-lport, 1002, outport == @pg_e584d0e7_9903_4a61_a93a_5cd70d6362ac && ip4 && tcp && tcp.dst == 22) already exists

Comment 27 Roman Safronov 2021-11-23 11:54:17 UTC
Verified on RHOS-16.2-RHEL-8-20211119.n.2 with python3-networking-ovn-7.4.2-2.20210601204831.el8ost.13.noarch and python3-networking-ovn-migration-tool-7.4.2-2.20210601204831.el8ost.13.noarch
No db sync issues during ovs2ovn migration on all downstream CI jobs.

Comment 35 errata-xmlrpc 2021-12-09 20:41:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.1 (Train)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:5067


Note You need to log in before you can comment on or make changes to this bug.