- updated to new release 24.05.0 with following major changes
- IMPORTANT NOTES: If using the slurmdbd (Slurm DataBase Daemon) you must update this first. NOTE: If using a backup DBD you must start the primary first to do any database conversion, the backup will not start until this has happened. The 24.05 slurmdbd will work with Slurm daemons of version 23.02 and above. You will not need to update all clusters at the same time, but it is very important to update slurmdbd first and having it running before updating any other clusters making use of it. - HIGHLIGHTS * Federation - allow client command operation when slurmdbd is unavailable. * burst_buffer/lua - Added two new hooks: slurm_bb_test_data_in and slurm_bb_test_data_out. The syntax and use of the new hooks are documented in etc/burst_buffer.lua.example. These are required to exist. slurmctld now checks on startup if the burst_buffer.lua script loads and contains all required hooks; slurmctld will exit with a fatal error if this is not successful. Added PollInterval to burst_buffer.conf. Removed the arbitrary limit of 512 copies of the script running simultaneously. * Add QOS limit MaxTRESRunMinsPerAccount. * Add QOS limit MaxTRESRunMinsPerUser. * Add ELIGIBLE environment variable to jobcomp/script plugin. * Always use the QOS name for SLURM_JOB_QOS environment variables. Previously the batch environment would use the description field, which was usually equivalent to the name. * cgroup/v2 - Require dbus-1 version >= 1.11.16. * Allow NodeSet names to be used in SuspendExcNodes. OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=294
This commit is contained in:
commit
fc209e050f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
65
Fix-test-21.41.patch
Normal file
65
Fix-test-21.41.patch
Normal file
@ -0,0 +1,65 @@
|
||||
From: Egbert Eich <eich@suse.com>
|
||||
Date: Wed Jun 22 14:39:10 2022 +0200
|
||||
Subject: Fix test 21.41
|
||||
Patch-mainline: Not yet
|
||||
Git-repo: https://github.com/SchedMD/slurm
|
||||
Git-commit: 21619ffa15d1d656ee11a477ebb8215a06387fdd
|
||||
References:
|
||||
|
||||
Since expect is not line oriented, the output is not matched line by line.
|
||||
Thus the order in which results are returned by sacctmgr actually matters:
|
||||
If the first test case matches what is returned first, this part will be
|
||||
consumed. If the 2nd test case will then match what is left over, the
|
||||
test will actually succeed.
|
||||
If this is not the case, ie if the first test matches a part that is
|
||||
actually sent later, the earlier parts will actually be forgotten and
|
||||
won't match at all.
|
||||
To make the test resilient to different order of results, the test has
|
||||
been rewritten to only contain a single match line.
|
||||
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
Signed-off-by: Egbert Eich <eich@suse.de>
|
||||
---
|
||||
testsuite/expect/test21.41 | 30 +++++++++++++++---------------
|
||||
1 file changed, 15 insertions(+), 15 deletions(-)
|
||||
diff --git a/testsuite/expect/test21.41 b/testsuite/expect/test21.41
|
||||
index c0961522db..1fd921a48f 100755
|
||||
--- a/testsuite/expect/test21.41
|
||||
+++ b/testsuite/expect/test21.41
|
||||
@@ -372,21 +372,21 @@ expect {
|
||||
-re "There was a problem" {
|
||||
fail "There was a problem with the sacctmgr command"
|
||||
}
|
||||
- -re "$user1.$wckey1.($number)." {
|
||||
- set user1wckey1 $expect_out(1,string)
|
||||
- exp_continue
|
||||
- }
|
||||
- -re "$user2.$wckey1.($number)." {
|
||||
- set user2wckey1 $expect_out(1,string)
|
||||
- exp_continue
|
||||
- }
|
||||
- -re "$user1.$wckey2.($number)." {
|
||||
- set user1wckey2 $expect_out(1,string)
|
||||
- exp_continue
|
||||
- }
|
||||
- -re "$user2.$wckey2.($number)." {
|
||||
- set user2wckey2 $expect_out(1,string)
|
||||
- exp_continue
|
||||
+ -re "($user1|$user2).($wckey1|$wckey2).($number)." {
|
||||
+ if { $expect_out(1,string) eq $user1 } {
|
||||
+ if { $expect_out(2,string) eq $wckey1 } {
|
||||
+ set user1wckey1 $expect_out(3,string)
|
||||
+ } elseif { $expect_out(2,string) eq $wckey2 } {
|
||||
+ set user1wckey2 $expect_out(3,string)
|
||||
+ }
|
||||
+ } elseif { $expect_out(1,string) eq $user2 } {
|
||||
+ if { $expect_out(2,string) eq $wckey1 } {
|
||||
+ set user2wckey1 $expect_out(3,string)
|
||||
+ } elseif { $expect_out(2,string) eq $wckey2 } {
|
||||
+ set user2wckey2 $expect_out(3,string)
|
||||
+ }
|
||||
+ }
|
||||
+ exp_continue
|
||||
}
|
||||
timeout {
|
||||
fail "sacctmgr wckeys not responding"
|
26
Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch
Normal file
26
Fix-test7.2-to-find-libpmix-under-lib64-as-well.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From: Egbert Eich <eich@suse.com>
|
||||
Date: Sat Jul 2 11:25:11 2022 +0200
|
||||
Subject: Fix test7.2 to find libpmix under lib64 as well
|
||||
Patch-mainline: Not yet
|
||||
Git-repo: https://github.com/SchedMD/slurm
|
||||
Git-commit: 4771b96995f90a64a828aac16a10bd56db61a711
|
||||
References:
|
||||
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
Signed-off-by: Egbert Eich <eich@suse.de>
|
||||
---
|
||||
testsuite/expect/test7.2 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
diff --git a/testsuite/expect/test7.2 b/testsuite/expect/test7.2
|
||||
index 9d1f1a2dee..f63ecd643e 100755
|
||||
--- a/testsuite/expect/test7.2
|
||||
+++ b/testsuite/expect/test7.2
|
||||
@@ -42,7 +42,7 @@ if {[get_config_param "SwitchType"] eq "switch/cray"} {
|
||||
skip "This test is incompatible with Cray systems"
|
||||
}
|
||||
|
||||
-if { [file exists ${slurm_dir}/lib/libpmi.so] == 0 } {
|
||||
+if { ![file exists ${slurm_dir}/lib/libpmi.so] && ![file exists ${slurm_dir}/lib64/libpmi.so]} {
|
||||
skip "PMI library not compiled, can't perform pmi testing"
|
||||
}
|
||||
|
125
README_Testsuite.md
Normal file
125
README_Testsuite.md
Normal file
@ -0,0 +1,125 @@
|
||||
# Running the Slurm 'expect' Testsuite
|
||||
|
||||
The ```slurm-testsuite``` package contains the Slurm expect test suite.
|
||||
This package is meant to be installed on a test setup only, it should
|
||||
NEVER BE INSTALLED ON A REGULAR OR EVEN PRODUCTION SYSTEM.
|
||||
SUSE uses this package to determine regressions and for quality assurance.
|
||||
The results are monitored and evaluated regularly in house.
|
||||
A specific configuration is required to run this test suite, this document
|
||||
attempts to describe the steps needed.
|
||||
A small subset of tests is currently failing. The reasons are yet to be
|
||||
determined.
|
||||
|
||||
Please do not file bug reports based on test results!
|
||||
|
||||
The testsuite is preconfigured to work with 4 nodes: ```node01```,...,
|
||||
```node04```. ```node01``` serves as control and compute node. The slurm
|
||||
configuration, home, and the test suite are shared across the nodes.
|
||||
The test suite should be mounted under /home (to make ```sgather``` work
|
||||
correctly).
|
||||
|
||||
For tests involving MPI this test suite currently uses OpenMPI version 4.
|
||||
|
||||
## Install and set up the Base System
|
||||
|
||||
1. Prepare image with a minimal text mode installation.
|
||||
2. Install, enable and start sshd and make sure root is able to log in
|
||||
without password across all nodes.
|
||||
```
|
||||
# zypper install openssh-server openssh-clients
|
||||
# systemctl enable --now sshd
|
||||
# ssh-keygen -t rsa -f .ssh/id_rsa -N
|
||||
# cat .ssh/id_rsa.pub >> .ssh/authorized_keys
|
||||
```
|
||||
3. Create a test user 'auser' allow ssh from/to root:
|
||||
```
|
||||
# useradd -m auser
|
||||
# cp -r /root/.ssh /home/auser
|
||||
```
|
||||
4. Set up a persistent network if to obtain the network address and
|
||||
hostname thru DHCP:
|
||||
```
|
||||
# echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", '\
|
||||
'ATTR{address}=="?*", ATTR{dev_id}=="0x0", ATTR{type}=="1",'\
|
||||
' KERNEL=="?*", NAME="lan0" >> /etc/udev/rules.d/70-persistent-net.rules
|
||||
# cat > /etc/sysconfig/network/ifcfg-lan0 <<EOF
|
||||
BOOTPROTO='dhcp'
|
||||
MTU=''
|
||||
REMOTE_IPADDR=''
|
||||
STARTMODE='onboot'
|
||||
EOF
|
||||
# sed -i 's/DHCLIENT_SET_HOSTNAME="no"/DHCLIENT_SET_HOSTNAME="yes"/' \
|
||||
/etc/sysconfig/network/dhcp
|
||||
```
|
||||
|
||||
## Install and set up the Slurm specific Environment
|
||||
|
||||
1. Install package slurm-testsuite.
|
||||
2. Set up, enable & start mariadb, add slurm accounting database:
|
||||
|
||||
```
|
||||
# sed -i -e "/^bind-address/s@\(^.*$\)@# \1@" /etc/my.cnf
|
||||
# systemctl start mariadb
|
||||
# mysql -uroot -e "create user 'slurm'@'node01' identified by 'linux';"
|
||||
# mysql -uroot -e "create database slurm_acct_db;"
|
||||
# mysql -uroot -e "grant all on slurm_acct_db.* TO 'slurm'@'node01';"
|
||||
```
|
||||
3. Set up shared home, testsuite and slurm config directories, install and
|
||||
enable NFS kernel server.
|
||||
```
|
||||
# mkdir -p /srv/home
|
||||
# mv /home/auser /srv/home
|
||||
# cat >> /etc/exports <<EOF
|
||||
/srv/home *(rw,no_subtree_check,sync,no_root_squash)
|
||||
/srv/slurm-testsuite *(rw,no_subtree_check,sync,no_root_squash)
|
||||
/srv/slurm-testsuite/shared *(rw,no_subtree_check,sync,no_root_squash)
|
||||
/srv/slurm-testsuite/config *(rw,no_subtree_check,sync,no_root_squash)
|
||||
EOF
|
||||
# cat >> /etc/fstab <<EOF
|
||||
node01:/srv/home /home nfs sync,hard,rw 0 0
|
||||
node01:/srv/slurm-testsuite/config /etc/slurm nfs sync,hard,rw 0 0
|
||||
node01:/srv/slurm-testsuite/shared /var/lib/slurm/shared nfs sync,hard,rw 0 0
|
||||
node01:/srv/slurm-testsuite /home/slurm-testsuite nfs sync,hard,rw 0 0
|
||||
EOF
|
||||
# zypper install nfs-kernel-server
|
||||
# systemctl enable nfs-server
|
||||
```
|
||||
4. Enable munge and slurmd:
|
||||
```
|
||||
# systemctl enable munge
|
||||
# systemctl enable slurmd
|
||||
```
|
||||
|
||||
# Clone Nodes and bring up Test System
|
||||
|
||||
1. Now halt the system and duplicate it 3 times.
|
||||
|
||||
2. Set up the dhcp server and make sure the nodes receive the hostnames
|
||||
``node01```,..., ```node04```.
|
||||
|
||||
4. Boot all 4 nodes (start with ```node01```).
|
||||
|
||||
5. On ```node01```, log in as ```root``` and run ```setup-testsuite.sh```:
|
||||
```
|
||||
# ./setup-testsuite.sh
|
||||
```
|
||||
6. Load the environment and run the tests as user 'slurm':
|
||||
```
|
||||
# sudo -s -u slurm
|
||||
$ module load gnu openmpi
|
||||
$ cd /home/slurm-testsuite/testsuite/expect
|
||||
$ ./regression.py
|
||||
```
|
||||
|
||||
There are a number of tests which require a different configuration
|
||||
and thus will be skipped.
|
||||
For a number of these, the alternatives are documented in the config
|
||||
file shipped with this package.
|
||||
A small number of tests fail for yet unknown reasons.
|
||||
Also, when run sequentially, some tests may fail intermittendly as the
|
||||
test suite is not race free. Often the reason for this is that tests
|
||||
try to determine the availability of resources and may behave incorrectly
|
||||
if an insufficient number is marked 'idle'. This problem may be less
|
||||
pronounced when more resources (nodes) are available. Usually, these
|
||||
issues will not show when tests are run manually. Therefore, it is important
|
||||
the re-check failed tests manually.
|
58
Remove-rpath-from-build.patch
Normal file
58
Remove-rpath-from-build.patch
Normal file
@ -0,0 +1,58 @@
|
||||
From 46bea350d06e9c8e1f93938ce2b2bd04a1c3bf3f Mon Sep 17 00:00:00 2001
|
||||
From: Egbert Eich <eich@suse.com>
|
||||
Date: Wed, 8 Jan 2020 20:56:25 +0100
|
||||
Subject: [PATCH] Remove rpath from build
|
||||
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
---
|
||||
contribs/perlapi/libslurm/perl/Makefile.PL.in | 4 ++--
|
||||
contribs/perlapi/libslurmdb/perl/Makefile.PL.in | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/contribs/perlapi/libslurm/perl/Makefile.PL.in b/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
||||
index e8f8aff54d..b51f53f412 100644
|
||||
--- a/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
||||
+++ b/contribs/perlapi/libslurm/perl/Makefile.PL.in
|
||||
@@ -68,7 +68,7 @@ DESTDIR_BUG
|
||||
# AIX has problems with not always having the correct
|
||||
# flags so we have to add some :)
|
||||
my $os = lc(`uname`);
|
||||
-my $other_ld_flags = '-Wl,-rpath,@top_builddir@/src/api/.libs -Wl,-rpath,@libdir@';
|
||||
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
|
||||
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
||||
if $os =~ "aix";
|
||||
|
||||
@@ -79,7 +79,7 @@ WriteMakefile(
|
||||
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||
(ABSTRACT_FROM => 'lib/Slurm.pm', # retrieve abstract from module
|
||||
AUTHOR => 'Hongjia Cao <hjcao@nudt.edu.cn>') : ()),
|
||||
- LIBS => ['-L@top_builddir@/src/api/.libs -L@libdir@ -lslurm'], # e.g., '-lm'
|
||||
+ LIBS => ["-L@prefix@/lib -lslurm"], # e.g., '-lm'
|
||||
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
||||
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
||||
# Un-comment this if you add C files to link with later:
|
||||
diff --git a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
||||
index 4fb38b9725..148efa6e82 100644
|
||||
--- a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
||||
+++ b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
|
||||
@@ -68,7 +68,7 @@ DESTDIR_BUG
|
||||
# AIX has problems with not always having the correct
|
||||
# flags so we have to add some :)
|
||||
my $os = lc(`uname`);
|
||||
-my $other_ld_flags = '-Wl,-rpath,@top_builddir@/src/db_api/.libs -Wl,-rpath,@libdir@';
|
||||
+my $other_ld_flags = "-L@top_builddir@/src/api/.libs -lslurm";
|
||||
$other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
|
||||
if $os =~ "aix";
|
||||
|
||||
@@ -79,7 +79,7 @@ WriteMakefile(
|
||||
($] >= 5.005 ? ## Add these new keywords supported since 5.005
|
||||
(ABSTRACT_FROM => 'Slurmdb.pm', # retrieve abstract from module
|
||||
AUTHOR => 'Don Lipari <lipari@llnl.gov>') : ()),
|
||||
- LIBS => ['-L@top_builddir@/src/api/.libs -L@libdir@ -lslurm'], # e.g., '-lm'
|
||||
+ LIBS => ["-L@prefix@/lib -lslurm"], # e.g., '-lm'
|
||||
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
|
||||
INC => "-I. -I@top_srcdir@ -I@top_srcdir@/contribs/perlapi/common -I@top_builddir@",
|
||||
# Un-comment this if you add C files to link with later:
|
||||
--
|
||||
2.42.1
|
||||
|
5
_service
Normal file
5
_service
Normal file
@ -0,0 +1,5 @@
|
||||
<services>
|
||||
<service name="download_files" mode="localonly">
|
||||
<param name="enforceupstream">yes</param>
|
||||
</service>
|
||||
</services>
|
86
pam_slurm-Initialize-arrays-and-pass-sizes.patch
Normal file
86
pam_slurm-Initialize-arrays-and-pass-sizes.patch
Normal file
@ -0,0 +1,86 @@
|
||||
From d51d3e1db8b2ed650a042352eff041ae77e467f9 Mon Sep 17 00:00:00 2001
|
||||
From: Egbert Eich <eich@suse.com>
|
||||
Date: Mon, 20 Feb 2023 21:29:27 +0100
|
||||
Subject: [PATCH] pam_slurm: Initialize arrays and pass sizes
|
||||
|
||||
PAM is security critical:
|
||||
- clear arrays
|
||||
- ensure strings are NULL-terminated.
|
||||
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
Originally-from: Sebastian Krahmer <krahmer@suse.com>
|
||||
Signed-off-by: Egbert Eich <eich@suse.de>
|
||||
---
|
||||
contribs/pam/pam_slurm.c | 20 +++++++++++---------
|
||||
1 file changed, 11 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/contribs/pam/pam_slurm.c b/contribs/pam/pam_slurm.c
|
||||
index a27e651548..eac9879c07 100644
|
||||
--- a/contribs/pam/pam_slurm.c
|
||||
+++ b/contribs/pam/pam_slurm.c
|
||||
@@ -279,9 +279,9 @@ static int
|
||||
_gethostname_short (char *name, size_t len)
|
||||
{
|
||||
int error_code, name_len;
|
||||
- char *dot_ptr, path_name[1024];
|
||||
+ char *dot_ptr, path_name[1024] = {0};
|
||||
|
||||
- error_code = gethostname(path_name, sizeof(path_name));
|
||||
+ error_code = gethostname(path_name, sizeof(path_name) - 1);
|
||||
if (error_code)
|
||||
return error_code;
|
||||
|
||||
@@ -309,13 +309,13 @@ static int
|
||||
_slurm_match_allocation(uid_t uid)
|
||||
{
|
||||
int authorized = 0, i;
|
||||
- char hostname[HOST_NAME_MAX];
|
||||
+ char hostname[HOST_NAME_MAX] = {0};
|
||||
char *nodename = NULL;
|
||||
job_info_msg_t * msg;
|
||||
|
||||
slurm_init(NULL);
|
||||
|
||||
- if (_gethostname_short(hostname, sizeof(hostname)) < 0) {
|
||||
+ if (_gethostname_short(hostname, sizeof(hostname) - 1) < 0) {
|
||||
_log_msg(LOG_ERR, "gethostname: %m");
|
||||
return 0;
|
||||
}
|
||||
@@ -438,7 +438,7 @@ _send_denial_msg(pam_handle_t *pamh, struct _options *opts,
|
||||
*/
|
||||
extern void libpam_slurm_init (void)
|
||||
{
|
||||
- char libslurmname[64];
|
||||
+ char libslurmname[64] = {0};
|
||||
|
||||
if (slurm_h)
|
||||
return;
|
||||
@@ -446,10 +446,10 @@ extern void libpam_slurm_init (void)
|
||||
/* First try to use the same libslurm version ("libslurm.so.24.0.0"),
|
||||
* Second try to match the major version number ("libslurm.so.24"),
|
||||
* Otherwise use "libslurm.so" */
|
||||
- if (snprintf(libslurmname, sizeof(libslurmname),
|
||||
+ if (snprintf(libslurmname, sizeof(libslurmname) - 1,
|
||||
"libslurm.so.%d.%d.%d", SLURM_API_CURRENT,
|
||||
SLURM_API_REVISION, SLURM_API_AGE) >=
|
||||
- sizeof(libslurmname) ) {
|
||||
+ sizeof(libslurmname) - 1) {
|
||||
_log_msg (LOG_ERR, "Unable to write libslurmname\n");
|
||||
} else if ((slurm_h = dlopen(libslurmname, RTLD_NOW|RTLD_GLOBAL))) {
|
||||
return;
|
||||
@@ -458,8 +458,10 @@ extern void libpam_slurm_init (void)
|
||||
libslurmname, dlerror ());
|
||||
}
|
||||
|
||||
- if (snprintf(libslurmname, sizeof(libslurmname), "libslurm.so.%d",
|
||||
- SLURM_API_CURRENT) >= sizeof(libslurmname) ) {
|
||||
+ memset(libslurmname, 0, sizeof(libslurmname));
|
||||
+
|
||||
+ if (snprintf(libslurmname, sizeof(libslurmname) - 1, "libslurm.so.%d",
|
||||
+ SLURM_API_CURRENT) >= sizeof(libslurmname) - 1) {
|
||||
_log_msg (LOG_ERR, "Unable to write libslurmname\n");
|
||||
} else if ((slurm_h = dlopen(libslurmname, RTLD_NOW|RTLD_GLOBAL))) {
|
||||
return;
|
||||
--
|
||||
2.42.1
|
||||
|
3
slurm-23.11.5.tar.bz2
Normal file
3
slurm-23.11.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a8f4b1b46d3a8ec9a95066b04635c97f9095877f6189a8ff7388e5e74daeef3
|
||||
size 7365175
|
3
slurm-24.05.0.tar.bz2
Normal file
3
slurm-24.05.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a6d3e95f2bbda3c9567060efc3d7090ad8eac257fa3578798c89321957946e49
|
||||
size 7117445
|
54
slurm-rpmlintrc
Normal file
54
slurm-rpmlintrc
Normal file
@ -0,0 +1,54 @@
|
||||
addFilter(".*obsolete-not-provided slurm-sched-wiki.*")
|
||||
addFilter(".*obsolete-not-provided slurmdb-direct.*")
|
||||
|
||||
# libslurm provides an ABI and a wire protocol. The wire protocol may change
|
||||
# with any Slurm version in an incompatible way. The wire protocol is
|
||||
# implemented in the library libslurm.
|
||||
# Therefore, multiple versions of libslurm should not be installed on the
|
||||
# same system.
|
||||
# Thus, libraries depending on libslurm need to match the installed Slurm
|
||||
# version - independent of their major versions.
|
||||
# To host multiple Slurm versions in the same repository we add the version
|
||||
# string to package names for none-base versions - even to library packages.
|
||||
# This mainly applies to upgrade packages for Leap and SLE in the maintenance
|
||||
# channel.
|
||||
addFilter("libnss_slurm\d_\d{2}_\d{2}.*: E: shlib-policy-name-error.*")
|
||||
|
||||
# Our logrotate file names are derived from the service name.
|
||||
addFilter(".* (W|E): incoherent-logrotate-file /etc/logrotate.d/slurm.*\.conf")
|
||||
|
||||
# libpmix2 is opened using dlopen() - no automatic dependency resolution possible
|
||||
addFilter("slurm(|_.*)-plugins.x86_64: (W|E): explicit-lib-dependency libpmix2")
|
||||
|
||||
# We need to build for more than one product. rpmlint tests differ between products
|
||||
# Some may not trigger on all products.
|
||||
addFilter("slurm.src: (W|E): unused-rpmlintrc-filter .*")
|
||||
|
||||
# ? Why should we package the log dir?
|
||||
addFilter(".*: E: logrotate-log-dir-not-packaged /var/log")
|
||||
# these packages contain %service_del_postun_without_restart -
|
||||
# which we define if it is not defined. This needs to be kept
|
||||
# as long as we need to support the HPC module for SLE-12.
|
||||
addFilter("slurm(|-node|-slurmdbd)\..*: systemd-service-without-service_del_postun .*")
|
||||
|
||||
# Testsuite is not meant to be installed on a user system.
|
||||
# The idea is to place the test suite into a package mostly unaltered
|
||||
# to place it to a test rig without requiring to install the full Slurm
|
||||
# sources.
|
||||
# This is by intention - the test suite requires a test suite specific
|
||||
# systemd unit file.
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: filelist-forbidden-systemd-userdirs")
|
||||
# We want to give root a script to set up the test system
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: (suse-|)filelist-forbidden-fhs23 /root")
|
||||
# Testsuite needs this as it builds test binaries.
|
||||
addFilter("slurm(|_.*)-testsuite.*: devel-dependency libnuma-devel")
|
||||
addFilter("slurm(|_.*)-testsuite.*: E: explicit-lib-dependency libnuma-devel")
|
||||
# To reduce the amount of preparation, the test suite supplies all required
|
||||
# settings.
|
||||
addFilter("slurm(|_.*)-testsuite.*: sudoers-file-unauthorized .*")
|
||||
# Testsuite needs to override default slurmd.service
|
||||
addFilter("slurm(|_.*)-testsuite.x86_64: W: suse-filelist-forbidden-systemd-userdirs /etc/systemd/system/slurmd.service")
|
||||
# dito
|
||||
addFilter("slurm(|_.*)-testsuite.x86_64: W: systemd-unit-in-etc /etc/systemd/system/slurmd.service")
|
||||
# No lib dependency - test suite needs devel package to compile tests
|
||||
addFilter("slurm-testsuite.x86_64: W: explicit-lib-dependency .*")
|
4570
slurm.changes
Normal file
4570
slurm.changes
Normal file
File diff suppressed because it is too large
Load Diff
1382
slurm.spec
Normal file
1382
slurm.spec
Normal file
File diff suppressed because it is too large
Load Diff
7
slurmctld.xml
Normal file
7
slurmctld.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<short>slurmctld</short>
|
||||
<description>slurmctld is the management daemon for SLURM cluster management.</description>
|
||||
<port protocol="tcp" port="6817"/>
|
||||
<port protocol="udp" port="6817"/>
|
||||
</service>
|
7
slurmd.xml
Normal file
7
slurmd.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<short>slurmd</short>
|
||||
<description>slurmd is the daemon which starts jobs for the SLURM cluster management.</description>
|
||||
<port protocol="tcp" port="6818"/>
|
||||
<port protocol="udp" port="6818"/>
|
||||
</service>
|
7
slurmdbd.xml
Normal file
7
slurmdbd.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<short>slurmd</short>
|
||||
<description>slurmdbd is the database daemon for the SLURM cluster management.</description>
|
||||
<port protocol="tcp" port="6819"/>
|
||||
<port protocol="udp" port="6819"/>
|
||||
</service>
|
3
test_setup.tar.gz
Normal file
3
test_setup.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a45706911924b06a2ec7d436d4e991d84dc459a505cbdfca244ac5fad2b9b60
|
||||
size 3165
|
Loading…
Reference in New Issue
Block a user