[fedora-virt] KVM high available

iarly selbir iarlyy at gmail.com
Wed Jan 19 12:38:49 UTC 2011


Looking at /var/lib/libvirt/images is there any attribute or permission here
to change?

[root at kvmsrv002 libvirt]# pwd
/var/lib/libvirt

[root at 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 <iarlyy at gmail.com> wrote:

>
> - -
> 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/20110119/d97f9760/attachment.html 


More information about the virt mailing list