Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 643234

Summary: Failed to install guest on qcow2 image with virt-manager
Product: Red Hat Enterprise Linux 5 Reporter: Nan Zhang <nzhang>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: dag, llim, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-10 15:50:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nan Zhang 2010-10-15 02:21:18 UTC
Description of problem:
virt-manager doesn't recognise automatically qcow2 image, so the disk drive is still specified with 'raw' type.

Version-Release number of selected component (if applicable):
libvirt-0.8.2-6.el5
kvm-83-199.el5
virt-manager-0.6.1-13.el5

How reproducible:
Always

Steps to Reproduce:
1. # qemu-img create -f qcow2 /var/lib/libvirt/images/demo.qcow2 8G
2. Using virt-manager to create a new guest, and select the created qcow2 image.
3. # virsh dumpxml rhel6
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/var/lib/libvirt/images/rhel6.qcow2'/>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-hd0'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
  
Actual results:
qcow2 image can be normally used for guest install.

Expected results:
Guest's disk cannot be recognised by OS.

Additional info:

Comment 1 Nan Zhang 2010-10-15 03:30:04 UTC
Suggest to provide an extra option for disk driver type when selecting a different type of image to install.

Comment 3 RHEL Program Management 2010-12-07 10:33:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.6 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 5 Cole Robinson 2011-03-10 15:50:54 UTC

*** This bug has been marked as a duplicate of bug 674535 ***