Looking at /var/lib/libvirt/images is there any attribute or permission here to change?
[root@kvmsrv002 libvirt]# pwd /var/lib/libvirt [root@kvmsrv001 libvirt]# ls -lZ drwx------ root root boot drwx--x--x root root system_u:object_r:fusefs_t:s0 images drwx------ root root iptables drwx------ root root network drwx------ root root qemu Remembering that my SELinux is disabled - - iarlyy selbir :wq! On Tue, Jan 18, 2011 at 1:50 PM, iarly selbir <[email protected]> wrote: > > - - > iarlyy selbir > > :wq! > > > > On Tue, Jan 18, 2011 at 1:38 PM, Thomas Sjolshagen > <[email protected]>wrote: > >> On Tue, 18 Jan 2011 17:29:30 +0100, Dor Laor <[email protected]> wrote: >> >>> On 01/18/2011 02:06 PM, iarly selbir wrote: >>> >>>> I configured a Gluster volume to work as my backend storage instead gfs >>>> but I can't finish the setup of a vm, after click em >>>> finish(virt-manager) it show me this error: >>>> >>>> Unable to complete install 'libvirt.libvirtError internal error unable >>>> to start guest: qemu: could not open disk image >>>> /var/lib/libvirt/images/test.img >>>> >>>> [snip] >> >> >>>> The file test.img is created but the domain is not, If I umount >>>> /var/lib/libvirt/images (mount point to my gluster volume) all works >>>> fine. >>>> >>>> Does anyone experienced with this? >>>> >>> >>> Seems like there is some sort of an access/permission issue. >>> Since your disk should be shared, make sure that it's there in the >> >> libvirt xml and the file is writable. >>> >>> > my shared partition is mounted on /var/lib/libvirt/images where only vm > images should be stored, I can assume my gluster partition is working fine > because the test.img is replicated to another host and I can access it > normally. > > >> [snip] >> >> Try: >> # getselinux >> >> If the result is "1" or "Enabled", then you have SELinux enabled and you >> need to label the directory you've mounted over /var/lib/libvirt/images with >> "# restorecon -rv /var/lib/libvirt/" for instance. >> > > My SELinux is disabled. > >
_______________________________________________ virt mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/virt
