yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93051
[Bug 2030773] Re: OVN DB Sync always logs warning messages about updating all router ports
** Also affects: neutron (Ubuntu)
Importance: Undecided
Status: New
** Also affects: neutron (Ubuntu Lunar)
Importance: Undecided
Status: New
** Changed in: neutron (Ubuntu)
Status: New => Fix Released
** Changed in: neutron (Ubuntu Lunar)
Status: New => Triaged
** Changed in: neutron (Ubuntu Lunar)
Importance: Undecided => Medium
** Also affects: neutron (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: neutron (Ubuntu Jammy)
Status: New => Triaged
** Changed in: neutron (Ubuntu Jammy)
Importance: Undecided => Medium
** Also affects: cloud-archive
Importance: Undecided
Status: New
** Also affects: cloud-archive/antelope
Importance: Undecided
Status: New
** Also affects: cloud-archive/ussuri
Importance: Undecided
Status: New
** Also affects: cloud-archive/xena
Importance: Undecided
Status: New
** Also affects: cloud-archive/wallaby
Importance: Undecided
Status: New
** Also affects: cloud-archive/yoga
Importance: Undecided
Status: New
** Also affects: cloud-archive/zed
Importance: Undecided
Status: New
** Also affects: cloud-archive/victoria
Importance: Undecided
Status: New
** Changed in: cloud-archive
Status: New => Fix Released
** Also affects: neutron (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: neutron (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: neutron (Ubuntu Focal)
Status: New => Triaged
** Changed in: cloud-archive/antelope
Importance: Undecided => Medium
** Changed in: cloud-archive/antelope
Status: New => Triaged
** Changed in: cloud-archive/ussuri
Importance: Undecided => Medium
** Changed in: cloud-archive/ussuri
Status: New => Triaged
** Changed in: cloud-archive/victoria
Importance: Undecided => Medium
** Changed in: cloud-archive/victoria
Status: New => Triaged
** Changed in: cloud-archive/wallaby
Importance: Undecided => Medium
** Changed in: cloud-archive/wallaby
Status: New => Triaged
** Changed in: cloud-archive/xena
Importance: Undecided => Medium
** Changed in: cloud-archive/xena
Status: New => Triaged
** Changed in: cloud-archive/yoga
Importance: Undecided => Medium
** Changed in: cloud-archive/yoga
Status: New => Triaged
** Changed in: cloud-archive/zed
Importance: Undecided => Medium
** Changed in: cloud-archive/zed
Status: New => Triaged
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2030773
Title:
OVN DB Sync always logs warning messages about updating all router
ports
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive antelope series:
Triaged
Status in Ubuntu Cloud Archive ussuri series:
Triaged
Status in Ubuntu Cloud Archive victoria series:
Triaged
Status in Ubuntu Cloud Archive wallaby series:
Triaged
Status in Ubuntu Cloud Archive xena series:
Triaged
Status in Ubuntu Cloud Archive yoga series:
Triaged
Status in Ubuntu Cloud Archive zed series:
Triaged
Status in neutron:
Fix Released
Status in neutron package in Ubuntu:
Fix Released
Status in neutron source package in Focal:
Triaged
Status in neutron source package in Jammy:
Triaged
Status in neutron source package in Lunar:
Triaged
Bug description:
Reported at: https://bugzilla.redhat.com/show_bug.cgi?id=2225156
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_lrport_list.append(db_router_ports[lrport])
</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_ovn.ovn_db_sync [req-1081a8a6-82dd-431c-a2ab-f58741dc1677 - - - - -] Router Port port_id=f164c0f1-8ac8-4c45-bba9-8c723a30c701 needs to be updated for networks changed
[1]
https://github.com/openstack/neutron/blob/c453813d0664259c4da0d132f224be2eebe70072/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py#L553-L557
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2030773/+subscriptions