Bug 1791257

Summary: update-crypto-policies command example is incorrect in virt-v2v-input-xen
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Xiaodai Wang <xiaodwan>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: jsuchane, juzhou, mxie, mzhan, ptoscano, tyan, tzheng, zili
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.40.2-21.module+el8.2.0+5851+8d6a931b Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-05 09:55:51 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 Xiaodai Wang 2020-01-15 11:03:34 UTC
Description of problem:
update-crypto-policies command example is incorrect in virt-v2v-input-xen

Version-Release number of selected component (if applicable):
virt-v2v-1.40.2-14.module+el8.2.0+4793+b09dd2fb.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Run 'man virt-v2v-input-xen'
2. Search 'update-crypto-policies'

Actual results:
# update-crypto-policies LEGACY
usage: /usr/bin/update-crypto-policies --set [POLICY]
usage: /usr/bin/update-crypto-policies --show
usage: /usr/bin/update-crypto-policies --is-applied
usage: /usr/bin/update-crypto-policies

Expected results:
# update-crypto-policies --set LEGACY

Additional info:

Comment 2 Richard W.M. Jones 2020-02-17 12:42:08 UTC
Upstream in virt-v2v commit 0edf419e983fe75daef9eaa7bd0578cbcada2e73.

Comment 5 liuzi 2020-03-02 04:05:02 UTC
Verify bug with builds:
virt-v2v-1.40.2-21.module+el8.2.0+5851+8d6a931b.x86_64
libguestfs-1.40.2-21.module+el8.2.0+5851+8d6a931b.x86_64

Steps:
1.Update virt-v2v to latest version.
2.Check man page about 'update-crypto-policies'
# man virt-v2v-input-xen|grep update-crypto-policies -A2
       to run this command on the conversion server (ie. ssh client), but read update-crypto-policies(8) first:

        # update-crypto-policies --set LEGACY

Result:
virt-v2v man page have updated update-crypto-policies command example,so change the bug form ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2020-05-05 09:55:51 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, 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-2020:2017