Incorrectly uses raw instead of qcow2 on import

Bug #1182226 reported by Lorin Hochstein
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I attempted to import an existing qcow2 virtual machine image file through the virt-manager GUI interface. The image was in qcow2 format, but virt-manager created a libvirt profile with the image file classified as "raw":

   <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/data/images/myimage.qcow2'/>

If I do a "virsh dumpxml", edit the driver tag so that the attribute is "qcow2", and then do "virsh define" with the edited XML file, the virtual machine image boots successfully.

# lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

# apt-cache policy virt-manager
virt-manager:
  Installed: 0.9.1-1ubuntu5.1
  Candidate: 0.9.1-1ubuntu5.1
  Version table:
 *** 0.9.1-1ubuntu5.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.1-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virt-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.