The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1918187 - ovn-nbctl destroy table_name doesn't report error
Summary: ovn-nbctl destroy table_name doesn't report error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch3.1
Version: FDP 21.A
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Michael Santana
QA Contact: Zhiqiang Fang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 09:02 UTC by Jianlin Shi
Modified: 2023-07-06 19:17 UTC (History)
10 users (show)

Fixed In Version: openvswitch2.16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-06 19:17:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-1039 0 None None None 2022-06-21 15:00:31 UTC
Red Hat Product Errata RHBA-2023:3989 0 None None None 2023-07-06 19:17:57 UTC

Description Jianlin Shi 2021-01-20 09:02:50 UTC
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:

Comment 1 Alexey Roytman 2021-03-24 14:42:24 UTC
The patch was submitted 
https://github.com/openvswitch/ovs/pull/353

Comment 2 Dan Williams 2022-06-21 14:47:26 UTC
Accepted upstream; should be in OVS 2.16 and later

http://patchwork.ozlabs.org/project/openvswitch/list/?series=236353&state=%2A&archive=both

Comment 3 Flavio Leitner 2023-06-14 17:47:53 UTC
Moving to 3.1 so that it can be verified in the next FDP release.

Comment 5 Timothy Redaelli 2023-06-16 21:48:56 UTC
It's included starting from v2.16.0, so I'm adding it to FDP 23.F RHEL9 errata

Comment 9 Zhiqiang Fang 2023-07-06 14:39:30 UTC
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 ~]#

Comment 11 errata-xmlrpc 2023-07-06 19:17:49 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 (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


Note You need to log in before you can comment on or make changes to this bug.