OVN DB Sync always logs warning messages about updating all router ports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Antelope |
Fix Released
|
Medium
|
Unassigned | ||
Ussuri |
Fix Released
|
Medium
|
Unassigned | ||
Victoria |
Fix Released
|
Medium
|
Unassigned | ||
Wallaby |
Fix Committed
|
Medium
|
Unassigned | ||
Xena |
Fix Released
|
Medium
|
Unassigned | ||
Yoga |
Fix Released
|
Medium
|
Unassigned | ||
Zed |
Fix Released
|
Medium
|
Unassigned | ||
neutron |
Fix Released
|
Medium
|
Lucas Alvares Gomes | ||
neutron (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Lunar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Reported at: https:/
The ovn-db-sync script does not check if the router ports are actually out-of-sync before adding it to the list of ports that needs to be updated, this can create red herring problems by introducing an irrelevant piece of information [0] in the sync report (specially when ran in "log" mode) making the user think that the databases might be out-of-sync even when it is not.
Looking at the code [1] we can see that the comment talks about checking the networks and ipv6_ra_configs changes but it does neither; instead, it adds every router port to the list of ports that needs to be updated.
<snipet>
# We dont have to check for the networks and
# ipv6_ra_configs values. Lets add it to the
# update_lrport_list. If they are in sync, then
# update_router_port will be a no-op.
update_
</snipet>
This LP is about changing this behavior and checking for such differences in the router ports before marking them to be updated.
[0]
2023-07-24 11:46:31.391 952358 WARNING networking_
===== Ubuntu SRU Details =====
[Impact]
See bug description above.
[Test Case]
Deploy openstack with OVN and multiple routers. Run the ovn-db-sync script and ensure router ports that are not out of sync are not marked to be updated.
[Where problems could occur]
If the _is_router_
Changed in neutron (Ubuntu): | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Lunar): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in neutron (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Focal): | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
description: | updated |
description: | updated |
Changed in neutron (Ubuntu Lunar): | |
status: | Triaged → Fix Released |
Changed in neutron (Ubuntu Jammy): | |
status: | Triaged → Fix Released |
tags: | added: verification-done |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/890799
Review: https:/