| Summary: | RawUsage not updating for users with mixed-case usernames | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Jeff Salveter-Taylor <jeffrey.salveter-taylor> |
| Component: | Scheduling | Assignee: | Scott Hilton <scott> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 3 - Medium Impact | ||
| Priority: | --- | ||
| Version: | 20.11.2 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | InterDigital | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
| Attachments: |
slurm.conf
slurmdbd.conf Output of 'sacct -u Senay.Negusse --format=user,uid,jobid,state,CPUTimeRAW' |
||
|
Description
Jeff Salveter-Taylor
2021-07-13 15:31:59 MDT
Any updates? Jeff, Can I get your slurm.conf and sshare output for the affected user(s). -Scott Created attachment 20376 [details]
slurm.conf
User Senay.Negusse has run thousands of jobs today, his RawUsage should not be 0.
sshare -u Senay.Negusse
Account User RawShares NormShares RawUsage EffectvUsage FairShare
-------------------- ---------- ---------- ----------- ----------- ------------- ----------
root 0.000000 3762485 1.000000
allusers 10000 0.999900 3762485 1.000000
allusers senay.neg+ 100 0.028571 0 0.000000 0.972222
Jeff, Can I also get your slurmdbd.conf -Scott Created attachment 20393 [details]
slurmdbd.conf
Attaching slurmdbd.conf
Jeff,
Can I also get the output of:
>sacctmgr show assoc where user=Senay.Negusse
>sacctmgr show assoc where user=senay.negusse
-Scott
sacctmgr show assoc where user=Senay.Negusse Cluster Account User Partition Share Priority GrpJobs GrpTRES GrpSubmit GrpWall GrpTRESMins MaxJobs MaxTRES MaxTRESPerNode MaxSubmit MaxWall MaxTRESMins QOS Def QOS GrpTRESRunMin ---------- ---------- ---------- ---------- --------- ---------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- ------------- kopgrid allusers senay.neg+ 100 normal sacctmgr show assoc where user=senay.negusse Cluster Account User Partition Share Priority GrpJobs GrpTRES GrpSubmit GrpWall GrpTRESMins MaxJobs MaxTRES MaxTRESPerNode MaxSubmit MaxWall MaxTRESMins QOS Def QOS GrpTRESRunMin ---------- ---------- ---------- ---------- --------- ---------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- ------------- kopgrid allusers senay.neg+ 100 normal And a couple jobs from the output of
>sacct -u Senay.Negusse --format=user,jobid,state,CPUTimeRAW
>sacct -u senay.negusse --format=user,jobid,state,CPUTimeRAW
Also show the uid
>sacct -u Senay.Negusse --format=user,uid,jobid,state,CPUTimeRAW
>sacct -u senay.negusse --format=user,uid,jobid,state,CPUTimeRAW
Created attachment 20394 [details]
Output of 'sacct -u Senay.Negusse --format=user,uid,jobid,state,CPUTimeRAW'
Output of 'sacct -u Senay.Negusse --format=user,uid,jobid,state,CPUTimeRAW'
sacct -u senay.negusse --format=user,uid,jobid,state,CPUTimeRAW sacct: error: Invalid user id: senay.negusse Jeff, Ok, I understand what is going on. sshare is looking for senay.negusse but all the jobs have Senay.Negusse. Thus you get rawusage=0. The short answer is you need the correct case version of the username in slurm. You do this by adding this line to your slurmbdb.conf. >Parameters=PreserveCaseUser Afterwards you can update the user to the correct upper case version in slurm accounting. >sacctmgr update user senay.negusse set newname=Senay.Negusse -Scott Thanks Scott, that fixed the problem. Mixed-case usernames now incur the proper RawUsage. Please close this bug. Closing Bug |