[slurm-users] error: user <UID> not found

Diego Zuccato diego.zuccato at unibo.it
Tue Sep 29 13:18:10 UTC 2020


Hello all.

One of the users is unable to submit jobs to our cluster.

The first time he tries, he gets
$ sbatch test.job
sbatch: fatal: Invalid user id: 621049927
then:
$ sbatch test.job
sbatch: error: Batch job submission failed: Invalid account or
account/partition combination specified

In slurmctl.log I see:
[2020-09-29T13:55:20.018] error: User 621049927 not found
[2020-09-29T13:55:20.019] _job_create: invalid account or partition for
user 621049927, account '(null)', and partition 'matrix'
[2020-09-29T13:55:20.019] _slurm_rpc_submit_batch_job: Invalid account
or account/partition combination specified

(621049927 is the user's correct UID).

I suspected a PBIS glitch, but both "id studenti#name.surname" and "id
UID" returned the correct info.

I found an old thread suggesting to add DefaultAccount, and I tried that
even if it was already done by the script that imports AD users in Slurm
accounting.
# sacctmgr modify user studenti#name.surname cluster=oph set
DefaultAccount=materia

The db seems OK:
# sacctmgr list user STUDENTI#name.surname WithAssoc
      User   Def Acct     Admin    Cluster    Account  Partition
Share MaxJobs MaxNodes  MaxCPUs MaxSubmit     MaxWall  MaxCPUMins
           QOS   Def QOS
---------- ---------- --------- ---------- ---------- ----------
--------- ------- -------- -------- --------- ----------- -----------
-------------------- ---------
studenti#+    materia      None        oph    materia
 2                                  20
     normal

What am I missing?

Tks.

-- 
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786



More information about the slurm-users mailing list