- -
iarlyy selbir
:wq!
On Tue, Jan 18, 2011 at 1:38 PM, Thomas Sjolshagen <thomas(a)sjolshagen.net>wrote:
On Tue, 18 Jan 2011 17:29:30 +0100, Dor Laor <dlaor(a)redhat.com>
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.