Bug 830057

Summary: man doc of vol-create-as format is lack of qed and vmdk
Product: Red Hat Enterprise Linux 6 Reporter: zhpeng
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, cwei, dallan, dyasny, dyuan, mzhan, rwu, whuang, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.9.13-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 07:16:46 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 zhpeng 2012-06-08 06:01:38 UTC
Description of problem:
vol-create-as format is lack of qed

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

How reproducible:
100%

Steps to Reproduce:
# man virsh
  vol-create-as pool-or-uuid name capacity [--allocation size] [--format
       string] [--backing-vol vol-name-or-key-or-path] [--backing-vol-format
       string]
           Create a volume from a set of arguments.  pool-or-uuid is the name
           or UUID of the storage pool to create the volume in.  name is the
           name of the new volume.  capacity is the size of the volume to be
           created, as a scaled integer (see NOTES above), defaulting to bytes
           if there is no suffix.  --allocation size is the initial size to be
           allocated in the volume, also as a scaled integer defaulting to
           bytes.  --format string is used in file based storage pools to
           specify the volume file format to use; raw, bochs, qcow, qcow2,  ----> need add vmdk and qed
           vmdk.  --backing-vol vol-name-or-key-or-path is the source backing
           volume to be used if taking a snapshot of an existing volume.
           --backing-vol-format string is the format of the snapshot backing
           volume; raw, bochs, qcow, qcow2, vmdk, host_device.       ------> need add qed


Actual results:
vol-create-as format is lack of qed and vmdk

Expected results:
Add qed and vmdk

Additional info:

Comment 2 Michal Privoznik 2012-06-18 11:30:22 UTC
Patch proposed upstream:

https://www.redhat.com/archives/libvir-list/2012-June/msg00718.html

Comment 3 Michal Privoznik 2012-06-18 13:24:43 UTC
Moving to POST:

commit 2872155bfe8e95334116e216f369539d1ec5c7cb
Author:     Michal Privoznik <mprivozn>
AuthorDate: Mon Jun 18 13:20:01 2012 +0200
Commit:     Michal Privoznik <mprivozn>
CommitDate: Mon Jun 18 14:40:32 2012 +0200

    virsh: Update vol-create-as manpage
    
    as we support qed format as well.

Comment 6 zhe peng 2012-07-24 02:46:05 UTC
verify with:
libvirt-0.9.13-3.el6.x86_64

step:
1: #man virsh
.......-
-format string
           is used in file based storage pools to specify the volume file format to use; raw, bochs, qcow, qcow2, vmdk, qed. 
.......
--backing-vol-format string is the format of
           the snapshot backing volume; raw, bochs, qcow, qcow2, qed, vmdk, host_device.

qed and vmdk format added. verification passed.

Comment 7 errata-xmlrpc 2013-02-21 07:16:46 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.

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