forked from cluslab/metastack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
12775 lines (12464 loc) · 720 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This file describes changes in recent versions of Slurm. It primarily
documents those changes that are of interest to users and administrators.
* Changes in Slurm 22.05.8
==========================
-- Fix potential deadlock at slurmctld startup when job has invalid qos.
-- Avoid unnecessary call to clusteracct_storage_g_cluster_tres() when pinging
dynamic nodes. This avoids significant slowdowns for slurmctld when
ping_nodes() calls all nodes to re-register.
-- openapi/dbv0.0.3[6-8] - fix segfault that could arrise from Slurm database
connnection failing.
-- Fix regression introduced in 22.05.0rc1 when updating a NodeName=<nodelist>
with NodeAddr and/or NodeHostname if the specified nodelist wasn't sorted.
-- openapi/v0.0.38 - change type of nice field for job submissions to integer
from string.
-- openapi/v0.0.38 - add oversubscribe option to job submission properties.
-- openapi/v0.0.38 - fix incorrect data used to populate "time/start" field
for jobs.
-- openapi/dbv0.0.38 - avoid dumping failure if preempt qos with level 0 is
provided by slurmdbd query.
-- Avoid an fd leak when lib dir for sbcast fails to be created.
-- common/slurmdbd_pack - fix env and script hash when unpacking a 21.08
dbd_job_start_msg_t.
-- Fix a race between job_container/tmpfs, cncu, x11 setup and adoption of pids
in cray with pam_slurm_adopt.
* Changes in Slurm 22.05.7
==========================
-- Fix slurmctlds in a federation not recovering a lost connection until a
slurmctld restart or a federation update.
-- Fix incorrectly rejecting jobs that request GRES on multiple sockets and
--gres-flags=enforce-binding.
-- Fix job core selection with --gres-flags=enforce-binding: this fixes cases
where enforce-binding was not respected.
-- openapi/v0.0.38 - set assoc_id resolution failure as a debug log instead of
an error log.
-- Fix issues when running in FrontEnd mode.
-- Fix srun and salloc I/O code to set keepaliveinterval/keepalivetime on
connections.
-- Fix overwrite race of cont_id in cgroup/v2 when using task/cgroup with
proctrack/cray_aries.
-- Fix node remaining allocated after a reconfig with a completing job that
has an EpilogSlurmctld instance still running.
-- openapi/dbv0.0.38 - fix a cast to a wrong type
-- openapi/dbv0.0.38 - correct issues where modifying association fields were
ignored.
-- openapi/dbv0.0.38 - correct issue where 16 bit integers were not able to be
unset.
-- openapi/dbv0.0.38 - correct issue where 16 & 32 bit integers were not able
to be unset.
-- Fix 'scontrol show hostlist' to read off a pipe correctly.
-- Fix 'scontrol reconfigure' with configless enabled to send updated configs
to 21.08 nodes correctly. (22.05 nodes are unaffected.)
-- Fix assertion and locks for dynamic node registrations with rpc queueing.
-- rest_auth/local - avoid logging root access as an error but instead as a
normal info log.
-- slurmrestd - switch users earlier on startup to avoid sockets being made as
root.
-- slurmrestd - disable umask during socket creation as the authentication is
handled by Slurm instead of file ACLs.
-- Fix sbcast, srun --bcast, sstat not working with cloud/dynamic nodes.
-- sacctmgr - Allow removal of user's default account when AllowNoDefAcct=yes.
-- Fix segfault caused by race condition when a reconfiguration is requested
while slurmd initializes.
-- openapi/v0.0.38 - avoid divison by zero causing slurmrestd to crash during
diag queries.
-- Update default values for text/blob columns in the database if upgrading
to MariaDB >= 10.2.1 from a pre-10.2.1 version or from MySQL to avoid
sacctmgr failures.
-- Fix several minor memory leaks in the cgroup/v2 plugin.
-- Fix possible issue when enabling controllers with long names in cgroup/v2.
-- Fix potential segfault in slurmd when using acct_gather_energy/ipmi.
-- Fix controller being able to contact non-addressable step hosts.
-- Allow setting SuspendTime to -1 when used on a partition.
-- openapi/v0.0.38 - fix maximum_memory_per_node description typo.
-- openapi/v0.0.38 - add maximum_memory_per_cpu to GET /partitions
-- openapi/v0.0.38 - add default_memory_per_node to GET /partitions
-- Fix dynamic node losing dynamic node status when changing state to FUTURE.
-- Fix adoption into most recent job in pam_slurm_adopt and cgroup/v2.
-- gres/shard - Fix plugin_name definition to print correctly in debug lines.
* Changes in Slurm 22.05.6
==========================
-- Fix a partition's DisableRootJobs=no from preventing root jobs from working.
-- Fix the number of allocated cpus for an auto-adjustment case in which the
job requests --ntasks-per-node and --mem (per-node) but the limit is
MaxMemPerCPU.
-- Fix POWER_DOWN_FORCE request leaving node in completing state.
-- Do not count magnetic reservation queue records towards backfill limits.
-- Clarify error message when --send-libs=yes or BcastParameters=send_libs
fails to identify shared library files, and avoid creating an empty
"<filename>_libs" directory on the target filesystem.
-- Fix missing CoreSpec on dynamic nodes upon slurmctld restart.
-- Fix node state reporting when using specialized cores.
-- Fix number of CPUs allocated if --cpus-per-gpu used.
-- Add flag ignore_prefer_validation to not validate --prefer on a job.
-- Fix salloc/sbatch SLURM_TASKS_PER_NODE output environment variable when the
number of tasks is not requested.
-- Permit using wildcard magic cookies with X11 forwarding.
-- cgroup/v2 - Add check for swap when running OOM check after task
termination.
-- Fix deadlock caused by race condition when disabling power save with a
reconfigure.
-- Fix memory leak in the dbd when container is sent to the database.
-- openapi/dbv0.0.38 - correct dbv0.0.38_tres_info.
-- Fix node SuspendTime, SuspendTimeout, ResumeTimeout being updated after
altering partition node lists with scontrol.
-- jobcomp/elasticsearch - fix data_t memory leak after serialization.
-- Fix issue where '*' wasn't accepted in gpu/cpu bind.
-- Fix SLURM_GPUS_ON_NODE for shared GPU gres (MPS, shards).
-- Add SLURM_SHARDS_ON_NODE environment variable for shards.
-- Fix srun error with overcommit.
-- Fix bug in core selection for the default cyclic distribution of tasks
across sockets, that resulted in random task launch failures.
-- Fix core selection for steps requesting multiple tasks per core when
allocation contains more cores than required for step.
-- gpu/nvml - Fix MIG minor number generation when GPU minor number
(/dev/nvidia[minor_number]) and index (as seen in nvidia-smi) do not match.
-- Fix accrue time underflow errors after slurmctld reconfig or restart.
-- Surpress errant errors from prolog_complete about being unable to locate
"node:(null)".
-- Fix issue where shards were selected from multiple gpus and failed to
allocate.
-- Fix step cpu count calculation when using --ntasks-per-gpu=.
-- Fix overflow problems when validating array index parameters in slurmctld
and prevent a potential condition causing slurmctld to crash.
-- Remove dependency on json-c in slurmctld when running with power saving.
Only the new "SLURM_RESUME_FILE" support relies on this, and it will be
disabled if json-c support is unavailable instead.
* Changes in Slurm 22.05.5
==========================
-- Fix node becoming IDLE while in an invalid registration state.
-- When a job is completing avoid potential dereference.
-- Avoid setting preempt_time for a job erroneously.
-- Fix situation where we don't requeue correctly when a job is finishing.
-- job_container/tmpfs - Avoid leaking namespace file descriptor.
-- common/slurm_opt - fix memory leak in client commands or slurmrestd when the
--chdir option is set after option reset.
-- openapi/dbv0.0.38 - gracefully handle unknown associations assigned to jobs.
-- openapi/dbv0.0.38 - query all associations to avoid errors while dumping
jobs.
-- Load hash plugin at slurmstepd launch time to prevent issues loading the
plugin at step completion if the Slurm installation is upgraded.
-- Fix gcc 12.2.1 compile errors.
-- Fix future magnetic reservations preventing heterogeneous jobs from
starting.
-- Prevent incorrect error message from being generated for operator/admins
using the 'scontrol top' command.
-- slurmrestd - correct issue where larger requests could result in a single
byte getting removed from inside of the POST request.
-- Fix regression in task count calculation for --ntasks-per-gpu with multiple
nodes.
-- Update nvml plugin to match the unique id format for MIG devices in new
Nvidia drivers.
-- Fix segfault on backup slurmdbd if no QoS is present in DB.
-- Fix clang 11 compile errors.
-- Fix task distribution calculations across sockets with
--distribution=cyclic.
-- Fix task distribution calculations with --ntasks-per-gpu specified without
an explicit --ntasks value.
-- Fix job arrays not showing correct features.
-- Fix job having wrong features used when using preferred features.
-- Fix task/cray_aries error finishing an interactive step, avoiding correct
cleanup.
-- Correctly set max_nodes when --ntasks=1.
-- Fix configure script on FreeBSD.
* Changes in Slurm 22.05.4
==========================
-- Fix return code from salloc when the job is revoked prior to executing user
command.
-- Fix minor memory leak when dealing with gres with multiple files.
-- Fix printing for no_consume gres in scontrol show job.
-- sinfo - Fix truncation of very large values when outputting memory.
-- Fix multi-node step launch failure when nodes in the controller aren't in
natural order. This can happen with inconsistent node naming (such as
node15 and node052) or with dynamic nodes which can register in any order.
-- job_container/tmpfs - Prevent reading the plugin config multiple times per
step.
-- Fix wrong attempt of gres binding for gres w/out cores defined.
-- Fix build to work with '--without-shared-libslurm' configure flag.
-- Fix power_save mode when repeatedly configuring too fast.
-- Fix sacct -I option.
-- Prevent jobs from being scheduled on future nodes.
-- Fix memory leak in slurmd happening on reconfigure when CPUSpecList used.
-- Fix sacctmgr show event [min|max]cpus.
-- Fix regression in 22.05.0rc1 where a prolog or epilog that redirected stdout
to a file could get erroneously killed, resulting in job launch failure
(for the prolog) and the node being drained.
-- cgroup/v1 - Make a static variable to remove potential redundant checking
for if the system has swap or not.
-- cgroup/v1 - Add check for swap when running OOM check after task
termination.
-- job_submit/lua - add --prefer support
-- cgroup/v1 - fix issue where sibling steps could incorrectly be accounted as
OOM when step memory limit was the same as the job allocation. Detect OOM
events via memory.oom_control oom_kill when exposed by the kernel instead of
subscribing notifications with eventfd.
-- Fix accounting of oom_kill events in cgroup/v2 and task/cgroup.
-- Fix segfault when slurmd reports less than configured gres with links after
a slurmctld restart.
-- Fix TRES counts after node is deleted using scontrol.
-- sched/backfill - properly handle multi-reservation HetJobs.
-- sched/backfill - don't try to start HetJobs after system state change.
-- openapi/v0.0.38 - add submission of job->prefer value.
-- slurmdbd - become SlurmUser at the same point in logic as slurmctld to match
plugins initialization behavior. This avoids a fatal error when starting
slurmdbd as root and root cannot start the auth or accounting_storage
plugins (for example, if root cannot read the jwt key).
-- Fix memory leak when attempting to update a job's features with invalid
features.
-- Fix occasional slurmctld crash or hang in backfill due to invalid pointers.
-- Fix segfault on Cray machines if cgroup cpuset is used in cgroup/v1.
* Changes in Slurm 22.05.3
==========================
-- job_container/tmpfs - cleanup containers even when the .ns file isn't
mounted anymore.
-- Ignore the bf_licenses option if using sched/builtin.
-- Do not clear the job's requested QOS (qos_id) when ineligible due to QOS.
-- Emit error and add fail-safe when job's qos_id changes unexpectedly.
-- Fix timeout value in log.
-- openapi/v0.0.38 - fix setting of DefaultTime when dumping a partition.
-- openapi/dbv0.0.38 - correct parsing association QOS field.
-- Fix LaunchParameters=mpir_use_nodeaddr.
-- Fix various edge cases where accrue limits could be exceeded or cause
underflow error messages.
-- Fix issue where a job requesting --ntasks and --nodes could be wrongly
rejected when spanning heterogeneous nodes.
-- openapi/v0.0.38 - detect when partition PreemptMode is disabled
-- openapi/v0.0.38 - add QOS flag to handle partition PreemptMode=within
-- Add total_cpus and total_nodes values to the partition list in
the job_submit/lua plugin.
-- openapi/dbv0.0.38 - reject and error on invalid flag values in well defined
flag fields.
-- openapi/dbv0.0.38 - correct QOS preempt_mode flag requests being silently
ignored.
-- accounting_storage/mysql - allow QOS preempt_mode flag updates when GANG
mode is requested.
-- openapi/dbv0.0.38 - correct QOS flag modifications request being silently
ignored.
-- sacct/sinfo/squeue - use openapi/[db]v0.0.38 for --json and --yaml modes.
-- Improve error messages when using configless and fetching the config fails.
-- Fix segfault when reboot_from_controller is configured and scontrol reboot
is used.
-- Fix regression which prevented a cons_tres gpu job to be submitted to a
cons_tres cluster from a non-con_tres cluster.
-- openapi/dbv0.0.38 - correct association QOS list parsing for updates.
-- Fix rollup incorrectly divying up unused reservation time between
associations.
-- slurmrestd - add SLURMRESTD_SECURITY=disable_unshare_files environment
variable.
-- Update rsmi detection to handle new default library location.
-- Fix header inclusion from slurmstepd manager code leading to multiple
definition errors when linking --without-shared-libslurm.
-- slurm.spec - explicitly disable Link Time Optimization (LTO) to avoid
linking errors on systems where LTO-related RPM macros are enabled by
default and the binutils version has a bug.
-- Fix issue in the api/step_io message writing logic leading to incorrect
behavior in API consuming clients like srun or sattach, including a segfault
when freeing IO buffers holding traffic from the tasks to the client.
-- openapi/dbv0.0.38 - avoid job queries getting rejected when cluster is not
provided by client.
-- openapi/dbv0.0.38 - accept job state filter as verbose names instead of
only numeric state ids.
-- Fix regression in 22.05.0rc1: if slurmd shuts down while a prolog is
running, the job is cancelled and the node is drained.
-- Wait up to PrologEpilogTimeout before shutting down slurmd to allow prolog
and epilog scripts to complete or timeout. Previously, slurmd waited 120
seconds before timing out and killing prolog and epilog scripts.
-- GPU - Fix checking frequencies to check them all and not skip the last one.
-- GPU - Fix logic to set frequencies properly when handling multiple GPUs.
-- cgroup/v2 - Fix typo in error message.
-- cgroup/v2 - More robust pattern search for events.
-- Fix slurm_spank_job_[prolog|epilog] failures being masked if a Prolog or
Epilog script is defined (regression in 22.05.0rc1).
-- When a job requested nodes and can't immediately start, only report to
the user (squeue/scontrol et al) if nodes are down in the requested list.
-- openapi/dbv0.0.38 - Fix qos list/preempt not being parsed correctly.
-- Fix dynamic nodes registrations mapping previously assigned nodes.
-- Remove unnecessarily limit on count of 'shared' gres.
-- Fix shared gres on CLOUD nodes not properly initializing.
* Changes in Slurm 22.05.2
==========================
-- Fix a segfault in slurmctld when requesting gres in job arrays.
-- Prevent jobs from launching on newly powered up nodes that register with
invalid config.
-- Fix a segfault when there's no memory.swap.current interface in cgroup/v2.
-- Fix memleak in cgroup/v2.
* Changes in Slurm 22.05.1
==========================
-- Flush the list of Include config files on SIGHUP.
-- Fix and update Slurm completion script.
-- jobacct_gather/cgroup - Add VMem support both for cgroup v1 and v2.
-- Allow subset of node state transitions when node is in INVAL state.
-- Remove INVAL state from cloud node after being powered down.
-- When showing reason UID in scontrol show node, use the authenticated UID
instead of the login UID.
-- Fix calculation of reservation's NodeCnt when using dynamic nodes.
-- Add SBATCH_{ERROR,INPUT,OUTPUT} input environment variables for --error,
--input and --output options respectively.
-- Prevent oversubscription of licenses by the backfill scheduler when not
using the new "bf_licenses" option.
-- Jobs with multiple nodes in a heterogeneous cluster now have access to all
the memory on each node by using --mem=0. Previously the memory limit was
set by the node with the least amount of memory.
-- Don't limit the size of TaskProlog output (previously TaskProlog output was
limited to 4094 characters per line, which limited the size of exported
environment variables or logging to the task).
-- Fix usage of possibly uninitialized buffer in proctrack/cgroup.
-- Fix memleak in proctrack/cgroup proctrack_p_wait.
-- Fix cloud/remote het srun jobs.
-- Fix a segfault that may happen on gpu configured as no_consume.
* Changes in Slurm 22.05.0
==========================
-- openapi/v0.0.38 - add group name to job info
-- openapi/v0.0.38 - add container field to job description.
-- openapi/v0.0.38 - add container to job submission.
-- openapi/[db]v0.0.38 - add container field to job description.
-- openapi/dbv0.0.38 - fix bug where QOS update set various limits to 0.
-- openapi/dbv0.0.38 - properly initialize wckey record.
-- openapi/dbv0.0.38 - properly initialize cluster record.
-- openapi/dbv0.0.38 - gracefully update existing QOSs.
-- Fix x11 forwarding with job_container/tmpfs and without home_xauthority.
-- Fix reconfig of dynamic nodes with gres.
-- Fix corner case issues when removing assocs/qos' while jobs are completing
and a reconfigure happens.
-- Add SlurmdParameters=numa_node_as_socket to use the numa node as a socket.
-- Avoid creating and referencing NULL script/env hash entries when not storing
the job script or job environment.
-- slurmd - If a het component job fails to launch due to a node prolog or
other failure, properly handle the whole het job.
-- Fix possible race condition while handling forwarded messages.
-- Add new SchedulerParameters option "bf_licenses" to track licenses as
within the backfill scheduler.
-- Fix resuming nodes not part of an allocation.
-- Minor memory leak fixes.
-- Use accept4() and pipe2() to ensure new file descriptors are always set
with close-on-exec flag.
-- slurmctld - allow users to request tokens for themselves by name.
-- srun - adjust output of "--mpi=list".
-- Fix "--gpu-bind=single:" having wrong env variables.
-- Sync missing pieces in slurmctld SIGHUP handler with respect to
REQUEST_RECONFIGURE RPC handler.
-- Fixed the behavior of the --states=all option in squeue to actually show
all of the states.
-- job_container - Don't constrain a job using --no-allocate.
-- Fix slurmctld segfault when a step requests a gres without a file.
-- Fix slurmctld segfault when cleaning up an overlapping step.
-- Dynamic node fixes and updates.
-- Added error logging when a node goes into an invalid state so that the user
can still see the reason even if the user set a custom reason beforehand.
-- Remove redundant message when libdbus is found during configure.
-- Fix pmix to honor SrunPortRange.
-- Fix issue with ntasks_per_socket and ntasks_per_core with --exclusive
-- openapi/v0.0.38 - change job parsing error message to reflect reality.
-- Avoid segfault/assert when --thread-spec used with config_overrides
-- Don't send SIGTERM to prematurely in run_command.
-- Add logging to inform where networking errors are occurring on slurmd end.
-- openapi/dbv0.0.38 - Enforce GET /association/ to dump only a single
association.
-- openapi/dbv0.0.38 - Enforce DELETE /association/ to delete only a single
association.
-- openapi/dbv0.0.38 - Add parameters to filter to GET /associations/.
-- openapi/dbv0.0.38 - Add DELETE /associations using parameters to set filters.
-- openapi/dbv0.0.38 - Fix plural form of delete association response schema.
* Changes in Slurm 22.05.0rc1
=============================
-- gres/gpu - Avoid stripping GRES type field during normalization if any
other GRES have a defined type field.
-- burst_buffer/datawarp - free bb_job after stage-out or teardown are done.
-- acct_gather_energy_rsmi has been renamed acct_gather_energy_gpu.
-- Remove support for (non-functional) --cpu-bind=boards.
-- accounting_storage/mysql - ensure new non-HetJobs have het_job_offset NO_VAL
in the database and fix the same field when retrieving older bad records.
-- PreemptMode now works as a condition for qos in sacctmgr.
-- scancel - add "--me" option.
-- gres/gpu - Fix configured/system-detected GRES match for some combinations
for which the sorting affected the expected selection result.
-- openapi/v0.0.38 - Fork existing openapi/v0.0.37 plugin.
-- openapi/dbv0.0.38 - Fork existing openapi/dbv0.0.37 plugin.
-- openapi/v0.0.35 - Plugin has been removed.
-- scrontab - Don't accept extra letters after a '@' repeating pattern.
-- openapi/dbv0.0.38 - Add missing method POST for /associations/.
-- Make DefMemPerCPU/MaxMemPerCPU and DefMemPerNode/MaxMemPerNode precedence
at the global level the same as in partition level, and print an error
if both of a pair are set.
-- openapi/v0.0.38 - Allow strings for JobIds instead of only numerical JobIds
for GET, DELETE, and POST job methods.
-- openapi/v0.0.38 - enable job priority field for job submissions and updates.
-- openapi/v0.0.38 - request node states query includes MIXED state instead of
only allocated.
-- openapi/dbv0.0.38 - Correct tree position of dbv0.0.38_job_step.
-- Enforce all Slurm plugin requirements for plugins specified with absolute
path.
-- Added --prefer option at job submission to allow for 'soft' constraints.
-- Remove support for PMIx 1.x
-- slurmrestd - Unlink unix sockets before binding to avoid errors where
previous run of slurmrestd did not properly cleanup the sockets.
-- Add extra 'EnvironmentFile=-/etc/default/$service' setting to service files.
-- slurmctld/agent - spawn more agent threads in a single _agent_retry().
-- openapi/v0.0.38 - change job response types to more specific types than
generic string.
-- srun - refuse to run on malformed SPANK environment variable.
-- Allow jobs to pack onto nodes already rebooting with the desired features.
-- Reset job start time after nodes are rebooted.
-- Node features (if any) are passed to RebootProgram if run from slurmctld.
-- Fix sending multiple features to RebootProgram.
-- If a task/srun prolog fails don't allow the step to continue running.
-- Fail srun when using invalid --cpu-bind options.
-- cgroup/v1 - Set swappiness at job level instead of at root level.
-- Fix issues where a step's GRES request could never be satisfied but the step
remained pending forever instead of being rejected.
-- openapi/v0.0.38 - Remove errant extra space after JOB_CPUS_SET flag.
-- slurmrestd - refuse to run with gid 0, or under SlurmUser's gid.
-- Storing batch scripts and env vars are now in indexed tables using
substantially less disk space. Those storing scripts in 21.08 will all
be moved and indexed automatically.
-- Run MailProg through slurmscriptd instead of directly fork+exec()'ing
from slurmctld.
-- Add acct_gather_interconnect/sysfs plugin.
-- Fix gpus spanning more resources than needed when usng --cpus-per-gpu.
-- burst_buffer plugins - err_msg added to bb_p_job_validate().
-- burst_buffer plugins - Send user specific error message if permission
denied due to AllowUsers or DenyUsers in burst_buffer.conf.
-- Fatal if the mutually-exclusive JobAcctGatherParams options of UsePss and
NoShared are both defined.
-- Future and Cloud nodes are treated as "Planned Down" in usage reports.
-- Add "condflags=open" to sacctmgr show events to return open/currently down
events.
-- Skip --mem-per-gpu impact on GRES availability when CR_MEMORY not set.
-- Add reservation start time as a new schedulers sorting factor for magnetic
or multi-reservation job queue records.
-- Improve Dynamic Future node startup to load in config with mapped nodename.
-- Add new shard plugin for sharing gpus but not with mps.
-- acct_gather_energy/xcc - add support for Lenovo SD650 V2.
-- Remove cgroup_allowed_devices_file.conf support.
-- sacct -f flag implies -c flag.
-- Node state flags (DRAIN, FAILED, POWERING UP, etc.) will be cleared now if
node state is updated to FUTURE.
-- Clear GRES environment variables for jobs or steps that request --gres=none.
-- slurmctld - Avoid requiring environment to be set when container job is
specified.
-- Move the KeepAliveTime option into CommunicationParameters.
-- slurm.spec - stop explicitly packaging pkgconfig directory to avoid a
conflict with the pkgconfig package.
-- Fix sacctmgr load dump printing incorrect default QOS when no value is set.
-- Fix very early logging in the controller when daemonized
-- Fix possibility of primary group going missing when running jobs submitted
after a user has switched primary groups (eg: with sg).
-- Make it so srun no longer inherits SLURM_CPUS_PER_TASK. It now will only
inherit SRUN_CPUS_PER_TASK.
-- Make HetJob signaling requests using the HetJobId+HetJobOffset format behave
the same as with direct JobId requests with regards to job state and
whole_hetjob considerations.
-- scancel - avoid issuing a RPC for each HetJob non-leader components hit by
using filters (not using jobids) when a RPC is issued for their leader.
-- Make slurmctld call the JobCompPlugin set location operation on SIGUSR2. As
a relevant consequence, the filetxt plugin reopens the file for potential
logrotation.
-- openapi/v0.0.38 - added fields bf_table_size and bf_table_size_mean to
diag query.
-- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
-- openapi/v0.0.38 - add /licenses endpoint.
-- slurmrestd - only compile JWT authentication plugin if libjwt is present.
-- Remove connect_timeout and timeout options from JobCompParams as there's no
longer a connectivity check happening in the jobcomp/elasticsearch plugin
when setting the location off of JobCompLoc.
-- Add %n for NodeName substitution in SlurmdSpoolDir in nss_slurm.conf.
-- job_container/tmpfs - add basic environment variables to InitScript.
-- openapi/dbv0.0.38 - split security entries in openapi.json.
-- openapi/v0.0.38 - Add schema for Slurm meta in responses.
-- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
-- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
errors.
-- openapi/dbv0.0.38 - add failure response contents in openapi.json.
-- openapi/v0.0.38 - add failure response contents in openapi.json.
-- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
-- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
-- openapi/dbv0.0.38 - add missing response field "removed_associations"
in openapi.json
-- openapi/dbv0.0.38 - Correct type from object to array for user assocations
list in openapi.json.
-- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
in openapi.json.
-- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
-- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
-- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
-- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
-- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json.
-- openapi/dbv0.0.38 - Add missing field for adding clusters in clusters list
in openapi.json.
-- openapi/v0.0.38 - correct parameter styles from "simple" to "form".
-- openapi/dbv0.0.38 - correct parameter styles from "simple" to "form".
-- openapi - add flags to slurm_openapi_p_get_specification().
-- openapi/v0.0.38 - use new operationId generation to ensure uniqueness.
-- openapi/dbv0.0.38 - use new operationId generation to ensure uniqueness.
-- slurmstepd - avoid possible race condition while updating step return code
during job startup.
-- slurmstepd - report and log I/O setup failure using corresponding error
code during job start.
-- Do not run the job if PrologSlurmctld times out.
-- Fix SPANK plugin calls slurm_spank_job_prolog and slurm_spank_job_epilog
not properly respecting PrologEpilogTimeout.
-- Add support for 'scontrol delete <ENTITY> <ID>' format alongside the already
expected 'scontrol delete <ENTITY>=<ID>'.
-- Fix task/cgroup plugin which was not adding stepd to memory cgroup.
-- preempt/qos - add support for WITHIN mode to allow for preemption between
jobs within the same qos.
-- Fix sattach for interactive step.
-- Fix srun -Z when using nss_slurm.
-- Avoid memory leak in srun -Z.
-- openapi/dbv0.0.38 - disable automatic lookup of all HetJob components on
specific job lookups.
-- Add support for hourly reoccurring reservations.
-- openapi/v0.0.38 - Fix misspelling of job parameter time_minimum.
-- openapi/v0.0.38 - Fix misspelling of job parameter cpu_binding_hint.
-- openapi/v0.0.38 - Fix misspelling of job parameter mcs_label
-- openapi/dbv0.0.38 - Fix issue where association's QOS list consisted of IDs
instead of names.
-- Allow nodes to be dynamically added and removed from the system.
-- srun --overlap now allows the step to share all resources (CPUs, memory, and
GRES), where previously --overlap only allowed the step to share CPUs with
other steps.
-- openapi/v0.0.38 - new format for how core and socket allocations are dumped
for jobs.
-- openapi/v0.0.38 - add RPC call statistics to diag endpoint.
-- openapi/[db]v0.0.36 - plugins have been marked as deprecated.
-- sacct - allocations made by srun will now always display the allocation and
step(s). Previously, the allocation and step were combined when possible.
-- Steps now allocate gres according to topo data.
-- Add validation of numbers provided to --gpu-bind=map_gpu and
--gpu-bind=mask_gpu=.
-- Fatal error if CgroupReleaseAgentDir is configured in cgroup.conf. The
option has long been obsolete.
-- cons_tres - change definition of the "least loaded node" (LLN) to the
node with the greatest ratio of available cpus to total cpus.
-- Fatal if more than one burst buffer plugin is configured.
-- Added keepaliveinterval and keepaliveprobes options to
CommunicationParameters.
-- Correctly failover to backup slurmdbd if the primary slurmdbd node crashes.
-- Add support to ship Include configuration files with configless.
-- Fix issues with track_script cleanup.
-- Add new max_token_lifespan limit to AuthAltParameters.
-- sacctmgr - allow Admins to update AdminComment and SystemComment fields.
-- slurmd - Cache node features at startup and scontrol reconfig. It avoids
executing node_features/helpers scripts in the middle of a job. This clould
potentially affect job performance.
-- Pass and use alias_list through credential instead of environment variable.
-- Add ability to get host addresses from nss_slurm.
-- Enable reverse fanout for cloud+alias_list jobs.
-- Disallow slurm.conf node configurations with NodeName=ALL.
-- Add support to delete/update nodes by specifying nodesets or the 'ALL'
keyword alongside the delete/update node message nodelist expression (i.e.
'scontrol delete/update NodeName=ALL' or 'scontrol delete/update
NodeName=ns1,nodes[1-3]').
-- Add support for PMIx v4
-- Add support for PMIx v5
-- Correctly load potentially NULL values from slurmdbd archive files.
-- Add slurmdbd.conf option AllowNoDefAcct to remove requirement for users to
have a default account.
-- Fix issues related to users with very large uids.
-- common/openapi - fix bug populating methods for parameter-less endpoint.
-- slurmrestd/operations - fix memory leak when resolving bad path.
-- sacctmgr - improve performance of query generation for archive load.
-- sattach - allow connecting to interactive steps with JOBID.interactive
-- Fix for --gpus-per-task parsing when using --cpus-per-gpu and multiple gpu
types in the same request.
-- rest_auth/local - always log when new slurmdbd connection fails.
-- openapi/dbv0.0.38 - gracefully update existing associations.
-- Improve auto-detection of pmix
-- openapi/dbv0.0.38 - Add missing method POST for /qos/.
-- scrontab - On errors, print 1-index line numbers instead of 0-indexing them.
-- openapi/dbv0.0.38 - Correct OpenAPI specification for diag request.
-- openapi/dbv0.0.38 - reject requests with incorrect TRES specification.
-- sacctmgr - reject requests with incorrect TRES specification.
-- Correct issue where conversion to/from JSON/YAML may have resulted in empty
strings being replaced with strings containing "null" instead.
-- Attempt to requeue jobs terminated by slurm.conf changes (node vanish, node
socket/core change, etc). Processes may still be running on excised nodes.
Admin should take precautions when removing nodes that have jobs on running
on them.
-- Fix race with task/cgroup memory and jobacctgather/cgroup, the first was
removing the pid from the task_X cgroup directory.
-- openapi/dbv0.0.38 - set default account org and desc to be account name.
-- openapi/dbv0.0.38 - Allow strings for JobId instead of only numerical JobId
for GET job methods.
-- Add switch/hpe_slingshot plugin.
-- cloud_reg_addrs - use hostname from slurmd rather than from munge
credential for NodeHostName.
-- Store assoc usage in parent assoc when deleted to preserve account
fairshare.
-- CVE-2022-29500 - Prevent credential abuse.
-- CVE-2022-29501 - Prevent abuse of REQUEST_FORWARD_DATA.
-- CVE-2022-29502 - Correctly validate io keys.
-- openapi/dbv0.0.38 - set with_deleted to false by default for /user[s].
-- openapi/dbv0.0.38 - add with_deleted input parameter to GET /user[s].
-- openapi/dbv0.0.38 - add deleted flag to /user[s] output.
-- openapi/dbv0.0.38 - set with_deleted to false by default for GET /qos.
-- openapi/dbv0.0.38 - add with_deleted input to GET /qos.
-- openapi/dbv0.0.38 - set with_deleted to false by default for GET /account[s]
-- openapi/dbv0.0.38 - add with_deleted input to GET /account[s].
-- Include k12 hash of the RPC message body in the auth/munge tokens to
provide for additional communication resiliency.
-- Allow job steps to continue to launch during OverTimeLimit.
-- slurmctld - avoid crash when attempting to load job without a script.
-- Fix exclusive jobs breaking MaxCPUsPerNode limit
-- Error if ConstrainSwapSpace is set and system doesn't have the kernel with
CONFIG_MEMCG_SWAP set. This will avoid bad configurations.
-- Add SlurmdParameters=numa_node_as_socket.
-- Fix incorrect node allocation when using multiple counts with --constraint
and --ntasks-per-node.
* Changes in Slurm 21.08.9
==========================
-- Fix cross-endian communication.
-- Fix slurmd segfault when seeing authentication issues alongside a failed
message forward.
-- Fix resuming nodes not part of an allocation.
-- Fix "--gpu-bind=single:" having wrong env variables.
-- Fix logic estimating when a job can start based on ANY_NODES / LICENSE_ONLY
reservations that could lead to an infinite loop in backfill.
-- Fix a segfault that may happen on gpu configured as no_consume.
-- Fix regression which prevented a cons_tres gpu job to be submitted to a
cons_tres cluster from a non-con_tres cluster.
-- select/linear - fix regression introduced in 21.08.6 which prevented step
requests with --threads-per-core or --hint=nomultithread from being created.
-- Fix gcc 12.2.1 compile errors.
* Changes in Slurm 21.08.8-2
============================
-- Fix communication forwarding when running with a mix of patch and unpatched
slurmd processes.
* Changes in Slurm 21.08.8
==========================
-- openapi/dbv0.0.37 - fix slurmrestd fatal() when deleting an association.
-- Allow scontrol update <job> Gres=... to not require "gres:".
-- Fix inconsistent reboot message appending behavior.
-- Fix incorrect reason_time and reason_uid on reboot message.
-- Fix "scontrol reboot" clearing node reason on ResumeTimeout.
-- Fix ResumeTimeout error message missing when node already has reason set.
-- Avoid "running with local config" error when conf server is provided by DNS.
-- openapi/v0.0.37 - resolve job user name when not sent by slurmctld.
-- openapi/dbv0.0.37 - Correct OpenAPI specification for diag request.
-- Ignore power_down request when node is already powering down.
-- CVE-2022-29500 - Prevent credential abuse.
-- CVE-2022-29501 - Prevent abuse of REQUEST_FORWARD_DATA.
-- CVE-2022-29502 - Correctly validate io keys.
* Changes in Slurm 21.08.7
==========================
-- openapi/v0.0.37 - correct calculation for bf_queue_len_mean in /diag.
-- Optimize sending down nodes in maintenance mode to the database when
removing reservations.
-- Avoid shrinking a reservation when overlapping with downed nodes.
-- Fix 'planned time' in rollups for jobs that were still pending when the
rollup happened.
-- Prevent new elements from a job array from causing rerollups.
-- Only check TRES limits against current usage for TRES requested by the job.
-- Do not allocate shared gres (MPS) in whole-node allocations
-- Fix minor memory leak when dealing with configless setups.
-- Constrain slurmstepd to job/step cgroup like in previous versions of Slurm.
-- Fix warnings on 32-bit compilers related to printf() formats.
-- Fix memory leak when freeing kill_job_msg_t.
-- Fix memory leak when using data_t.
-- Fix reconfigure issues after disabling/reenabling the GANG PreemptMode.
-- Fix race condition where a cgroup was being deleted while another step
was creating it.
-- Set the slurmd port correctly if multi-slurmd
-- openapi/v0.0.37 - Fix misspelling of account_gather_frequency in spec.
-- openapi/v0.0.37 - Fix misspelling of cluster_constraint in spec.
-- Fix FAIL mail not being sent if a job was cancelled due to preemption.
-- slurmrestd - move debug logs for HTTP handling to be gated by debugflag
NETWORK to avoid unnecessary logging of communication contents.
-- Fix issue with bad memory access when shrinking running steps.
-- Fix various issues with internal job accounting with GRES when jobs are
shrunk.
-- Fix ipmi polling on slurmd reconfig or restart.
-- Fix srun crash when reserved ports are being used and het step fails
to launch.
-- openapi/dbv0.0.37 - fix DELETE execution path on /user/{user_name}.
-- slurmctld - Properly requeue all components of a het job if PrologSlurmctld
fails.
-- rlimits - remove final calls to limit nofiles to 4096 but to instead use
the max possible nofiles in slurmd and slurmdbd.
-- Fix slurmctld memory leak after a reconfigure with configless.
-- Fix slurmd memory leak when fetching configless files.
-- Allow the DBD agent to load large messages (up to MAX_BUF_SIZE) from state.
-- Fix minor memory leak with cleaning up the extern step.
-- Fix potential deadlock during slurmctld restart when there is a completing
job.
-- slurmstepd - reduce user requested soft rlimits when they are above max
hard rlimits to avoid rlimit request being completely ignored and
processes using default limits.
-- Fix memory leaks when job/step specifies a container.
-- Fix Slurm user commands displaying available features as active features
when no features were active.
-- Don't power down nodes that are rebooting.
-- Clear pending node reboot on power down request.
-- Ignore node registrations while node is powering down.
-- Don't reboot any node that is power<ing|ed> down.
-- Don't allow a node to reboot if it's marked for power down.
-- Fix issuing reboot and downing when rebooting a powering up node.
-- Clear DRAIN on node after failing to resume before ResumeTimeout.
-- Prevent repeating power down if node fails to resume before ResumeTimeout.
-- Fix federated cloud node communication with srun and cloud_dns.
-- Fix jobs being scheduled on nodes marked to be powered_down when idle.
-- Fix problem where a privileged user could not view array tasks specified by
<array_job_id>_<task_id> when PrivateData had the jobs value set.
* Changes in Slurm 21.08.6
==========================
-- Handle typed shared GRES better in accounting.
-- Fix plugin_name definitions in a number of plugins to improve logging.
-- Close sbcast file transfers when job is cancelled.
-- job_submit/lua - allow mail_type and mail_user fields to be modified.
-- scrontab - fix handling of --gpus and --ntasks-per-gpu options.
-- sched/backfill - fix job_queue_rec_t memory leak.
-- Fix magnetic reservation logic in both main and backfill schedulers.
-- job_container/tmpfs - fix memory leak when using InitScript.
-- slurmrestd / openapi - fix memory leaks.
-- Fix slurmctld segfault due to job array resv_list double free.
-- Fix multi-reservation job testing logic.
-- Fix slurmctld segfault due to insufficient job reservation parse validation.
-- Fix main and backfill schedulers handling for already rejected job array.
-- sched/backfill - restore resv_ptr after yielding locks.
-- acct_gather_energy/xcc - appropriately close and destroy the IPMI context.
-- Protect slurmstepd from making multiple calls to the cleanup logic.
-- Prevent slurmstepd segfault at cleanup time in mpi_fini().
-- Fix slurmctld sometimes hanging if shutdown while PrologSlurmctld or
EpilogSlurmctld were running and PrologEpilogTimeout is set in slurm.conf.
-- Fix affinity of the batch step if batch host is different than the first
node in the allocation.
-- slurmdbd - fix segfault after multiple failover/failback operations.
-- Fix jobcomp filetxt job selection condition.
-- Fix -f flag of sacct not being used.
-- Select cores for job steps according to the socket distribution. Previously,
sockets were always filled before selecting cores from the next socket.
-- Keep node in Future state if epilog completes while in Future state.
-- Fix erroneous --constraint behavior by preventing multiple sets of brackets.
-- Make ResetAccrueTime update the job's accrue_time to now.
-- Fix sattach initialization with configless mode.
-- Revert packing limit checks affecting pmi2.
-- sacct - fixed assertion failure when using -c option and a federation
display
-- Fix issue that allowed steps to overallocate the job's memory.
-- Fix the sanity check mode of AutoDetect so that it actually works.
-- Fix deallocated nodes that didn't actually launch a job from waiting for
Epilogslurmctld to complete before clearing completing node's state.
-- Job should be in a completing state if EpilogSlurmctld when being requeued.
-- Fix job not being requeued properly if all node epilog's completed before
EpilogSlurmctld finished.
-- Keep job completing until EpilogSlurmctld is completed even when "downing"
a node.
-- Fix handling reboot with multiple job features.
-- Fix nodes getting powered down when creating new partitions.
-- Fix bad bit_realloc which potentially could lead to bad memory access.
-- slurmctld - remove limit on the number of open files.
-- Fix bug where job_state file of size above 2GB wasn't saved without any
error message.
-- Fix various issues with no_consume gres.
-- Fix regression in 21.08.0rc1 where job steps failed to launch on systems
that reserved a CPU in a cgroup outside of Slurm (for example, on systems
with WekaIO).
-- Fix OverTimeLimit not being reset on scontrol reconfigure when it is
removed from slurm.conf.
-- serializer/yaml - use dynamic buffer to allow creation of YAML outputs
larger than 1MiB.
-- Fix minor memory leak affecting openapi users at process termination.
-- Fix batch jobs not resolving the username when nss_slurm is enabled.
-- slurmrestd - Avoid slurmrestd ignoring invalid HTTP method if the response
serialized without error.
-- openapi/dbv0.0.37 - Correct conditional that caused the diag output to
give an internal server error status on success.
-- Make --mem-bind=sort work with task_affinity
-- Fix sacctmgr to set MaxJobsAccruePer{User|Account} and MinPrioThres in
sacctmgr add qos, modify already worked correctly.
-- job_container/tmpfs - avoid printing extraneous error messages in Prolog
and Epilog, and when the job completes.
-- Fix step CPU memory allocation with --threads-per-core without --exact.
-- Remove implicit --exact when --threads-per-core or --hint=nomultithread
is used.
-- Do not allow a step to request more threads per core than the
allocation did.
-- Remove implicit --exact when --cpus-per-task is used.
* Changes in Slurm 21.08.5
==========================
-- Fix issue where typeless GRES node updates were not immediately reflected.
-- Fix setting the default scrontab job working directory so that it's the home
of the different user (-u <user>) and not that of root or SlurmUser editor.
-- Fix stepd not respecting SlurmdSyslogDebug.
-- Fix concurrency issue with squeue.
-- Fix job start time not being reset after launch when job is packed onto
already booting node.
-- Fix updating SLURM_NODE_ALIASES for jobs packed onto powering up nodes.
-- Cray - Fix issues with starting hetjobs.
-- auth/jwks - Print fatal() message when jwks is configured but file could
not be opened.
-- If sacctmgr has an association with an unknown qos as the default qos
print 'UNKN-###' instead of leaving a blank name.
-- Correctly determine task count when giving --cpus-per-gpu, --gpus and
--ntasks-per-node without task count.
-- slurmctld - Fix places where the global last_job_update was not being set
to the time of update when a job's reason and description were updated.
-- slurmctld - Fix case where a job submitted with more than one partition
would not have its reason updated while waiting to start.
-- Fix memory leak in node feature rebooting.
-- Fix time limit permanetly set to 1 minute by backfill for job array tasks
higher than the first with QOS NoReserve flag and PreemptMode configured.
-- Fix sacct -N to show jobs that started in the current second
-- Fix issue on running steps where both SLURM_NTASKS_PER_TRES and
SLURM_NTASKS_PER_GPU are set.
-- Handle oversubscription request correctly when also requesting
--ntasks-per-tres.
-- Correctly detect when a step requests bad gres inside an allocation.
-- slurmstepd - Correct possible deadlock when UnkillableStepTimeout triggers.
-- srun - use maximum number of open files while handling job I/O.
-- Fix writing to Xauthority files on root_squash NFS exports, which was
preventing X11 forwarding from completing setup.
-- Fix regression in 21.08.0rc1 that broke --gres=none.
-- Fix srun --cpus-per-task and --threads-per-core not implicitly setting
--exact. It was meant to work this way in 21.08.
-- Fix regression in 21.08.0 that broke dynamic future nodes.
-- Fix dynamic future nodes remembering active state on restart.
-- Fix powered down nodes getting stuck in COMPLETING+POWERED_DOWN when job is
cancelled before nodes are powering up.
* Changes in Slurm 21.08.4
==========================
-- Fix potential deadlock when using PMI v1.
-- Fix tight loop sending DBD_SEND_MULT_JOB_START when the slurmctld has an
issue talking correctly to the DBD.
-- Fix memory leak in step creation.
-- Fix potential deadlock when shutting down slurmctld.
-- Fix regression in 21.08 where multi-node steps that requested MemPerCPU
were not counted against the job's memory allocation on some nodes.
-- Fix issue with select/cons_tres and the partition limit MaxCpusPerNode where
the limit was enforced for one less CPU than the configured value.
-- jobacct_gather/common - compare Pss to Rss after scaling Pss to Rss units.
-- Fix SLURM_NODE_ALIASES in RPC Prolog for batch jobs.
-- Fix regression in 21.08 where slurmd and slurmstepd were not constrained
with CpuSpecList or CoreSpecCount.
-- Fix cloud jobs running without powering up nodes after a reconfig/restart.
-- CVE-2021-43337 - Fix security issue with new AccountingStoreFlags=job_script
and job_env options where users could request scripts and environments they
should not have been permitted to access.
* Changes in Slurm 21.08.3
==========================
-- Return error to sacctmgr when running 'sacctmgr archive load' and the load
fails due to an invalid or corrupted file.
-- slurmctld/gres_ctld - fix deallocation of typed GRES without device.
-- scrontab - fix capturing the cronspec request in the job script.
-- openapi/dbv0.0.37 - Add missing method POST for /associations/.
-- If ALTER TABLE was already run, continue with database upgrade.
-- slurmstepd - Gracefully handle RunTimeQuery returning no output.
-- srun - automatically handle issues with races to listen() on an ephemeral
socket, and suppress otherwise needless error messages.
-- Schedule sooner after Epilog completion with SchedulerParameters=defer.
-- Improve performance for AccountingStoreFlags=job_env.
-- Expose missing SLURMD_NODENAME and SLURM_NODEID to TaskEpilog environment.
-- Bring slurm_completion.sh up to date with changes to commands.
-- Fix issue where burst buffer stage-in could only start for one job in a job
array per scheduling cycle instead of bb_array_stage_cnt jobs per scheduling
cycle.
-- Fix checking if the dependency is the same job for array jobs.
-- Fix checking for circular dependencies with job arrays.
-- Restore dependent job pointers on slurmctld startup to avoid race.
-- openapi/v0.0.37 - Allow strings for JobIds instead of only numerical JobIds
for GET, DELETE, and POST job methods.
-- openapi/dbv0.0.36 - Gracefully handle missing associations.
-- openapi/dbv0.0.36 - Avoid restricting job association lookups to only
default associations.
-- openapi/dbv0.0.37 - Gracefully handle missing associations.
-- openapi/dbv0.0.37 - Avoid restricting job association lookups to only
default associations.
-- Fix error in GPU frequency validation logic.
-- Fix regression in 21.08.1 that broke federated jobs.
-- Correctly handle requested GRES when used in job arrays.
-- Fix error in pmix logic dealing with the incorrect size of buffer.
-- Fix handling of no_consume GRES, add it to allocated job allocated TRES.
-- Fix issue with typed GRES without Files= (bitmap).
-- Fix job_submit/lua support for 'gres' which is now stored as a 'tres'
when requesting jobs so needs a 'gres' prefix.
-- Fix regression where MPS would not deallocate from the node properly.
-- Fix --gpu-bind=verbose to work correctly.
-- Do not deny --constraint with special operators "[]()|*" when no changeable
features are requested, but continue to deny --constraint with special
operators when changeable features are requested.
-- openapi/v0.0.{35,36,37} - prevent merging the slurmrestd environment
alongside a new job submission.
-- openapi/dbv0.0.36 - Correct tree position of dbv0.0.36_job_step.
-- openapi/dbv0.0.37 - Correct tree position of dbv0.0.37_job_step.
-- openapi/v0.0.37 - enable job priority field for job submissions and updates.
-- openapi/v0.0.37 - request node states query includes MIXED state instead of
only allocated.
-- mpi/pmix - avoid job hanging until the time limit on PMIx agent failures.
-- Correct inverted logic where reduced version matching applied to non-SPANK
plugins where it should have only applied to SPANK plugins.
-- Fix issues where prologs would run in serial without PrologFlags=serial.
-- Make sure a job coming in is initially considered for magnetic reservations.
-- PMIx v1.1.4 and below are no longer supported.
-- Add comment to service files about disabling logging through journald.
-- Add SLURM_NODE_ALIASES env to RPC Prolog (PrologFlags=alloc) environment.
-- Limit max_script_size to 512 MB.
-- Fix shutdown of slurmdbd plugin to correctly notice when the agent thread
finishes.
-- slurmdbd - fix issue with larger batch script files being sent to SlurmDBD
with AccountingStoreFlags=job_script that can lead to accounting data loss
as the resulting RPC generated can exceed internal limits and won't be
sent, preventing further communication with SlurmDBD.
This issue is indicated by "error: Invalid msg_size" in your log files.
-- Fix compile issue with --without-shared-libslurm.
* Changes in Slurm 21.08.2
==========================
-- slurmctld - fix how the max number of cores on a node in a partition are
calculated when the partition contains multi-socket nodes. This in turn
corrects certain jobs node count estimations displayed client-side.
-- job_submit/cray_aries - fix "craynetwork" GRES specification after changes
introduced in 21.08.0rc1 that made TRES always have a type prefix.
-- Ignore nonsensical check in the slurmd for [Pro|Epi]logSlurmctld.
-- Fix writing to stderr/syslog when systemd runs slurmctld in the foreground.
-- Fix locking around log level setting routines.
-- Fix issue with updating job started with node range.
-- Fix issue with nodes not clearing state in the database when the slurmctld
is started with clean-start.
-- Fix hetjob components > 1 timing out due to InactiveLimit.
-- Fix sprio printing -nan for normalized association priority if
PriorityWeightAssoc was not defined.
-- Disallow FirstJobId=0.
-- Preserve job start info in the database for a requeued job that hadn't
registered the first time in the database yet.
-- Only send one message on prolog failure from the slurmd.
-- Remove support for TaskAffinity=yes in cgroup.conf.
-- accounting_storage/mysql - fix issue where querying jobs via sacct
--whole-hetjob=yes or slurmrestd (which automatically includes this flag)
could in some cases return more records than expected.
-- Fix issue for preemption of job array task that makes afterok dependency
fail. Additionally, send emails when requeueing happens due to preemption.
-- Fix sending requeue mail type.
-- Properly resize a job's GRES bitmaps and counts when resizing the job.
-- Fix node being able to transition to CLOUD state from non-cloud state.
-- Fix regression introduced in 21.08.0rc1 which broke a step's ability to
inherit GRES from the job when the step didn't request GRES but the job did.
-- Fix errors in logic when picking nodes based on bracketed anded constraints.
This also enforces the requirement to have a count when using such
constraints.
-- Handle job resize better in the database.
-- Exclude currently running, resized jobs from the runaway jobs list.
-- Make it possible to shrink a job more than once.
* Changes in Slurm 21.08.1
==========================
-- Fix potential memory leak if a problem happens while allocating GRES for
a job.
-- If an overallocation of GRES happens terminate the creation of a job.
-- AutoDetect=nvml: Fatal if no devices found in MIG mode.
-- slurm.spec - fix querying for PMIx and UCX version.
-- Print federation and cluster sacctmgr error messages to stderr.
-- Fix off by one error in --gpu-bind=mask_gpu.
-- Fix statement condition in http_parser autoconf macro.
-- Fix statement condition in netloc autoconf macro.
-- Add --gpu-bind=none to disable gpu binding when using --gpus-per-task.
-- Handle the burst buffer state "alloc-revoke" which previously would not
display in the job correctly.
-- Fix issue in the slurmstepd SPANK prolog/epilog handler where configuration
values were used before being initialized.
-- Restore a step's ability to utilize all of an allocations memory if --mem=0.
-- Fix --cpu-bind=verbose garbage taskid.
-- Fix cgroup task affinity issues from garbage taskid info.
-- Make gres_job_state_validate() client logging behavior as before 44466a4641.
-- Fix steps with --hint overriding an allocation with --threads-per-core.
-- Require requesting a GPU if --mem-per-gpu is requested.
-- Return error early if a job is requesting --ntasks-per-gpu and no gpus or
task count.
-- Properly clear out pending step if unavailable to run with available
resources.
-- Kill all processes spawned by burst_buffer.lua including decendents.
-- openapi/v0.0.{35,36,37} - Avoid setting default values of min_cpus,
job name, cwd, mail_type, and contiguous on job update.
-- openapi/v0.0.{35,36,37} - Clear user hold on job update if hold=false.
-- Prevent CRON_JOB flag from being cleared when loading job state.
-- sacctmgr - Fix deleting WCKeys when not specifying a cluster.
-- Fix getting memory for a step when the first node in the step isn't the
first node in the allocation.
-- Make SelectTypeParameters=CR_Core_Memory default for cons_tres and cons_res.
-- Correctly handle mutex unlocks in the gres code if failures happen.
-- Give better error message if -m plane is given with no size.
-- Fix --distribution=arbitrary for salloc.
-- Fix jobcomp/script regression introduced in 21.08.0rc1 0c75b9ac9d.
-- Only send the batch node in the step_hostlist in the job credential.
-- When setting affinity for the batch step don't assume the batch host is node