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.

Bug 1024180

Summary: qcow should not be in the virt-image 5 manual.
Product: Red Hat Enterprise Linux 6 Reporter: hyao <hyao>
Component: python-virtinstAssignee: Giuseppe Scrivano <gscrivan>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: codong, cwei, dyuan, gscrivan, juzhou, lcui, mzhan, tzheng, zsong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-virtinst-0.600.0-20.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1024189 (view as bug list) Environment:
Last Closed: 2014-10-14 06:23:55 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:
Bug Depends On:    
Bug Blocks: 1024189    

Description hyao@redhat.com 2013-10-29 05:18:27 UTC
Description
qcow is in the virt-image 5 manual and qed is missed.
Version:
# rpm -qa libvirt python-virtinst qemu-kvm
python-virtinst-0.600.0-18.el6.noarch
qemu-kvm-0.12.1.2-2.414.el6.x86_64
libvirt-0.10.2-29.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Prepare a virtual image XML descriptor file with qcow disk included.
# cat image.xml
<image>
<name>demo</name>
<domain>
<boot type="hvm">
<guest>
<arch>x86_64</arch>
</guest>
<os>
<loader dev="hd"/>
</os>
<drive disk="mydisk" target="hda"/>
<drive disk="user" target="hdb"/>
</boot>
<devices>
<vcpu>1</vcpu>
<memory>262144</memory>
interface/>
<graphics/>
</devices>
</domain>
<storage>
<disk id="mydisk" file="kvm-rhel6.5-x86_64-raw.img" use="system" format="raw"/>
<disk id="user" file="/var/lib/libvirt/images/user.img" use="user" format="qcow" size="1000"/>
</storage>
</image>


2. Create a virtual machine from image.xml
#virt-image  image.xml

Creating guest demo...
Allocating 'user.img'                                                                                   | 1.0 GB     00:00    
ERROR    internal error Process exited while reading console log output: char device redirected to /dev/pts/4
qemu-kvm: -drive file=/var/lib/libvirt/images/user.img,if=none,id=drive-ide0-0-1,format=qcow,cache=none: 'qcow' invalid format

Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start demo
otherwise, please restart your installation.

3. Check the format description in manual.
#man 5 virt-image
...
  the format attribute giving the format of the disk file. Currently, this can be one of: "raw" "iso","qcow", "qcow2", or "vmdk".

Actual results:
qcow is not supported by qemu-kvm and qcow is in the virt-image manual. 


Expected results:
According to the qemu-kvm notification, qcow format should be deteleted from virt-image 5 manual.

Additional info:

Comment 5 zhoujunqin 2014-05-06 06:54:06 UTC
Reproduce with python-virtinst-0.600.0-18.el6.noarch.

Verified with package:
python-virtinst-0.600.0-20.el6.noarch
virt-manager-0.9.0-20.el6.x86_64

steps:
1. Prepare a virtual image XML descriptor file with qcow disk included as Comment 0.

2. Create a virtual machine from image.xml
# virt-image image.xml 

Creating guest demo...
ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/1
qemu-kvm: -drive file=/var/lib/libvirt/images/user.img,if=none,id=drive-ide0-0-1,format=qcow,cache=none: 'qcow' invalid format

Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start demo
otherwise, please restart your installation.

3. Check the format description in manual.
# man 5 virt-image
STORAGE
...
       ยท   the format attribute giving the format of the disk file. Currently, this can be one of: "raw", "iso",
           "qcow2", or "vmdk".
...

Since qcow format has been deteleted from virt-image 5 manual, so marked as verified.

Comment 6 errata-xmlrpc 2014-10-14 06:23:55 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/RHBA-2014-1444.html