To verify your suspicion , temporarily run 'setenforce 0' on the nodes in the cluster and try again to attach the NFS (via oVirt of course).

If it works, then you can check /var/log/audit/audit log for AVC entries (or just run 'sealert -a <log>' )
It will tell you what kind of label you will need.
Then you can just change in oVirt the mount options and append 'context=<selinux context> and it will work.

I remember another issue related to some ubuntu NFS server options, but I can't recall it right now.

Best Regards,
Strahil Nikolov

On Sat, May 22, 2021 at 20:20, David White via Users
<users@ovirt.org> wrote:
Hello,
Is it possible to use Ubuntu to share an NFS export with oVirt?
I'm trying to setup a Backup Domain for my environment.

I got to the point of actually adding the new Storage Domain.
When I click OK, I see the storage domain appear momentarily before disappearing, at which point I get a message about oVirt not being able to obtain a lock.

It appears I'm running into the issue described in this thread: https://lists.ovirt.org/archives/list/users@ovirt.org/thread/BNVXUH5B26FBFCGYLG62JUSB5SOU2MN7/#IZTU744GVKY5OJT4QOULLZVKGYADXDOO ... Although the actual export is ext4, not xfs.

From what I'm reading on that thread and elsewhere, it sounds like this problem is a result of SELinux not being present, is that correct?

Is my only option here to install an OS that supports SELinux?


Sent with ProtonMail Secure Email.

_______________________________________________
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/MBDGUQZVNJNV56PWCTLM66B6B7TSNPOQ/