Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
the help info of 'virsh detach-disk --print-xml' is not accurate
Version-Release number of selected component (if applicable):
libvirt-4.3.0-1.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.[root@lmen ~]# virsh detach-disk --help
...
--print-xml print XML document rather than attach the interface
...
Actual results:
the description of "attach the interface" is not accurate
Expected results:
just like:
[root@lmen ~]# virsh change-media --help
...
--print-xml print XML document rather than change media
...
So I think, the the help info of 'virsh detach-disk --print-xml' should be like:
[root@lmen ~]# virsh detach-disk --help
...
--print-xml print XML document rather than detach the disk
...
Additional info:
Fixed upstream by:
commit 4a6e17038bc1d92569c461989ec39a4e4877941f
Author: Ján Tomko <jtomko>
AuthorDate: 2018-06-07 09:21:14 +0200
Commit: Ján Tomko <jtomko>
CommitDate: 2018-06-07 09:21:14 +0200
virsh: fix help for detach-disk --print-xml
The help message was copied from attach-interface.
Introduced by commit <431e736>.
https://bugzilla.redhat.com/show_bug.cgi?id=1588295
Signed-off-by: Ján Tomko <jtomko>
git describe: v4.4.0-143-g4a6e17038b
Verified on libvirt-4.5.0-1.el7.x86_64:
# virsh detach-disk --help
NAME
detach-disk - detach disk device
SYNOPSIS
detach-disk <domain> <target> [--persistent] [--config] [--live] [--current] [--print-xml]
DESCRIPTION
Detach disk device.
OPTIONS
[--domain] <string> domain name, id or uuid
[--target] <string> target of disk device
--persistent make live change persistent
--config affect next boot
--live affect running domain
--current affect current domain
--print-xml print XML document rather than detach the disk
Help message as expected.
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/RHSA-2018:3113