Wily will be EOL soon, not much point fixing it there. ** Changed in: libvirt (Ubuntu Wily) Status: Confirmed => Won't Fix
** Changed in: libvirt (Ubuntu Xenial) Status: Confirmed => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1571068 Title: libvirtError: cannot unlink file '/var/lib/libvirt/images/xxx.qcow2': Success Status in libvirt: Unknown Status in libvirt package in Ubuntu: Fix Released Status in libvirt source package in Wily: Won't Fix Status in libvirt source package in Xenial: Fix Committed Bug description: Steps to reproduce: 1) Create VM using virt-install 2) Delete the VM with its associated volume Expected results: The VM is removed and the volume is deleted Actual results: When trying to remove the volume the following error is printed: Errors encountered while removing certain storage devices. cannot unlink file '/var/lib/libvirt/images/bootstrap.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 3359, in delete if ret == -1: raise libvirtError ('virStorageVolDelete() failed', vol=self) libvirtError: cannot unlink file '/var/lib/libvirt/images/xxx.qcow2': Success And the volume is still there $ sudo virsh vol-list default Name Path ------------------------------------------------------------------------------ bootstrap.qcow2 /var/lib/libvirt/images/bootstrap.qcow2 $ sudo file /var/lib/libvirt/images/bootstrap.qcow2 /var/lib/libvirt/images/bootstrap.qcow2: QEMU QCOW Image (v3), 21474836480 bytes Other info: I found an upstream bug that is related to this problem https://bugzilla.redhat.com/show_bug.cgi?id=1293804 , I tested the merged patch and it fixed the problem for me. ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: libvirt-bin 1.2.16-2ubuntu11.15.10.3 ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4 Uname: Linux 4.2.0-34-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 Date: Fri Apr 15 17:05:34 2016 InstallationDate: Installed on 2014-12-06 (495 days ago) InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1) SourcePackage: libvirt UpgradeStatus: Upgraded to wily on 2016-03-08 (38 days ago) modified.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: [modified] modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf'] modified.conffile..etc.libvirt.qemu.networks.default.xml: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu/networks/default.xml'] mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2016-03-14T13:22:07.751461 To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1571068/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp