Since upgrading to slurm 15.08.1 on Ubuntu 14.04.3 it is required to
restart mysql, slurmdbd, and slurmctl daemons before a new user receives
access to submit a job (accounting enabled).
$ sacctmgr add user ptrimmer defaultaccount=adamgrp partition=serial
cluster=farm
$ sacctmgr dump farm
...
User - 'ptrimmer':Partition='serial':DefaultAccount='adamgrp':Fairshare=1
...
As user ptrimmer:
$ srun -p serial date
srun: error: Unable to allocate resources: Invalid account or
account/partition combination specified
On the slurm server as root:
# service mysql stop
mysql stop/waiting
#service slurm-llnl-slurmdbd stop
* Stopping slurm-llnl database server interface
[ OK ]
# service slurm-llnl stop
* Stopping slurm central management daemon slurmctld
[ OK ]
slurmctld is stopped
# service mysql start
mysql start/running, process 6270
# service slurm-llnl-slurmdbd start
* Starting slurm-llnl database server interface
[ OK ]
# service slurm-llnl start
* Starting slurm central management daemon slurmctld
Back to user ptrimmer:
ptrimmer@farm:~$ srun -p serial date
srun: job 5898165 queued and waiting for resources
srun: job 5898165 has been allocated resources
Mon Dec 28 12:57:20 PST 2015
I also tried running
$ scontrol reconfig
on the slurm server before restarting the slurm daemons but that did not
help.
Is this proper? In slurm 2.6 I did not have to do this.
thanks,
Terri Knight