I’ve got an installation working, and want to test things out with the “ood” user. However, upon logging in with “ood@localhost” and “password” (as directed in the setup guide) I get the following error message:
Home directory not found
Your home directory appears to be missing. The home directory mount may be unavailable, or your home directory may need to still be created. Please contact support for help and attempt to restart your web server by clicking below when the problem has been fixed.
I have checked that the “ood” user has the correct home directory:
Do you have SELinux enabled? That’s the only reason I can think the home directory would be inaccessible when clearly it’s setup correctly.
For Authentication, how do your users authenticate with your systems? If they use LDAP then you’d want to follow the instructions for setting up LDAP with OnDemand using ondemand-dex. OnDemand supports all the methods for authentication supported by Apache so what to configure really depends on how you want users authenticating with OnDemand.
Production deployments of OnDemand typically use some sort of shared filesystem like NFS as the users using OnDemand have to have their $HOME accessible on the OnDemand node as well as the HPC clusters. If you’re using NFS then you’ll want to enable the ondemand_use_nfs SELinux boolean, which should have been enabled by default so maybe nothing needed there unless it got turned off.
I think the plan is to use LDAP and NFS-hosted home directories (as we already do on our production clusters), but I’m not at the stage of testing that with OOD just yet - trying to start simple as we haven’t used OOD before.
“More robust” mostly refers to more complex authentication systems that support things like SSO and Logout and multi-factor auth. Some of that language is left over from when LDAP support with OnDemand required using Basic Auth which was replaced by Dex based LDAP authentication. For Dex we get logout support using mod_auth_openidc features but the actual Dex program itself doesn’t support Logout.