Issue with auto_accounts

Hello,

we recently upgraded OOD from 4.0.3 to 4.1.4. After the upgrade, auto_accounts field is empty and doesn’t list any slurm accounts.

OOD_BC_DYNAMIC_JS=true
OOD_BC_SIMPLE_AUTO_ACCOUNTS=true

Configuration is still in /etc/ood/config/apps/dashboard/env.

Can you help me how to debug this error?

You may be able to see an error in /var/log/ondemand-nginx/$USER/error.log.

Beyond that, in that same log file, it’ll show the command we issue which can help you debug by issuing the same command.

Hello Jeff,

I checked log and tested the slurm code but couldn’t find a problem.

App 1441553 output: [2026-03-25 16:57:59 -0400 ] INFO “execve = [{"SLURM_CONF"=>"/opt/slurm/current/etc/slurm.conf"}, "/opt/slurm/current/bin/sacctmgr", "-nP", "show", "users", "withassoc", "format=account,qos", "where", "user=gp4r", "cluster=rivanna"]”
App 1441553 output: [2026-03-25 16:57:59 -0400 ] DEBUG “Rendering layout layouts/application.html.erb”
App 1441553 output: [2026-03-25 16:57:59 -0400 ] DEBUG “Rendering dashboard/index.html.erb within layouts/application”
App 1441553 output: [2026-03-25 16:57:59 -0400 ] INFO “method=GET path=/pun/sys/dashboard/ format=html controller=DashboardController action=index status=200 allocations=225429 duration=270.91 view=22.13”
App 1441553 output: [2026-03-25 16:58:03 -0400 ] DEBUG “Rendering layout layouts/application.html.erb”
App 1441553 output: [2026-03-25 16:58:03 -0400 ] DEBUG “Rendering batch_connect/sessions/index.html.erb within layouts/application”
App 1441553 output: [2026-03-25 16:58:03 -0400 ] INFO “method=GET path=/pun/sys/dashboard/batch_connect/sessions format=html controller=BatchConnect::SessionsController action=index status=200 allocations=63936 duration=57.52 view=21.08”
App 1441553 output: [2026-03-25 16:58:03 -0400 ] DEBUG “Rendering batch_connect/sessions/index.turbo_stream.erb”
App 1441553 output: [2026-03-25 16:58:03 -0400 ] INFO “method=GET path=/pun/sys/dashboard/batch_connect/sessions format=turbo_stream controller=BatchConnect::SessionsController action=index status=200 allocations=41954 duration=36.74 view=0.79”
App 1441553 output: [2026-03-25 16:58:08 -0400 ] DEBUG “Rendering layout layouts/application.html.erb”
App 1441553 output: [2026-03-25 16:58:08 -0400 ] DEBUG “Rendering batch_connect/session_contexts/new.html.erb within layouts/application”
App 1441553 output: [2026-03-25 16:58:08 -0400 ] INFO “execve = ["git", "describe", "–always", "–tags"]”
App 1441553 output: [2026-03-25 16:58:08 -0400 ] INFO “method=GET path=/pun/sys/dashboard/batch_connect/sys/uva_matlab_web/session_contexts/new format=html controller=BatchConnect::SessionContextsController action=new status=200 allocations=82604 duration=90.98 view=52.13”

Actually I found the issue. Slurm got empty output when using cluster=rivanna. It worked okay without cluster. How to make ood to ignore cluster=?

Hello Jeff,

Changed cluster name to match slurm configuration and updated apps. It’s working now.

Thank you.

2 Likes