Ticket 7046 - After upgrade in slurm18, epoch 0 start_time has not effect in sacct -j jobid request
Summary: After upgrade in slurm18, epoch 0 start_time has not effect in sacct -j jobid...
Status: RESOLVED DUPLICATE of ticket 6697
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 18.08.6
Hardware: Linux Linux
: 3 - Medium Impact
Assignee: Albert Gil
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-05-17 07:04 MDT by Regine Gaudin
Modified: 2019-05-17 09:38 MDT (History)
2 users (show)

See Also:
Site: CEA
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 Regine Gaudin 2019-05-17 07:04:19 MDT
After upgrade of slurmdbd and controller in slurm-18.08.06, 
sacct -j jobid does not allow to have jobid accounting info despite epoch 0 seems to be used while sacct -j jobid -S date is ok

1) On controller or client in slurm-18

[root@vm1 ~]# which sacct
/usr/bin/sacct
[root@vm1 ~]#  rpm -qf /bin/sacct
slurm-18.08.6-2.x86_64

root@vm1 ~]# sacct -j 2
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 


[root@vm1 ~]# sacct -j 2 -S 2019-05-16 (yesterday)
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 


[root@vm1 ~]#  sacct -j 2 -S 2019-05-16 -v
sacct: Jobs Eligible in the time window from Thu May 16 00:00:00 2019 to Fri May 17 12:56:23 2019
sacct: Accounting storage SLURMDBD plugin loaded
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 

[root@vm1 ~]#  sacct -j 2  -v
sacct: Jobs Eligible in the time window from Epoch 0 to Fri May 17 12:56:28 2019
sacct: Accounting storage SLURMDBD plugin loaded
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
[root@vm1 ~]#


2)While on client in slurm 17 (slurmdbd 18)

[root@vm3 ~]# which sacct
/usr/bin/sacct

[root@vm3 ~]# rpm -qf /usr/bin/sacct
slurm-17.11.6-1.x86_64

       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 

[root@vm3 ~]# sacct -j 2 -S 2019-05-16
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 

[root@vm3 ~]# sacct -j 2 -v
sacct: Jobs eligible from Thu Jan 01 00:00:00 1970 - Now
sacct: Accounting storage SLURMDBD plugin loaded with AuthInfo=(null)
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 

[root@vm3 ~]# sacct -j 2 -S 2019-05-16 -v
sacct: Jobs eligible from Thu May 16 00:00:00 2019 - Now
sacct: Accounting storage SLURMDBD plugin loaded with AuthInfo=(null)
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                 valid         vm       root         48     FAILED      2:0 
2.0               valid                  root          3     FAILED      2:0 

Many CEA epilogs script are using sacct -j so problem is relatively important

Thanks
 
Regine
Comment 1 Albert Gil 2019-05-17 09:38:27 MDT
Hi Regine,

You are totally right and this is a known problem in 18.08.6 already fixed in 18.08.7. See bug 6697 for more details.

Sorry for the inconveniences,
Albert

*** This ticket has been marked as a duplicate of ticket 6697 ***