Hi,<br>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.<br><br>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 :-)<br>
<br>Ubuntu has a KVM group with guid = 106.<br><br>Alex<br><br><div class="gmail_quote">2012/10/11 Alexandre Santos <span dir="ltr"><<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Haim,<br>sure I'll provide them. I'll enter the node console and will check that.<br><br>Alex<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">2012/10/11 Haim Ateya <span dir="ltr"><<a href="mailto:hateya@redhat.com" target="_blank">hateya@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex, can you please provide some logs (engine + vdsm) ? also, can you verify that sanlock service is running on node ?<br>
<div><div><br>
----- Original Message -----<br>
> From: "Alexandre Santos" <<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>><br>
> To: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
> Sent: Thursday, October 11, 2012 12:06:19 PM<br>
> Subject: Re: [Users] Can't start a VM - sanlock permission denied<br>
><br>
><br>
> It's me again, now less sleepy :-)<br>
> What I would like to know is if this sanlock permission issue is<br>
> within the oVirt engine, a problem on the NFS Server or on the oVirt<br>
> node (it's a 2.5.3 from nightly). On the later, I can't access the<br>
> console to issue those commands - I don't even know if it's running<br>
> SELinux at all :-)<br>
><br>
> Alex<br>
><br>
><br>
> 2012/10/11 Alexandre Santos < <a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a> ><br>
><br>
><br>
> Him<br>
> I managed to install the new oVirt Node on a 8 GB USB Pen. I created<br>
> the NFS Share anf when I try to Run the VM I get the:<br>
><br>
><br>
> M ubuntu is down. Exit message: internal error Failed to open socket<br>
> to sanlock daemon: Permission denied.<br>
><br>
><br>
><br>
> I did the setsebool mentioned on the wiki on the engine but still get<br>
> the error. Is it necessary to configure anywhere else?<br>
><br>
> Alex<br>
><br>
><br>
><br>
</div></div><div><div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>