Linux host adapter issues

It is the entire file; it was generated using the Ansible vars that I included. I will attach the files tomorrow, for better context.

Update: Attaching the file and some more information.

ood.yml (3.6 KB)

After manually modifying the file as seen here I do not see the “undefined method” issue, however I see that it is trying to connect using Slurm.

Logs /var/log/ondemand-nginx/bcasano/error.log

App 126174 output: [2023-08-09 09:50:19 +0200 ]  INFO "method=POST path=/pun/sys/dashboard/batch_connect/sys/bc_desktop/tenanta/session_contexts format=html controller=BatchConnect::SessionContextsController action=create status=302 duration=19996.50 view=0.00 location=https://ood-tenanta.leomed.ethz.ch/pun/sys/dashboard/batch_connect/sessions"
App 126174 output: [2023-08-09 09:50:20 +0200 ]  INFO "execve = [{}, \"ssh\", \"-t\", \"-p\", \"22\", \"-o\", \"BatchMode=yes\", \"-o\", \"UserKnownHostsFile=/dev/null\", \"-o\", \"StrictHostKeyChecking=no\", \"bcasano@login-tenanta-01\", \"tmux\", \"list-panes\", \"-aF\", \"\\\\#\\\\{session_name\\\\},\\\\#\\\\{session_created\\\\},\\\\#\\\\{pane_pid\\\\}\"]"
App 126174 output: [2023-08-09 09:50:21 +0200 ] ERROR "157 is not a valid LinuxHost adapter id because it is missing the '@'."
App 126174 output: [2023-08-09 09:50:21 +0200 ]  INFO "method=GET path=/pun/sys/dashboard/batch_connect/sessions format=html controller=BatchConnect::SessionsController action=index status=200 duration=1733.13 view=28.24"

Reviewing the session output logs /cluster/home/bcasano/ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/tenanta/output/79d6b124-9a6c-43d6-b81f-4f52ccb1b740 I see the job is trying to connect to a different host.

connection.yml

host: compute-tenanta-01
port: 5902
password: SOMEPASSWORD
display: 2
websocket: 21984
spassword: SOMEOTHERPASSWORD

output.log

Setting VNC password...
Starting VNC server...

Desktop 'TurboVNC: compute-tenanta-01:2 (bcasano)' started on display compute-tenanta-01:2

Log file is vnc.log
Successfully started VNC server on compute-tenanta-01:5902...
Script starting...
Starting websocket server...
/cluster/home/bcasano/ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/tenanta/output/79d6b124-9a6c-43d6-b81f-4f52ccb1b740/script.sh: line 7: module: command not found
Launching desktop 'xfce'...
WebSocket server settings:
  - Listen on :21984
  - No SSL/TLS support (no cert file)
  - Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
/usr/bin/iceauth:  creating new authority file /run/user/528867/ICEauthority

(xfce4-session:1546229): xfce4-session-WARNING **: 12:47:36.326: xfsm_manager_load_session: Something wrong with /cluster/home/bcasano/.cache/sessions/xfce4-session-compute-tenanta-01:2, Does it exist? Permissions issue?

The line 7: module: command not found error seems to be because it’s running the default script from /var/www/ood/apps/sys/bc_desktop/template/script.sh.erb.

Just in case, I removed slurm-client package from the host but I’m still seeing the same behavior.

Please, let me know if you need any other logs or something. I get the impression this might be a problem with my Ansible YAML configurations but I’m unable to see it.