[ovirt-users] Re: Adding a Ubuntu Host's NFS share to oVirt
Thank you! I decided to go with a RHEL 8 host, which worked perfectly fine. But that brings me to a new question, for which I'll start a new thread. Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, June 1, 2021 9:00 PM, Nir Soffer wrote: > On Wed, Jun 2, 2021 at 3:08 AM Nir Soffer nsof...@redhat.com wrote: > > > On Sat, May 22, 2021 at 8:20 PM 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 may be he issue describe here: > > https://github.com/oVirt/ovirt-site/pull/2433 > > This is the relevant thread: > https://lists.ovirt.org/archives/list/users@ovirt.org/thread/G2TQC6XTJTIBAIOG7BWAFJ3YW3XOMNXF/#G2TQC6XTJTIBAIOG7BWAFJ3YW3XOMNXF > > > The fix is to change this on the serve side: > > > > grep RPCMOUNTDOPTS /etc/default/nfs-kernel-server > > > > == > > > > --manage-gids is not compatible with oVirt. > > > > > > > > #RPCMOUNTDOPTS="--manage-gids" > > RPCMOUNTDOPTS="" > > > > > 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. > > > > The issue is not related to the file system, and it is likely the same > > issue described > > in this thread. > > > > > 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? > > > > This seems to be incompatible NFS server defaults on Ubuntu. > > > > > Is my only option here to install an OS that supports SELinux? > > > > This is another option, RHEL (like) server is a safe bet. > > Nir publickey - dmwhite823@protonmail.com - 0x320CD582.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/CQXXRQ7NBXBGVB7NKBYKRU4SEJEBVJO5/
[ovirt-users] Re: Adding a Ubuntu Host's NFS share to oVirt
On Wed, Jun 2, 2021 at 3:08 AM Nir Soffer wrote: > > On Sat, May 22, 2021 at 8:20 PM David White via Users 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 may be he issue describe here: > https://github.com/oVirt/ovirt-site/pull/2433 This is the relevant thread: https://lists.ovirt.org/archives/list/users@ovirt.org/thread/G2TQC6XTJTIBAIOG7BWAFJ3YW3XOMNXF/#G2TQC6XTJTIBAIOG7BWAFJ3YW3XOMNXF > The fix is to change this on the serve side: > > # grep RPCMOUNTDOPTS /etc/default/nfs-kernel-server > # --manage-gids is not compatible with oVirt. > #RPCMOUNTDOPTS="--manage-gids" > RPCMOUNTDOPTS="" > > > 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. > > The issue is not related to the file system, and it is likely the same > issue described > in this thread. > > > 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? > > This seems to be incompatible NFS server defaults on Ubuntu. > > > Is my only option here to install an OS that supports SELinux? > > This is another option, RHEL (like) server is a safe bet. > > Nir ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/5VRBUPMSYP56LPEUA62H34K5UHWBN7C6/
[ovirt-users] Re: Adding a Ubuntu Host's NFS share to oVirt
On Sat, May 22, 2021 at 8:20 PM David White via Users 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 may be he issue describe here: https://github.com/oVirt/ovirt-site/pull/2433 The fix is to change this on the serve side: # grep RPCMOUNTDOPTS /etc/default/nfs-kernel-server # --manage-gids is not compatible with oVirt. #RPCMOUNTDOPTS="--manage-gids" RPCMOUNTDOPTS="" > 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. The issue is not related to the file system, and it is likely the same issue described in this thread. > 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? This seems to be incompatible NFS server defaults on Ubuntu. > Is my only option here to install an OS that supports SELinux? This is another option, RHEL (like) server is a safe bet. Nir ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/MWHE7HMHDSPY4T7LXOQMW65K44YBCPYM/
[ovirt-users] Re: Adding a Ubuntu Host's NFS share to oVirt
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 ' )It will tell you what kind of label you will need.Then you can just change in oVirt the mount options and append '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 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-le...@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/ ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/5LJUAHEPIYDLM2GJOAEL3LO66QN7U6KW/