Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2216323

Summary: ovn-northd: Address set sync from NB DB to SB DB is not working when address has a prefix
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn23.06Assignee: Ales Musil <amusil>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: medium Docs Contact:
Priority: high    
Version: RHEL 9.0CC: amusil, ctrautma, jiji, mmichels
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn23.06-23.06.0-13.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-24 11:17:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OVN Bot 2023-06-20 19:48:59 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2196885

Comment 3 Jianlin Shi 2023-12-05 02:11:43 UTC
with reproducer in https://bugzilla.redhat.com/show_bug.cgi?id=2216314#c4

Verified on ovn23.06-23.06.1-60.el9:

[root@kvm-03-guest20 bz2216323]# bash -x rep.sh 
+ systemctl start ovn-northd
++ ovn-nbctl --wait=sb create address-set name=as1 addresses=10.16.0.47/4,10.16.3.48/32
+ as_uuid=fd46089c-ae0a-4e83-9aa7-6a730e0db347
+ ovn-sbctl list address_set
_uuid               : ca187449-9f89-4da0-a515-8c09a1de68da
addresses           : ["10.16.0.47/4", "10.16.3.48/32"]
name                : as1

_uuid               : 9bf0325d-3e8f-43b0-a311-1e4bd7a9b80d
addresses           : ["c6:03:7a:8a:44:1e"]
name                : svc_monitor_mac
+ ovn-nbctl --wait=sb remove address_set fd46089c-ae0a-4e83-9aa7-6a730e0db347 addresses 10.16.0.47/4
+ ovn-sbctl list address_set
_uuid               : ca187449-9f89-4da0-a515-8c09a1de68da
addresses           : ["10.16.3.48/32"]
name                : as1

<=== address set is deleted

_uuid               : 9bf0325d-3e8f-43b0-a311-1e4bd7a9b80d
addresses           : ["c6:03:7a:8a:44:1e"]
name                : svc_monitor_mac
[root@kvm-03-guest20 bz2216323]# rpm -qa | grep -E "openvswitch3.1|ovn23.06"
openvswitch3.1-3.1.0-70.el9fdp.x86_64
ovn23.06-23.06.1-60.el9fdp.x86_64
ovn23.06-central-23.06.1-60.el9fdp.x86_64
ovn23.06-host-23.06.1-60.el9fdp.x86_64

Comment 5 errata-xmlrpc 2024-01-24 11:17:04 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 (ovn23.06 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-2024:0391