Hello community, here is the log from the commit of package slurm for openSUSE:Factory checked in at 2020-02-28 15:21:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/slurm (Old) and /work/SRC/openSUSE:Factory/.slurm.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "slurm" Fri Feb 28 15:21:36 2020 rev:40 rq:780146 version:20.02.0 Changes: -------- --- /work/SRC/openSUSE:Factory/slurm/slurm.changes 2020-02-06 13:08:20.952340192 +0100 +++ /work/SRC/openSUSE:Factory/.slurm.new.26092/slurm.changes 2020-02-28 15:21:36.765926284 +0100 @@ -1,0 +2,120 @@ +Thu Feb 27 20:07:19 UTC 2020 - Kasimir _ <kasim...@outlook.de> + +- Disable %arm builds as this is no longer supported. + +------------------------------------------------------------------- +Wed Feb 26 06:13:13 UTC 2020 - Egbert Eich <e...@suse.com> + +- Update to version 20.02.0 (jsc#SLE-8491) + * Fix minor memory leak in slurmd on reconfig. + * Fix invalid ptr reference when rolling up data in the database. + * Change shtml2html.py to require python3 for RHEL8 support, and match + man2html.py. + * slurm.spec - override "hardening" linker flags to ensure RHEL8 builds + in a usable manner. + * Fix type mismatches in the perl API. + * Prevent use of uninitialized slurmctld_diag_stats. + * Fixed various Coverity issues. + * Only show warning about root-less topology in daemons. + * Fix accounting of jobs in IGNORE_JOBS reservations. + * Fix issue with batch steps state not loading correctly when upgrading from + 19.05. + * Deprecate max_depend_depth in SchedulerParameters and move it to + DependencyParameters. + * Silence erroneous error on slurmctld upgrade when loading federation state. + * Break infinite loop in cons_tres dealing with incorrect tasks per tres + request resulting in slurmctld hang. + * Improve handling of --gpus-per-task to make sure appropriate number of GPUs + is assigned to job. + * Fix seg fault on cons_res when requesting --spread-job. +- Move to python3 for everything but SLE-11-SP4 + * For SLE-11-SP4 add a workaround to handle a python3 script (python2.7 + compliant). + +------------------------------------------------------------------- +Wed Feb 19 21:27:00 UTC 2020 - Egbert Eich <e...@suse.com> + +- Add explicit version dependency to libpmix as well. + 'slurm-devel' has a tight version dependency on libpmix - + allowing multiple libpmix versions in one package repository + is therefore essential. + +------------------------------------------------------------------- +Thu Feb 13 22:34:48 UTC 2020 - Egbert Eich <e...@suse.com> + +- Update to version 20.02.0-rc1 + * sbatch - fix segfault when no newline at the end of a burst buffer file. + * Change scancel to only check job's base state when matching -t options. + * Save job dependency list in state files. + * cons_tres - allow jobs to be run on systems with root-less topologies. + * Restore pre-20.02pre1 PrologSlurmctld synchonization behavior to avoid + various race conditions, and ensure proper batch job launch. + * Add new slurmrestd command/daemon which implements the Slurm REST API. + +------------------------------------------------------------------- +Tue Feb 11 10:09:43 UTC 2020 - Christian Goll <cg...@suse.com> + +- Update to version 20.02.0-0pre1, highlights are + Highlights: + * Exclusive behavior of a node includes all GRES on a node as well + as the cpus. + * Use python3 instead of python for internal build/test scripts. + The slurm.spec file has been updated to depend on python3 as well. + * Added new NodeSet configuration option to help simplify partition + configuration sections for heterogeneous / condo*style clusters. + * Added slurm.conf option MaxDBDMsgs to control how many messages will be + stored in the slurmctld before throwing them away when the slurmdbd is down. + * The checkpoint plugin interface and all associated API calls have been + removed. + * slurm_init_job_desc_msg() initializes mail_type as uint16_t. This allows + mail_type to be set to NONE with scontrol. + * Add new slurm_spank_log() function to print messages back to the user from + within a SPANK plugin without prepending "error: " from slurm_error(). + * Enforce having partition name and nodelist=ALL when creating reservations + with flags=PART_NODES. + * SPANK - removed never-implemented slurm_spank_slurmd_init() interface. This + hook has always been accessible through slurm_spank_init() in the + S_CTX_SLURMD context instead. + * sbcast - add new BcastAddr option to NodeName lines to allow sbcast traffic + to flow over an alternate network path. + * Added auth/jwt plugin, and 'scontrol token' subcommand. PMIx - improve + * performance of proc map generation. Deprecate kill_invalid_depend in + * SchedulerParameters and move it to a new + option called DependencyParameters. + * Enable job dependencies for any job on any cluster in the same federation. + * Allow clusters to be added automatically to db at startup of ctld. Add + * AccountingStorageExternalHost slurm.conf parameter. The + * "ConditionPathExists" condition in slurmd.service has been disabled by + default to permit simpler installation of a "configless" Slurm cluster. + * In SchedulerParameters remove deprecated max_job_bf and replace with + bf_max_job_test. + * Disable sbatch, salloc, srun --reboot for non-admins. SPANK - added support + * for S_JOB_GID in the job script context with + spank_get_item(). + * Prolog/Epilog - add SLURM_JOB_GID environment variable. + configuration file changes: + * The mpi/openmpi plugin has been removed as it does nothing. + MpiDefault=openmpi will be translated to the functionally-equivalent + MpiDefault=none. + command changes (see man pages for details) + * Display StepId=<jobid>.batch instead of StepId=<jobid>.4294967294 in output + of "scontrol show step". (slurm_sprint_job_step_info()) + * MPMD in srun will now defer PATH resolution for the commands to launch to + slurmstepd. Previously it would handle resolution client*side, but with + a non*standard approach that walked PATH in reverse. + * squeue - added "--me" option, equivalent to --user=$USER. + * The LicensesUsed line has been removed from 'scontrol show config'. + Please see the 'scontrol show licenses' command as an alternative. + * sbatch - adjusted backoff times for "--wait" option to reduce load on + slurmctld. This results in a steady*state delay of 32s between queries, + instead of the prior 10s delay. +- Removed following deprecated patches: + * removed patch slurmctld-rerun-agent_init-when-backup-controller-takes-over.patch + * removed patch split-xdaemon-in-xdaemon_init-and-xdaemon_finish-for.patch + * removed patch slurmctld-uses-xdaemon_-for-systemd.patch + * removed patch slurmd-uses-xdaemon_-for-systemd.patch + * removed patch slurmdbd-uses-xdaemon_-for-systemd.patch + * removed patch slurmsmwd-uses-xdaemon_-for-systemd.patch + * removed patch removed-deprecated-xdaemon.patch + +------------------------------------------------------------------- Old: ---- removed-deprecated-xdaemon.patch slurm-19.05.5.tar.bz2 slurmctld-rerun-agent_init-when-backup-controller-takes-over.patch slurmctld-uses-xdaemon_-for-systemd.patch slurmd-uses-xdaemon_-for-systemd.patch slurmdbd-uses-xdaemon_-for-systemd.patch slurmsmwd-uses-xdaemon_-for-systemd.patch split-xdaemon-in-xdaemon_init-and-xdaemon_finish-for.patch New: ---- slurm-20.02.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ slurm.spec ++++++ --- /var/tmp/diff_new_pack.AyfnED/_old 2020-02-28 15:21:37.529927839 +0100 +++ /var/tmp/diff_new_pack.AyfnED/_new 2020-02-28 15:21:37.533927847 +0100 @@ -17,9 +17,9 @@ # Check file META in sources: update so_version to (API_CURRENT - API_AGE) -%define so_version 34 -%define ver 19.05.5 -%define _ver _19_05 +%define so_version 35 +%define ver 20.02.0 +%define _ver _20_02 %define dl_ver %{ver} # so-version is 0 and seems to be stable %define pmi_so 0 @@ -27,7 +27,7 @@ %define pname slurm -%ifarch i586 +%ifarch i586 %arm ExclusiveArch: do_not_build %endif @@ -41,7 +41,7 @@ %define base_ver 1808 %endif %if 0%{?sle_version} == 150200 -%define base_ver 1905 +%define base_ver 2002 %endif %if 0%{?base_ver} > 0 && 0%{?base_ver} < %(echo %{_ver} | tr -d _) @@ -64,13 +64,19 @@ %if 0%{?suse_version:1} && 0%{?suse_version} <= 1140 %define comp_at %defattr(-,root,root) + %undefine python_ver %else %define have_json_c 1 + %define python_ver 3 %if 0%{?sle_version} >= 150000 || 0%{?is_opensuse} %define have_apache_rpm_macros 1 %endif %endif +%if 0%{?sle_version} >= 150000 || 0%{?is_opensuse} +%define have_http_parser 1 +%endif + %if 0 %define have_netloc 1 %endif @@ -117,13 +123,6 @@ Patch0: Remove-rpath-from-build.patch Patch1: slurm-2.4.4-init.patch Patch2: pam_slurm-Initialize-arrays-and-pass-sizes.patch -Patch3: split-xdaemon-in-xdaemon_init-and-xdaemon_finish-for.patch -Patch4: slurmctld-uses-xdaemon_-for-systemd.patch -Patch5: slurmd-uses-xdaemon_-for-systemd.patch -Patch6: slurmdbd-uses-xdaemon_-for-systemd.patch -Patch7: slurmsmwd-uses-xdaemon_-for-systemd.patch -Patch8: removed-deprecated-xdaemon.patch -Patch9: slurmctld-rerun-agent_init-when-backup-controller-takes-over.patch %{?upgrade:Provides: %{pname} = %{version}} %{?upgrade:Conflicts: %{pname}} @@ -146,7 +145,7 @@ %endif BuildRequires: libbitmask-devel BuildRequires: libcpuset-devel -BuildRequires: python +BuildRequires: python%{?python_ver} %if 0%{?have_libnuma} BuildRequires: libnuma-devel %endif @@ -248,11 +247,13 @@ with SLURM. -%package -n libpmi%{pmi_so} +%package -n libpmi%{pmi_so}%{?upgrade:%{_ver}} Summary: SLURM PMI Library Group: System/Libraries +%{?upgrade:Provides: libpmi%{pmi_so} = %{version}} +%{?upgrade:Conflicts: libpmi%{pmi_so}} -%description -n libpmi%{pmi_so} +%description -n libpmi%{pmi_so}%{?upgrade:%{_ver}} This package contains the library needed to run programs dynamically linked with SLURM. @@ -436,6 +437,24 @@ This package includes the Lua API to provide an interface to SLURM through Lua. +%package rest +Summary: Slurm REST API Interface +Group: Productivity/Clustering/Computing +Requires: %{name}-config = %{version} +%if 0%{?have_http_parser} +BuildRequires: http-parser-devel +%endif +%if 0%{?have_boolean_deps} +Recommends: (%{name}-munge = %version if munge) +%else +Recommends: %{name}-munge = %version +%endif +%{?upgrade:Provides: %{pname}-rest = %{version}} +%{?upgrade:Conflicts: %{pname}-rest} + +%description rest +This package provides the interface to SLURM via REST API. + %package node Summary: Minimal slurm node Group: Productivity/Clustering/Computing @@ -508,22 +527,22 @@ %patch0 -p2 %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -# Drop this fix as it is considered to be resolved by c1a537dbbe6 -##%patch9 -p1 +%if 0%{?python_ver} < 3 +# Workaround for wrongly flagged python3 to keep SLE-11-SP4 building +mkdir -p mybin; ln -s /usr/bin/python2 mybin/python3 +%endif %build %define _lto_cflags %{nil} +[ -e $(pwd)/mybin ] && PATH=$(pwd)/mybin:$PATH %configure --enable-shared \ --disable-static \ --without-rpath \ --without-datawarp \ --with-shared-libslurm \ +%if 0%{?have_http_parser} && 0%{?have_json_c} + --enable-slurmrestd \ +%endif %{!?have_netloc:--without-netloc} \ --sysconfdir=%{_sysconfdir}/%{pname} \ %{!?have_hdf5:--without-hdf5} \ @@ -533,6 +552,7 @@ make %{?_smp_mflags} %install +[ -e $(pwd)/mybin ] && PATH=$(pwd)/mybin:$PATH %make_install make install-contrib DESTDIR=%{buildroot} PERL_MM_PARAMS="INSTALLDIRS=vendor" @@ -707,6 +727,10 @@ # NodeName myname EOF %fdupes -s %{buildroot} +# Temporary - remove when build is fixed upstream. +%if 0%{!?have_http_parser:1} || 0%{!?have_json_c:1} +rm -f %{buildroot}/%{_mandir}/man8/slurmrestd.* +%endif %define fixperm() [ $1 -eq 1 -a -e %2 ] && /bin/chmod %1 %2 @@ -810,8 +834,8 @@ %post -n %{libslurm} -p /sbin/ldconfig %postun -n %{libslurm} -p /sbin/ldconfig -%post -n libpmi%{pmi_so} -p /sbin/ldconfig -%postun -n libpmi%{pmi_so} -p /sbin/ldconfig +%post -n libpmi%{pmi_so}%{?upgrade:%{_ver}} -p /sbin/ldconfig +%postun -n libpmi%{pmi_so}%{?upgrade:%{_ver}} -p /sbin/ldconfig %post -n libnss_%{pname}%{nss_so} -p /sbin/ldconfig %postun -n libnss_%{pname}%{nss_so} -p /sbin/ldconfig @@ -892,7 +916,6 @@ %{_bindir}/sprio %{_bindir}/squeue %{_bindir}/sreport -%{_bindir}/smap %{_bindir}/sshare %{_bindir}/sstat %{_bindir}/strigger @@ -916,7 +939,6 @@ %{_mandir}/man1/sgather.1.* %{_mandir}/man1/sinfo.1* %{_mandir}/man1/slurm.1* -%{_mandir}/man1/smap.1* %{_mandir}/man1/sprio.1* %{_mandir}/man1/squeue.1* %{_mandir}/man1/sreport.1* @@ -953,7 +975,7 @@ %{?comp_at} %{_libdir}/libslurm*.so.%{so_version}* -%files -n libpmi%{pmi_so} +%files -n libpmi%{pmi_so}%{?upgrade:%{_ver}} %{?comp_at} %{_libdir}/libpmi*.so.%{pmi_so}* @@ -1032,10 +1054,11 @@ %{_libdir}/slurm/acct_gather_profile_none.so %{?have_json_c:%{_libdir}/slurm/burst_buffer_datawarp.so} %{_libdir}/slurm/burst_buffer_generic.so -%{_libdir}/slurm/checkpoint_none.so -%{_libdir}/slurm/checkpoint_ompi.so %{_libdir}/slurm/core_spec_none.so %{_libdir}/slurm/cli_filter_none.so +%{_libdir}/slurm/cli_filter_lua.so +%{_libdir}/slurm/cli_filter_syslog.so +%{_libdir}/slurm/cli_filter_user_defaults.so %{_libdir}/slurm/cred_none.so %{_libdir}/slurm/ext_sensors_none.so %{_libdir}/slurm/gpu_generic.so @@ -1048,6 +1071,7 @@ %{_libdir}/slurm/jobacct_gather_none.so %{_libdir}/slurm/jobcomp_filetxt.so %{_libdir}/slurm/jobcomp_none.so +%{_libdir}/slurm/jobcomp_lua.so %{_libdir}/slurm/jobcomp_script.so %{_libdir}/slurm/job_container_cncu.so %{_libdir}/slurm/job_container_none.so @@ -1066,7 +1090,6 @@ %{_libdir}/slurm/mcs_none.so %{_libdir}/slurm/mcs_user.so %{_libdir}/slurm/mpi_none.so -%{_libdir}/slurm/mpi_openmpi.so %{_libdir}/slurm/mpi_pmi2.so %if %{with pmix} %{_libdir}/slurm/mpi_pmix.so @@ -1076,6 +1099,7 @@ %{_libdir}/slurm/preempt_none.so %{_libdir}/slurm/preempt_partition_prio.so %{_libdir}/slurm/preempt_qos.so +%{_libdir}/slurm/prep_script.so %{_libdir}/slurm/priority_basic.so %{_libdir}/slurm/priority_multifactor.so %{_libdir}/slurm/proctrack_cgroup.so @@ -1121,6 +1145,7 @@ %{_libdir}/slurm/select_cray_aries.so %{_libdir}/slurm/switch_cray_aries.so %{_libdir}/slurm/task_cray_aries.so +%{_libdir}/slurm/mpi_cray_shasta.so %if 0%{?have_json_c} %{_libdir}/slurm/node_features_knl_cray.so %{_libdir}/slurm/power_cray_aries.so @@ -1156,6 +1181,13 @@ /%_lib/security/pam_slurm.so /%_lib/security/pam_slurm_adopt.so +%if 0%{?have_http_parser} && 0%{?have_json_c} +%files rest +%{?comp_at} +%{_sbindir}/slurmrestd +%{_mandir}/man8/slurmrestd.* +%endif + %files node %{?comp_at} %{_sbindir}/slurmd @@ -1199,9 +1231,6 @@ %{_mandir}/man5/nonstop.conf.5.* %{_mandir}/man5/topology.* %{_mandir}/man5/knl.conf.5.* -%if 0%{?legacy_cray} -%{_mandir}/man5/cray.* -%endif %if 0%{?have_hdf5} %files hdf5 @@ -1219,7 +1248,7 @@ %{_libdir}/slurm/select_cray_aries.so %{_libdir}/slurm/switch_cray_aries.so %{_libdir}/slurm/task_cray_aries.so -%{_mandir}/man5/cray.* +%{_libdir}/slurm/mpi_cray_shasta.so %if 0%{?have_json_c} %{_libdir}/slurm/node_features_knl_cray.so %{_libdir}/slurm/power_cray_aries.so ++++++ slurm-19.05.5.tar.bz2 -> slurm-20.02.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/slurm/slurm-19.05.5.tar.bz2 /work/SRC/openSUSE:Factory/.slurm.new.26092/slurm-20.02.0.tar.bz2 differ: char 11, line 1