[Pkg-libvirt-maintainers] Bug#804009: libvirt-bin: exception when deleting a vm

Ritesh Raj Sarraf rrs at debian.org
Wed Nov 4 08:13:44 UTC 2015


Package: libvirt-bin
Version: 1.2.20-1
Severity: normal

When deleting the VM, along with its file image, I am shown the
following error message in a pop-up.


`
Errors encountered while removing certain storage devices.

cannot unlink file '/var/lib/libvirt/images/debian8.qcow2': Success
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/delete.py", line 182, in _async_delete
    self._async_delete_path(conn, path, meter)
  File "/usr/share/virt-manager/virtManager/delete.py", line 228, in _async_delete_path
    vol.delete(0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3361, in delete
    if ret == -1: raise libvirtError ('virStorageVolDelete() failed', vol=self)
libvirtError: cannot unlink file '/var/lib/libvirt/images/debian8.qcow2': Success


At one end, it says "Success" but also reports error.
Lookng at the datastore, the VM file is not deleted.



rrs at learner:~$ sudo ls /var/lib/libvirt/images/ -l
[sudo] password for rrs: 
total 3768528
-rw------- 1 root root 8591507456 Nov  4 13:32 debian8.qcow2
2015-11-04 / 13:43:10 ♒♒♒  ☺    




-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.5+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-bin depends on:
ii  libvirt-clients        1.2.20-1
ii  libvirt-daemon-system  1.2.20-1

libvirt-bin recommends no packages.

libvirt-bin suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list