[Users] Can't start a VM - sanlock permission denied

Alexandre Santos santosam72 at gmail.com
Sat Oct 13 10:25:37 UTC 2012


Hi,
after getting to the oVirt Node console (F2) I figured out that selinux
wasn't allowing the sanlock, so I entered the setsebool virt_use_sanlock 1
and the problem is fixed.

However, I started getting permission denied error when trying to start the
VM that was created on that NFS share. On the ovirt node console, I noticed
that the user.group of that share was nobody.nobody instead of vdsm.kvm. I
followed the instruction on the wiki about anonguid and anonuid but no luck
at all. This was an Ubuntu nfs server. I Installed a FC17 VM on this Ubuntu
and tried again and it worked at the first time :-)

Ubuntu has a KVM group with guid = 106.

Alex

2012/10/11 Alexandre Santos <santosam72 at gmail.com>

> Hello Haim,
> sure I'll provide them. I'll enter the node console and will check that.
>
> Alex
>
>
> 2012/10/11 Haim Ateya <hateya at redhat.com>
>
>> Hi Alex, can you please provide some logs (engine + vdsm) ? also, can you
>> verify that sanlock service is running on node  ?
>>
>> ----- Original Message -----
>> > From: "Alexandre Santos" <santosam72 at gmail.com>
>> > To: users at ovirt.org
>> > Sent: Thursday, October 11, 2012 12:06:19 PM
>> > Subject: Re: [Users] Can't start a VM - sanlock permission denied
>> >
>> >
>> > It's me again, now less sleepy :-)
>> > What I would like to know is if this sanlock permission issue is
>> > within the oVirt engine, a problem on the NFS Server or on the oVirt
>> > node (it's a 2.5.3 from nightly). On the later, I can't access the
>> > console to issue those commands - I don't even know if it's running
>> > SELinux at all :-)
>> >
>> > Alex
>> >
>> >
>> > 2012/10/11 Alexandre Santos < santosam72 at gmail.com >
>> >
>> >
>> > Him
>> > I managed to install the new oVirt Node on a 8 GB USB Pen. I created
>> > the NFS Share anf when I try to Run the VM I get the:
>> >
>> >
>> > M ubuntu is down. Exit message: internal error Failed to open socket
>> > to sanlock daemon: Permission denied.
>> >
>> >
>> >
>> > I did the setsebool mentioned on the wiki on the engine but still get
>> > the error. Is it necessary to configure anywhere else?
>> >
>> > Alex
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121013/1ff91270/attachment-0001.html>


More information about the Users mailing list