Description of problem: ovn-northd is not syncing the address sets from NB DB to SB DB in some cases. Regression after the address_set I-P was added. Steps to reproduce as_uuid=$(ovn-nbctl --wait=sb create address-set name=as1 addresses=10.16.0.47/4,10.16.3.48/32) ovn-sbctl list address_set ovn-nbctl --wait=sb remove address_set $as_uuid addresses 10.16.0.47/4 ovn-sbctl list address_set Issue reported upstream at : https://mail.openvswitch.org/pipermail/ovs-discuss/2023-May/052426.html Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Giving this "high"priority because it is a regression.
Patch posted u/s: https://patchwork.ozlabs.org/project/ovn/patch/20230523080910.205321-1-amusil@redhat.com/
ovn22.12 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2216314 ovn23.03 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2216318 ovn23.03 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2216319 ovn23.06 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2216322 ovn23.06 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2216323
with script in https://bugzilla.redhat.com/show_bug.cgi?id=2216314#c4, reproduced on ovn22.12-22.12.0-79.el8: + ovn-sbctl list address_set _uuid : 7f67a66d-929d-4ae4-8879-da0a5b17b669 addresses : ["1e:d4:30:56:c4:1a"] name : svc_monitor_mac _uuid : 56393b53-f0cd-435b-aa3b-2acf5fd69fbb addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 + ovn-nbctl --wait=sb remove address_set a7191088-9ac9-4178-bc2c-347cf744fbaf addresses 10.16.0.47/4 + ovn-sbctl list address_set _uuid : 7f67a66d-929d-4ae4-8879-da0a5b17b669 addresses : ["1e:d4:30:56:c4:1a"] name : svc_monitor_mac _uuid : 56393b53-f0cd-435b-aa3b-2acf5fd69fbb addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 [root@kvm-01-guest06 bz2196885]# rpm -qa | grep -E "openvswitch2.17|ovn22.12" openvswitch2.17-2.17.0-105.el8fdp.x86_64 ovn22.12-22.12.0-79.el8fdp.x86_64 ovn22.12-host-22.12.0-79.el8fdp.x86_64 ovn22.12-central-22.12.0-79.el8fdp.x86_64 Verified on ovn22.12-22.12.0-94.el8: + ovn-sbctl list address_set _uuid : a33fc315-35ec-40d1-8eae-f6955b2d2dfc addresses : ["7a:a8:83:38:1d:39"] name : svc_monitor_mac _uuid : a8ca22a5-5ddb-43b0-b86b-cf15c92f5c88 addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 + ovn-nbctl --wait=sb remove address_set ee6f51b0-c04f-4feb-8b48-4b07753862b7 addresses 10.16.0.47/4 + ovn-sbctl list address_set _uuid : a33fc315-35ec-40d1-8eae-f6955b2d2dfc addresses : ["7a:a8:83:38:1d:39"] name : svc_monitor_mac _uuid : a8ca22a5-5ddb-43b0-b86b-cf15c92f5c88 addresses : ["10.16.3.48/32"] name : as1 [root@kvm-01-guest06 bz2196885]# rpm -qa | grep -E "openvswitch2.17|ovn22.12" openvswitch2.17-2.17.0-105.el8fdp.x86_64 ovn22.12-22.12.0-94.el8fdp.x86_64 ovn22.12-central-22.12.0-94.el8fdp.x86_64 ovn22.12-host-22.12.0-94.el8fdp.x86_64
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 (ovn22.12 bug fix and enhancement update), 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-2023:3992