Ticket 19894 - Error with error: _refresh_assoc_mgr_qos_list and Job has invalid account
Summary: Error with error: _refresh_assoc_mgr_qos_list and Job has invalid account
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Scheduling (show other tickets)
Version: 23.11.6
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2024-05-16 03:09 MDT by joao.damas
Modified: 2024-05-16 03:09 MDT (History)
0 users

See Also:
Site: -Other-
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description joao.damas 2024-05-16 03:09:56 MDT
Overview: 

When submitting a job with sbatch (and not srun) on vanilla Slurm cluster without accounting, the following is written in the slurmctld log:

error: _refresh_assoc_mgr_qos_list: no new list given back keeping cached one.
sched: JobId=2 has invalid account

Steps to reproduce:

1) Create a vanilla Slurm cluster (version 23.11.6) without accounting (only slurmd and slurmctld daemons) and the following slurm.conf:

```
ClusterName=Develop
SlurmctldHost=head

# Slurm configuration
AuthType=auth/munge
CryptoType=crypto/munge
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPort=6817
SlurmdLogFile=/var/log/slurm/slurmd.log
SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/var/spool/slurmd
SlurmUser=slurm
StateSaveLocation=/var/spool/slurmctld

# Nodes
NodeName=worker1 CoresPerSocket=2 Sockets=1 ThreadsPerCore=1
NodeName=worker2 CoresPerSocket=2 Sockets=1 ThreadsPerCore=1

# Partitions
PartitionName=develop Default=YES MaxTime=UNLIMITED Nodes="worker1,worker2"
```

2) Run a simple job (I tried a script that just executes a sleep) with "sbatch script.sh", no extra options

Actual Results:

The job actually executes, but the following is written to the slurmctld log:

error: _refresh_assoc_mgr_qos_list: no new list given back keeping cached one.
sched: JobId=2 has invalid account

The interval between the submission and execution can be a few millisseconds, which means that it's almost unnoticeable, but sometimes can take a few seconds, which means that "squeue" reports the job to be queued and the Reason as "Invalid account".

Expected Results:

The job should run without any "Invalid account" reason and the log should not show any error.

Build Date & Hardware:

We built from source on 2024-5-13 for CentOS Linux release 7.9.2009 (we know the OS is old, but RH has extended its support)