Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 833327 - [Doc]The abbreviation of domain name-id-uuid arguments are inconsistent in manual
[Doc]The abbreviation of domain name-id-uuid arguments are inconsistent in ma...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt (Show other bugs)
6.3
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Ján Tomko
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 04:52 EDT by hongming
Modified: 2013-02-21 02:17 EST (History)
8 users (show)

See Also:
Fixed In Version: libvirt-0.10.0-0rc0.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 02:17:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0276 normal SHIPPED_LIVE Moderate: libvirt security, bug fix, and enhancement update 2013-02-20 16:18:26 EST

  None (edit)
Description hongming 2012-06-19 04:52:45 EDT
Description of problem:
The abbreviation of domain name-id-uuid arguments are inconsistent in manual. The domain name -id- uuid is abbreviated to "domain-id" in manual. But  some of commands use "domain" format and two commands use "domain-id-or-uuid " format in manual ,and id and uuid can be used as arguments in them.


Version-Release number of selected component (if applicable):
libvirt-0.9.10-21.el6.x86_64

How reproducible:
100% 

Steps to Reproduce:
1.#man virsh

DOMAIN COMMANDS
       The following commands manipulate domains directly, as stated
       previously most commands take domain-id as the first parameter.
       The domain-id can be specified as a short integer, a name or a
       full UUID.
 
domblkstat domain block-device [--human]
domifstat domain interface-device
domif-setlink domain interface-device state --persistent
domif-getlink domain interface-device --persistent
domiftune domain interface-device [[--config] [--live] |
       [--current]] [--inbound average,peak,burst] [--outbound
       average,peak,burst]
dommemstat domain
domblkinfo domain block-device
domblklist domain [--inactive] [--details]
domiflist domain [--inactive]
blockcopy domain path dest [bandwidth] [--shallow]
       [--reuse-external] [--raw] [--wait [--verbose] [{--pivot |
       --finish}] [--timeout seconds] [--async]]

blockpull domain path [bandwidth] [base] [--wait [--verbose]
       [--timeout seconds] [--async]]
blkdeviotune domain device [[--config] [--live] | [--current]]
       [[total-bytes-sec] | [read-bytes-sec] [write-bytes-sec]]
       [[total-iops-sec] | [read-iops-sec] [write-iops-sec]]

blockjob domain path { [--abort] [--async] [--pivot] | [--info]
       | [bandwidth] }
blockresize domain path size
cpu-stats domain [--total] [start] [count]
numatune domain [--mode mode] [--nodeset nodeset] [[--config]
       [--live] | [--current]]

domjobabort domain-id-or-uuid
domjobinfo domain-id-or-uuid

Actual results:
The above commands use "domain"  and the domjobabort and domjobinfo use " domain-id-or-uuid "


Expected results: 
The abbreviation of domain-id-uuid arguments are consistent in manual.

Additional info:
Comment 2 dyuan 2012-07-12 06:21:12 EDT
1. In # man virsh:

dominfo domain-id
           Returns basic information about the domain.

but both domname and domuuid work well.

Expected results:
Update the virsh manual, use "dominfo domain-name-or-id-or-uuid" instead of "dominfo-id"
Comment 5 Ján Tomko 2012-07-18 12:08:39 EDT
Proposed patch:

https://www.redhat.com/archives/libvir-list/2012-July/msg00760.html
Comment 6 Ján Tomko 2012-07-25 05:29:48 EDT
Proposed patch v2:
https://www.redhat.com/archives/libvir-list/2012-July/msg00893.html
Comment 7 Ján Tomko 2012-07-26 07:58:37 EDT
Fixed by commit aa03b1471c334836e87f814a32d9fec914eeed94
    virsh man page - domain-id consistency
Comment 9 hongming 2012-08-06 05:15:06 EDT
Verify it using libvirt-0.10.0-0rc0.el6.x86_64, 

# man virsh 

Where command is one of the commands listed below, domain is the numeric domain id, or the domain name, or the domain UUID and ARGS are command specific options.  There are a few exceptions to this rule in the cases where the command in question acts on all domains, the entire machine, or directly on the xen hypervisor.  Those exceptions will be clear for each of those commands.


The abbreviation of domain-id-uuid arguments are consistent in manual. So move its status to VERIFIED.
Comment 10 errata-xmlrpc 2013-02-21 02:17:54 EST
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.

http://rhn.redhat.com/errata/RHSA-2013-0276.html

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