From ff5dc58526760f7b938a1119184785c8d4f7d10e8a6828a3b1fcc8aebef6693f Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 17 Mar 2021 10:26:51 +0000 Subject: [PATCH] Accepting request 879659 from home:anag:branches:home:mslacken:slurm_up update + typo fix OBS-URL: https://build.opensuse.org/request/show/879659 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=175 --- slurm-20.11.4.tar.bz2 | 3 --- slurm-20.11.5.tar.bz2 | 3 +++ slurm.changes | 55 ++++++++++++++++++++++++++++++++++++++++ slurm.spec | 59 ++++++++++++++++++++----------------------- 4 files changed, 85 insertions(+), 35 deletions(-) delete mode 100644 slurm-20.11.4.tar.bz2 create mode 100644 slurm-20.11.5.tar.bz2 diff --git a/slurm-20.11.4.tar.bz2 b/slurm-20.11.4.tar.bz2 deleted file mode 100644 index 6a10b02..0000000 --- a/slurm-20.11.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c4899d337279c7ba3caf23d8333f8f0a250ba18ed4b46489bbbb68ed1fb1350 -size 6540096 diff --git a/slurm-20.11.5.tar.bz2 b/slurm-20.11.5.tar.bz2 new file mode 100644 index 0000000..ad355b9 --- /dev/null +++ b/slurm-20.11.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e9729ed63c5fbd2dd7b99e9148eb6f73e0261006cbb9b09c37f28ce206d5801 +size 6552357 diff --git a/slurm.changes b/slurm.changes index 70650d0..9fcc671 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Wed Mar 17 08:55:58 UTC 2021 - Christian Goll + +- Udpate to 20.11.5: +- New features: + * New job_container/tmpfs plugin developed by NERSC that can be used to + create per-job filesystem namespaces. Documentaiion and configuration + can be found in the respecting man page. +- Bug fixes: + * Fix main scheduler bug where bf_hetjob_prio truncates SchedulerParameters. + * Fix sacct not displaying UserCPU, SystemCPU and TotalCPU for large times. + * scrontab - fix to return the correct index for a bad #SCRON option. + * scrontab - fix memory leak when invalid option found in #SCRON line. + * Add errno for when a user requests multiple partitions and they are using + partition based associations. + * Fix issue where a job could run in a wrong partition when using + EnforcePartLimits=any and partition based associations. + * Remove possible deadlock when adding associations/wckeys in multiple + threads. + * When using PrologFlags=alloc make sure the correct Slurm version is set + in the credential. + * When sending a job a warning signal make sure we always send SIGCONT + beforehand. + * Fix issue where a batch job would continue running if a prolog failed on a + node that wasn't the batch host and requeuing was disabled. + * Fix issue where sometimes salloc/srun wouldn't get a message about a prolog + failure in the job's stdout. + * Requeue or kill job on a prolog failure when PrologFlags is not set. + * Fix race condition causing node reboots to get requeued before + ResumeTimeout expires. + * Preserve node boot_req_time on reconfigure. + * Preserve node power_save_req_time on reconfigure. + * Fix node reboots being queued and issued multiple times and preventing the + reboot to time out. + * Fix run_command to exit correctly if track_script kills the calling thread. + * Only requeue a job when the PrologSlurmctld returns nonzero. + * When a job is signaled with SIGKILL make sure we flush all + prologs/setup scripts. + * Handle burst buffer scripts if the job is canceled while stage_in is + happening. + * When shutting down the slurmctld make note to ignore error message when + we have to kill a prolog/setup script we are tracking. + * scrontab - add support for the --open-mode option. + * acct_gather_profile/influxdb - avoid segfault on plugin shutdown if setup + has not completed successfully. + * Reduce delay in starting salloc allocations when running with prologs. + * Alter AllocNodes check to work if the allocating node's domain doesn't + match the slurmctld's. This restores the pre*20.11 behavior. + * Fix slurmctld segfault if jobs from a prior version had the now-removed + INVALID_DEPEND state flag set and were allowed to run in 20.11. + * Add job_container/tmpfs plugin to give a method to provide a private /tmp + per job. + * Set the correct core affinity when using AutoDetect. + * slurmrestd - mark "environment" as required for job submissions in schema. + ------------------------------------------------------------------- Tue Feb 23 16:24:16 UTC 2021 - Christian Goll diff --git a/slurm.spec b/slurm.spec index aa0aef7..e24eb94 100644 --- a/slurm.spec +++ b/slurm.spec @@ -18,7 +18,7 @@ # Check file META in sources: update so_version to (API_CURRENT - API_AGE) %define so_version 36 -%define ver 20.11.4 +%define ver 20.11.5 %define _ver _20_11 %define dl_ver %{ver} # so-version is 0 and seems to be stable @@ -104,7 +104,7 @@ ExclusiveArch: do_not_build %ifarch x86_64 %define have_libnuma 1 %else - %ifarch %{ix86} + %ifarch %{ix86} %if 0%{?sle_version} >= 120200 %define have_libnuma 1 %endif @@ -127,7 +127,7 @@ Version: %{ver} Release: 0 Summary: Simple Linux Utility for Resource Management License: SUSE-GPL-2.0-with-openssl-exception -Group: Productivity/Clustering/Computing +Group: Productivity/Clustering/Computing URL: https://www.schedmd.com Source: https://download.schedmd.com/slurm/%{pname}-%{dl_ver}.tar.bz2 Source1: slurm-rpmlintrc @@ -146,8 +146,8 @@ Recommends: (%{name}-munge = %version if munge) Recommends: %{name}-munge = %version %endif Requires(pre): %{name}-node = %{version} -Recommends: %{name}-doc = %{version} Recommends: %{name}-config-man = %{version} +Recommends: %{name}-doc = %{version} BuildRequires: autoconf BuildRequires: automake BuildRequires: coreutils @@ -197,11 +197,11 @@ BuildRequires: rrdtool-devel BuildRequires: dejagnu BuildRequires: pkgconfig(systemd) %else -Requires(post): %insserv_prereq %fillup_prereq +Requires(post): %insserv_prereq %fillup_prereq %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: slurm-sched-wiki < %{version} -Obsoletes: slurmdb-direct < %{version} +Obsoletes: slurmdb-direct < %{version} %description SLURM is a fault-tolerant scalable cluster management and job @@ -264,7 +264,6 @@ Conflicts: libslurm This package contains the library needed to run programs dynamically linked with SLURM. - %package -n libpmi%{pmi_so}%{?upgrade:%{_ver}} Summary: SLURM PMI Library Group: System/Libraries @@ -288,7 +287,7 @@ slurmstepd process. %package devel Summary: Development package for SLURM -Group: Development/Libraries/C and C++ +Group: Development/Libraries/C and C++ Requires: %{libslurm} = %{version} Requires: %{name} = %{version} Requires: libpmi%{pmi_so} = %{version} @@ -308,7 +307,6 @@ Requires: %{name} = %{version} %description auth-none This package cobtains the SLURM NULL authentication module. - %package munge Summary: SLURM authentication and crypto implementation using Munge Group: Productivity/Clustering/Computing @@ -333,7 +331,6 @@ Group: Productivity/Clustering/Computing sview is a graphical user interface to get and update state information for jobs, partitions, and nodes managed by SLURM. - %package slurmdbd Summary: SLURM database daemon Group: Productivity/Clustering/Computing @@ -351,17 +348,16 @@ Recommends: %{name}-munge = %version %if 0%{?with_systemd} %{?systemd_ordering} %else -Requires(post): %insserv_prereq %fillup_prereq +Requires(post): %insserv_prereq %fillup_prereq %endif Obsoletes: slurm-sched-wiki < %{version} -Obsoletes: slurmdb-direct < %{version} +Obsoletes: slurmdb-direct < %{version} %{?upgrade:Provides: %{pname}-slurmdbd = %{version}} %{?upgrade:Conflicts: %{pname}-slurmdb} %description slurmdbd The SLURM database daemon provides accounting of jobs in a database. - %package sql Summary: Slurm SQL support Group: Productivity/Clustering/Computing @@ -371,7 +367,6 @@ Group: Productivity/Clustering/Computing %description sql Contains interfaces to MySQL for use by SLURM. - %package plugins Summary: SLURM plugins (loadable shared objects) Group: Productivity/Clustering/Computing @@ -419,7 +414,6 @@ Mail program used directly by the SLURM daemons. On completion of a job, it waits for accounting information to be available and includes that information in the email body. - %package sjstat Summary: Perl tool to print SLURM job state information Group: Productivity/Clustering/Computing @@ -463,7 +457,7 @@ through Lua. %package rest Summary: Slurm REST API Interface -Group: Productivity/Clustering/Computing +Group: Productivity/Clustering/Computing Requires: %{name}-config = %{version} %if 0%{?have_http_parser} BuildRequires: http-parser-devel @@ -480,7 +474,7 @@ Recommends: %{name}-munge = %version This package provides the interface to SLURM via REST API. %package node -Summary: Minimal slurm node +Summary: Minimal slurm node Group: Productivity/Clustering/Computing Requires: %{name}-config = %{version} Requires: %{name}-plugins = %{version} @@ -492,7 +486,7 @@ Recommends: %{name}-munge = %version %if 0%{?with_systemd} %{?systemd_ordering} %else -Requires(post): %insserv_prereq %fillup_prereq +Requires(post): %insserv_prereq %fillup_prereq %endif %{?upgrade:Provides: %{pname}-node = %{version}} %{?upgrade:Conflicts: %{pname}-node} @@ -533,8 +527,8 @@ Summary: Store accounting data in hdf5 Group: Productivity/Clustering/Computing %description hdf5 -Plugin to store accounting in the hdf5 file format. This plugin has to be -activated in the slurm configuration. Includes also utility the program +Plugin to store accounting in the hdf5 file format. This plugin has to be +activated in the slurm configuration. Includes also utility the program sh5utils to merge this hdf5 files or extract data from them. %package cray @@ -545,7 +539,6 @@ Group: Productivity/Clustering/Computing Plugins for specific cray hardware, includes power and knl node management. Contains also cray specific documentation. - %prep %setup -q -n %{pname}-%{dl_ver} %patch0 -p1 @@ -629,7 +622,7 @@ sed -i -e '/^ControlMachine=/i# Ordered List of Control Nodes' \ -e 's#BackupController=.*#SlurmctldHost=linux1(10.0.10.21)#' \ -e '/.*ControlAddr=.*/d' \ -e '/.*BackupAddr=.*/d' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf -cat >>%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf <>%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf < %{buildroot}/%{_sysconfdir}/logrotate.d/${service}.conf copytruncate postrotate pgrep ${service} && killall -SIGUSR2 ${service} || exit 0 - endscript + endscript } EOF done @@ -728,7 +721,7 @@ Alias /slurm/ "/usr/share/doc/slurm-%{ver}/html/" EOF cat > %{buildroot}/%{_sysconfdir}/%{pname}/nss_slurm.conf < 120200 || 0%{?suse_version} > 1320 -%define my_license %license -%else -%define my_license %doc +%define my_license %license +%else +%define my_license %doc %endif %files @@ -1093,6 +1086,7 @@ exit 0 %{_libdir}/slurm/jobcomp_script.so %{_libdir}/slurm/job_container_cncu.so %{_libdir}/slurm/job_container_none.so +%{_libdir}/slurm/job_container_tmpfs.so %{_libdir}/slurm/job_submit_all_partitions.so %{_libdir}/slurm/job_submit_defaults.so %{_libdir}/slurm/job_submit_logging.so @@ -1236,6 +1230,7 @@ exit 0 %{_mandir}/man5/nonstop.conf.5.* %{_mandir}/man5/topology.* %{_mandir}/man5/knl.conf.5.* +%{_mandir}/man5/job_container.conf.5.* %if 0%{?have_hdf5} %files hdf5