Description of problem: ovn-nbctl destroy table_name doesn't report error Version-Release number of selected component (if applicable): ovn2.13-20.12.0-1 How reproducible: always Steps to Reproduce: 1. ovn-nbctl ls-add ls1 2. ovn-nbctl destroy logical_switch Actual results: doesn't report error and doesn't destroy logical_switch Expected results: should report error Additional info:
The patch was submitted https://github.com/openvswitch/ovs/pull/353
Accepted upstream; should be in OVS 2.16 and later http://patchwork.ozlabs.org/project/openvswitch/list/?series=236353&state=%2A&archive=both
Moving to 3.1 so that it can be verified in the next FDP release.
It's included starting from v2.16.0, so I'm adding it to FDP 23.F RHEL9 errata
It is verified on openvswitch3.1-3.1.0-33.el9fdp.x86_64. I should add the logical_switch uuid. [root@hpe-netqe-syn480g10-06 ~]# rpm -aq |egrep "ovn|openv" openvswitch-selinux-extra-policy-1.0-31.el9fdp.noarch openvswitch3.1-3.1.0-33.el9fdp.x86_64 ovn23.03-23.03.0-69.el9fdp.x86_64 ovn23.03-central-23.03.0-69.el9fdp.x86_64 ovn23.03-host-23.03.0-69.el9fdp.x86_64 [root@hpe-netqe-syn480g10-06 ~]# ovn-nbctl ls-add ls1 [root@hpe-netqe-syn480g10-06 ~]# ovn-nbctl show switch e2dc0278-24ef-4c04-a455-3802b5f29583 (ls1) [root@hpe-netqe-syn480g10-06 ~]# ovn-nbctl destroy logical_switch e2dc0278-24ef-4c04-a455-3802b5f29583 [root@hpe-netqe-syn480g10-06 ~]# [root@hpe-netqe-syn480g10-06 ~]# ovn-nbctl show [root@hpe-netqe-syn480g10-06 ~]#
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 (openvswitch3.1 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:3989