OVN revision_number infinite update loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
New
|
Undecided
|
Unassigned | ||
Ussuri |
New
|
Undecided
|
Unassigned | ||
Victoria |
New
|
Undecided
|
Unassigned | ||
Wallaby |
Fix Released
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
High
|
Rodolfo Alonso | ||
neutron (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After the change described in https:/
2022-05-13 09:30:56.318 25 ... Successfully bumped revision number for resource 8af189bd-
2022-05-13 09:30:56.366 25 ... Running txn n=1 command(idx=0): CheckRevisionNu
2022-05-13 09:30:56.367 25 ... Running txn n=1 command(idx=1): SetLSwitchPortC
2022-05-13 09:30:56.367 25 ... Running txn n=1 command(idx=2): PgDelPortComman
2022-05-13 09:30:56.467 25 ... Successfully bumped revision number for resource 8af189bd-
2022-05-13 09:30:56.880 25 ... Running txn n=1 command(idx=0): CheckRevisionNu
2022-05-13 09:30:56.881 25 ... Running txn n=1 command(idx=1): UpdateLRouterPo
2022-05-13 09:30:56.881 25 ... Running txn n=1 command(idx=2): SetLRouterPortI
2022-05-13 09:30:56.984 25 ... Successfully bumped revision number for resource 8af189bd-
2022-05-13 09:30:57.057 25 ... Running txn n=1 command(idx=0): CheckRevisionNu
2022-05-13 09:30:57.057 25 ... Running txn n=1 command(idx=1): SetLSwitchPortC
2022-05-13 09:30:57.058 25 ... Running txn n=1 command(idx=2): PgDelPortComman
2022-05-13 09:30:57.159 25 ... Successfully bumped revision number for resource 8af189bd-
2022-05-13 09:30:57.523 25 ... Running txn n=1 command(idx=0): CheckRevisionNu
2022-05-13 09:30:57.523 25 ... Running txn n=1 command(idx=1): UpdateLRouterPo
2022-05-13 09:30:57.524 25 ... Running txn n=1 command(idx=2): SetLRouterPortI
2022-05-13 09:30:57.627 25 ... Successfully bumped revision number for resource 8af189bd-
2022-05-13 09:30:57.674 25 ... Running txn n=1 command(idx=0): CheckRevisionNu
2022-05-13 09:30:57.674 25 ... Running txn n=1 command(idx=1): SetLSwitchPortC
2022-05-13 09:30:57.675 25 ... Running txn n=1 command(idx=2): PgDelPortComman
2022-05-13 09:30:57.765 25 ... Successfully bumped revision number for resource 8af189bd-
(full version here: https:/
In our lab environment we have confirmed that the problem is gone after mentioned change is rolled back.
tags: | added: ovn |
Changed in neutron (Ubuntu Jammy): | |
status: | New → Fix Released |
Hello Renat:
I've installed OVN 22.03.
ovn-nbctl 22.03.90
Open vSwitch Library 2.17.90
(NB) DB Schema 6.3.0
(SB) DB Schema 20.22.0
I don't see this loop in my environment. I've create a router and then added a subnet to this router. The NB logical_router_port is [1] and the DB port_binding related register [2]. I see how the "external_ids" of both registers match (thus I guess the OVN patch is in place).
I've tried updating the LRP changing the name, for example. I see how the revision number is bumped in both "external_ids" but I don't see any loop in the Neutron code.
Do you have a reproducer?
Regards.
[1]https:/ /paste. opendev. org/show/ bAQhY4HJFvk469D J8pr4/ /paste. opendev. org/show/ bAqJLFWnxztxKcG iRjxe/
[2]https:/