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 2168009

Summary: ovn-nbctl: unknown command 'lsp-dettach-mirror'
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Jianlin Shi <jishi>
Component: ovn22.12Assignee: Ales Musil <amusil>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 20.ACC: amusil, ctrautma, jiji
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.12-22.12.0-24.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-13 09:04:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jianlin Shi 2023-02-08 02:27:19 UTC
Description of problem:
ovn-nbctl: unknown command 'lsp-dettach-mirror'

Version-Release number of selected component (if applicable):
ovn22.12-22.12.0-20.el8

How reproducible:
Always

Steps to Reproduce:
ovn-nbctl lsp-dettach-mirror ls1p1 mirror0

Actual results:
ovn-nbctl: unknown command 'lsp-dettach-mirror'; use --help for help

Expected results:
no error

Additional info:

[root@wsfd-advnetlab17 mirror]# ovn-nbctl lsp-dettach-mirror ls1p1 mirror0                            
ovn-nbctl: unknown command 'lsp-dettach-mirror'; use --help for help                                  
[root@wsfd-advnetlab17 mirror]# rpm -qa | grep ovn                                                    
ovn22.12-central-22.12.0-20.el8fdp.x86_64                                                             
ovn22.12-22.12.0-20.el8fdp.x86_64                                                                     
ovn22.12-host-22.12.0-20.el8fdp.x86_64

Comment 1 Ales Musil 2023-02-08 06:32:59 UTC
Hi,

this seems to be a typo in documentation. Can you please try "lsp-detach-mirror" (with one t) instead?

I'll send a patch to fix the documentation.

Comment 2 Jianlin Shi 2023-02-08 06:47:12 UTC
(In reply to Ales Musil from comment #1)
> Hi,
> 
> this seems to be a typo in documentation. Can you please try
> "lsp-detach-mirror" (with one t) instead?
> 
> I'll send a patch to fix the documentation.

lsp-detach-mirror works

Comment 4 OVN Bot 2023-02-16 05:07:27 UTC
ovn22.12 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2170300

Comment 7 Jianlin Shi 2023-03-17 06:56:30 UTC
Verified on ovn22.12-22.12.0-34.el9:

manpage:
       lsp-detach-mirror port m                                                                       
              Detaches the mirror m from the logical port port.

[root@sweetpig-20 bz2170300]# rpm -qa | grep ovn22.12
ovn22.12-22.12.0-34.el9fdp.x86_64
ovn22.12-central-22.12.0-34.el9fdp.x86_64                                                             
ovn22.12-host-22.12.0-34.el9fdp.x86_64

Comment 9 errata-xmlrpc 2023-04-13 09:04:41 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 (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:1768