[Users] Can't start a VM - sanlock permission denied
Dan Kenigsberg
danken at redhat.com
Sat Oct 13 21:11:13 UTC 2012
On Sat, Oct 13, 2012 at 11:25:37AM +0100, Alexandre Santos wrote:
> 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.
Which version of vdsm is istalled on your node? and which
selinux-policy? sanlock should work out-of-the-box.
>
> 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 :-)
I've seen these problem when using nfs v4 without defining it's id
mapper properly. The issue went away when (down?)grading to v3.
>
> Ubuntu has a KVM group with guid = 106.
Dan.
More information about the Users
mailing list