Hi folks, just getting started on Alma 8 with rpm-based OnDemand v. 2.0.23. I have a trivial linux_host cluster set up; file browser and ssh/shell access are working fine. When I try to start a desktop session, I’m getting the above error. Without more information (file? line number? stack trace?), I’m not sure where to go next. I’m not doing any containerizing, for the moment just trying to get a browser-based Linux desktop working on the host OS. Nothing useful in any of the logs I’ve seen. Any helpful debugging next steps are most appreciated. Thanks!
Relevant files follow…
cat /etc/ood/config/clusters.d/davidtest.yml
v2:
metadata:
title: “davidtest”
login:
host: “davidtest.domain.edu”
job:
adapter: “linux_host”
submit_host: “davidtest.domain.edu”
ssh_hosts: # These are the actual login nodes
- davidtest.domain.edu
site_timeout: 7200
debug: true
tmux_bin: /usr/bin/tmux
You may have a log entry in /var/log/ondemand-nginx/$USER/error.log.
But you’re right, without it it’s hard to saw where it’s coming from without that. I can’t exactly tell if your YAML correctly formatted, but I’d guess it is and it looks to be complete. Let’s hope there’s a message for us in that log.
I encountered the same error message, it’s indeed hard to debug, but in my case it was because singularity_image was not defined in the yaml file, adding it solved that particular problem
I then encountered a value must be enumerable error, and that in turn was because my yaml syntax for ssh_hosts was wrong
after that linux_host is working like a charm, and it can be quite useful!
so, it would be good if the logs could point more closely to where the error is coming from, but I guess at least in my case there’s no substitute for reading the documentation (it does say that singularity_image needs to be defined) and for being careful when writing yaml files