Monitoring and Troubleshooting

Check the Cluster

Connect to the controller and use the Slurm commands on the command line:

onevm ssh <CONTROLLER_VM_ID>
CommandShows
sinfoPartitions and the state of each node
scontrol show nodesCPUs, memory, GPUs and state of each node
squeuePending and running jobs
onegate service showThe VMs of the service, as OneGate sees them
systemctl status slurmctldThe Slurm controller daemon

On a worker, systemctl status slurmd shows the Slurm node daemon.

Appliance Logs and Status

Every VM of the service writes the same files:

FileContent
/etc/one-appliance/statusbootstrap_success when the appliance finished without errors
/var/log/one-appliance/configure.logLog of the configuration at each boot
/var/log/one-appliance/bootstrap.logLog of the last stage
/var/log/one-appliance/install.logLog of the image build

The reconciler of the controller writes to the journal.

journalctl -u oneslurm-reconcile

Common Problems

SymptomLikely causeFix
The service stays in DEPLOYING and no worker appearsThe controller did not publish READY=YESRead configure.log on the controller
onegate service show prints Service <id> not foundOneGate cannot reach OneFlowSet :oneflow_server: in /etc/one/onegate-server.conf
Worker log shows Could not discover Slurm controller through OneGateThe worker cannot read the controller dataCheck OneGate from the worker with onegate service show
Worker log shows Cannot connect to Slurm controller at <ip>:6817Port 6817 is closed between the worker and the controllerOpen 6817/TCP in the security groups and firewalls
A node stays DOWN after a scale downThe worker VM stopped without a normal shutdownWait about one minute for the reconciler, then check journalctl -u oneslurm-reconcile
A node is DRAIN with the reason removed from OneFlow serviceIts VM left the service while jobs were runningCancel the jobs, or wait for them, then delete the node with scontrol delete NodeName=<node>
getent passwd <user> prints nothingSSSD does not reach LDAP, or the user is not in ou=PeopleCheck systemctl status sssd and the LDAP inputs
/home is not mountedThe NFS export is wrong or not reachableCheck the input format host:/export and run findmnt /home

Check the Optional Features

FeatureCommand on the controller
LDAP usersgetent passwd <user>, getent group <group> and srun -N1 -n1 getent passwd <user>
NFSfindmnt /home and srun -N1 -n1 findmnt /home
GPUssrun -N1 -n1 --gres=gpu:1 nvidia-smi -L
InfiniBandscontrol show config | grep MpiDefault