Description of problem:
I am trying to delete volume, but it is not possible for some reasons I really don§t understand why:
$ sudo virsh -d 4
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # vol-delete /var/lib/libvirt/images/projectatomic-VAGRANTSLASH-adb_vagrant_box_image_1.6.0.img
error: Failed to delete vol /var/lib/libvirt/images/projectatomic-VAGRANTSLASH-adb_vagrant_box_image_1.6.0.img
error: cannot unlink file '/var/lib/libvirt/images/projectatomic-VAGRANTSLASH-adb_vagrant_box_image_1.6.0.img': Operace zamítnuta
virsh #
"Operace zamítnuta" could be translated as "Operation denied" not sure how to convince the origin of the message to speak different language :/
Also note that the same behavior exhibits virt-manager.
Version-Release number of selected component (if applicable):
$ rpm -qf `which virsh`
libvirt-client-1.3.2-1.fc25.x86_64
How reproducible:
Steps to Reproduce:
1. Use Vagrant together with Vagrant file with config.vm.box = "projectatomic/adb"
2. Try to get rid of the volume any way.
3.
Actual results:
Cannot delete volume => operation denied
Expected results:
Can delete volume.
Additional info:
File system permissions if that might be of difference:
$ ls -laZ /var/lib/libvirt/images/projectatomic-VAGRANTSLASH-adb_vagrant_box_image_1.6.0.img
-rwxr--r--. 1 qemu qemu system_u:object_r:virt_content_t:s0 1752956928 Feb 4 13:07 /var/lib/libvirt/images/projectatomic-VAGRANTSLASH-adb_vagrant_box_image_1.6.0.img
And this is my LANG environment (I got the feeling that this might be relevant somehow, due to the "Operace zamítnuta" message):
$ env | grep LANG
LANG=cs_CZ.utf8
GDM_LANG=cs_CZ.utf8