[fedora-virt] KVM high available

iarly selbir iarlyy at gmail.com
Tue Jan 18 16:50:29 UTC 2011


- -
iarlyy selbir

:wq!



On Tue, Jan 18, 2011 at 1:38 PM, Thomas Sjolshagen <thomas at sjolshagen.net>wrote:

> On Tue, 18 Jan 2011 17:29:30 +0100, Dor Laor <dlaor at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20110118/4070d6be/attachment-0001.html 


More information about the virt mailing list