I have a few questions on handling users in OnDemand.
Some context: I’m learning Ruby and working on building a Ruby on Rails app on top of Ondemand. So far, I have OnDemand 1.7.14 and Slurm installed on a cluster of Centos 7 VMs. The app is little more than a boilerplate RoR app so far.
-
I’ve been reading through the documentation and couldn’t figure out how to properly create new users for Open OnDemand. The only user I have working is the original system user I created on my webserver node. I tried creating more system users, but they can’t log into Open OnDemand. Ideally, I’d have a database manage my users, but it looks like they are handled by the OS.
-
My Ruby on Rails app needs to know which OnDemand user is logged in (name and some sort of unique identifier). I tried looking through the existing OOD system apps, but didn’t have much luck displaying the current user in my app.
Eventually, I would like this app to be able to create, modify, and delete OnDemand users.
Let me know what suggestions you have for creating new users and integrating them into my app, thanks!