
Hello, I was having trouble with getting an Ubuntu 22.04 NFS share working and after searching for hours I was able to figure out what was needed. Below is what I found if anyone else runs into this. My error was engine.log "...Unexpected return value: Status [code=701, message=Could not initialize cluster lock: ()]" Host supervdsm.log -open error -13 EACCES: no permission to open /ThePath/ids -check that daemon user sanlock *** group sanlock *** has access to disk or file. The fix was changing /etc/nfs.conf manage-gids=y ( Which is the default ) to # manage-gids=y ( Commenting this sets the default which is no ) It looks like in the past the fix was to change /etc/default/nfs-kernel-server Line RPCMOUNTDOPTS="--manage-gids" which I didn't need to change.

I submitted a PR (https://github.com/oVirt/ovirt-site/pull/2433) over a year ago to capture this exact issue. The NFS troubleshooting page remains the same wth no mention of this Ubuntu NFS Server issue: - https://github.com/oVirt/ovirt-site/blob/main/source/develop/troubleshooting... On Wed, Aug 31, 2022 at 5:10 PM <thilburn@generalpacific.com> wrote:
Hello, I was having trouble with getting an Ubuntu 22.04 NFS share working and after searching for hours I was able to figure out what was needed. Below is what I found if anyone else runs into this.
My error was engine.log "...Unexpected return value: Status [code=701, message=Could not initialize cluster lock: ()]"
Host supervdsm.log -open error -13 EACCES: no permission to open /ThePath/ids -check that daemon user sanlock *** group sanlock *** has access to disk or file.
The fix was changing /etc/nfs.conf manage-gids=y ( Which is the default ) to # manage-gids=y ( Commenting this sets the default which is no ) It looks like in the past the fix was to change /etc/default/nfs-kernel-server Line RPCMOUNTDOPTS="--manage-gids" which I didn't need to change. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PT6SKJ4ZTX3EKM...

I submitted my own for 22.04. Maybe re-open your pull request? I see it closed with the note no one is working on it.

I stand corrected /etc/default/nfs-kernel-server RPCMOUNTDOPTS="--manage-gids" Needs to be changed to RPCMOUNTDOPTS="" In my testing I restarted the wrong service
participants (2)
-
Matt Snow
-
thilburn@generalpacific.com