[Pkg-libvirt-maintainers] Bug#512773: [virt-manager] Unable to create a non-sparse image file from the VM creation wizard

Laurent Léonard laurent at open-minds.org
Fri Jan 23 15:43:09 UTC 2009


Package: virt-manager
Version: 0.6.0-6
Severity: normal

--- Please enter the report below this line. ---
The VM creation wizard is unable to create a non-sparse image file, even if the 
checkbox "Allocate entire virtual disk now?" is checked (default state). The 
problem comes from the virtinst package, in the file /usr/share/python-
support/virtinst/virtinst/VirtualDisk.py, line 342-348 :
                    if self.sparse:
                        alloc = 0
                    else:
                        #alloc = cap
                        # XXX: disable setting managed storage as nonsparse
                        # XXX: since it hoses libvirtd (for now)
                        alloc = 0

The storage pool manager is able to create non-sparse image file if we specify 
the same size for capacity and allocation in the dialog box.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-1-amd64

Debian Release: 5.0
  500 lenny           kde4.debian.net 
 1000 testing         security.debian.org 
 1000 testing         ftp.fr.debian.org 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-=============
libatk1.0-0            (>= 1.20.0) | 1.22.0-1
libc6                   (>= 2.7-1) | 2.7-18
libcairo2               (>= 1.2.4) | 1.6.4-7
libglib2.0-0           (>= 2.12.0) | 2.16.6-1
libgtk2.0-0            (>= 2.12.0) | 2.12.11-4
libpango1.0-0          (>= 1.20.3) | 1.20.5-3
python2.5                 (>= 2.5) | 2.5.2-15
python-gtk2                        | 2.12.1-6
python-glade2                      | 2.12.1-6
python-gnome2                      | 2.22.0-1
python-dbus                        | 0.82.4-2
python-urlgrabber                  | 3.1.0-4
python-vte                         | 1:0.16.14-4
librsvg2-common                    | 2.22.2-2lenny1
python-libvirt          (>= 0.4.6) | 0.4.6-10
virtinst              (>= 0.400.0) | 0.400.0-7
python-gtk-vnc          (>= 0.3.7) | 0.3.7-4

-- 
Laurent Léonard





More information about the Pkg-libvirt-maintainers mailing list