Bug 2216314
| 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: | ovn22.12 | Assignee: | Ales Musil <amusil> |
| Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | RHEL 9.0 | CC: | amusil, ctrautma, jiji, mmichels |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn22.12-22.12.0-94.el9fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-06 19:17:43 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:30 UTC
tested with following script: systemctl start ovn-northd 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 reproduced on ovn22.12-22.12.0-79.el9: [root@kvm-01-guest09 bz2196885]# 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=0072e14a-b5a7-4cae-b2e6-9748ee5c6a03 + ovn-sbctl list address_set _uuid : 51d28a85-1c55-4982-8137-5ef470aadf2b addresses : ["ea:4b:3e:6a:48:73"] name : svc_monitor_mac _uuid : 3ab1bd62-2180-4782-9f9b-1394bf743b39 addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 + ovn-nbctl --wait=sb remove address_set 0072e14a-b5a7-4cae-b2e6-9748ee5c6a03 addresses 10.16.0.47/4 + ovn-sbctl list address_set _uuid : 51d28a85-1c55-4982-8137-5ef470aadf2b addresses : ["ea:4b:3e:6a:48:73"] name : svc_monitor_mac _uuid : 3ab1bd62-2180-4782-9f9b-1394bf743b39 addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 <=== address set is not deleted [root@kvm-01-guest09 bz2196885]# rpm -qa | grep -E "openvswitch2.17|ovn22.12" openvswitch2.17-2.17.0-92.el9fdp.x86_64 ovn22.12-22.12.0-79.el9fdp.x86_64 ovn22.12-central-22.12.0-79.el9fdp.x86_64 ovn22.12-host-22.12.0-79.el9fdp.x86_64 Verified on ovn22.12-22.12.0-94.el9: [root@kvm-01-guest09 bz2196885]# 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=b65cfdaf-d55e-404d-9114-c0db5dd8a59e + ovn-sbctl list address_set _uuid : 8adb6f8c-7e7c-43c4-b68a-adb3aaacacae addresses : ["10.16.0.47/4", "10.16.3.48/32"] name : as1 _uuid : 36e55ddd-1814-4569-b187-28a7d6d5a4f6 addresses : ["56:94:36:f7:ca:d7"] name : svc_monitor_mac + ovn-nbctl --wait=sb remove address_set b65cfdaf-d55e-404d-9114-c0db5dd8a59e addresses 10.16.0.47/4 + ovn-sbctl list address_set _uuid : 8adb6f8c-7e7c-43c4-b68a-adb3aaacacae addresses : ["10.16.3.48/32"] name : as1 <=== address set is deleted _uuid : 36e55ddd-1814-4569-b187-28a7d6d5a4f6 addresses : ["56:94:36:f7:ca:d7"] name : svc_monitor_mac [root@kvm-01-guest09 bz2196885]# rpm -qa | grep -E "openvswitch2.17|ovn22.12" openvswitch2.17-2.17.0-92.el9fdp.x86_64 ovn22.12-22.12.0-94.el9fdp.x86_64 ovn22.12-central-22.12.0-94.el9fdp.x86_64 ovn22.12-host-22.12.0-94.el9fdp.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:3986 |