CentOS 7: update slurm - problems

General support questions
Post Reply
mbkuz
Posts: 19
Joined: 2016/06/07 16:37:28

CentOS 7: update slurm - problems

Post by mbkuz » 2021/01/23 14:07:04

yum update slurm
gives for my CentOS 7.9.2009-based distributive (kernel 3.10.0-1160.11.1) interdependence problems (conflicts) after confirming the installation:
...
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
slurm x86_64 20.11.2-2.el7 epel 1.7 M
Installing for dependencies:
hdf5 x86_64 1.8.12-11.el7 epel 1.6 M
libaec x86_64 1.0.4-1.el7 epel 34 k
pmix x86_64 1.1.3-1.el7 epel 114 k

Transaction Summary
================================================================================
Install ( 3 Dependent packages)
Upgrade 1 Package
...

Transaction check error:
file /usr/lib64/slurm/accounting_storage_none.so from install of slurm-20.11.2-2.el7.x86_64 conflicts with file from package slurm-plugins-16.05.5-1.el7.centos.x86_64
... (etc with slurm-plugins)
file /usr/lib64/slurm/accounting_storage_mysql.so from install of slurm-20.11.2-2.el7.x86_64 conflicts with file from package slurm-sql-16.05.5-1.el7.centos.x86_64
file /usr/lib64/slurm/jobcomp_mysql.so from install of slurm-20.11.2-2.el7.x86_64 conflicts with file from package slurm-sql-16.05.5-1.el7.centos.x86_64
file /usr/lib64/slurm/job_submit_pbs.so from install of slurm-20.11.2-2.el7.x86_64 conflicts with file from package slurm-torque-16.05.5-1.el7.centos.x86_64
file /usr/lib64/slurm/auth_munge.so from install of slurm-20.11.2-2.el7.x86_64 conflicts with file from package slurm-munge-16.05.5-1.el7.centos.x86_64

Yum update slurm-devel, slurm-slurmdbd, slurm-torque gives similar problems. Is this a temporary error or should I work around this problem - then how?

User avatar
TrevorH
Forum Moderator
Posts: 30333
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7: update slurm - problems

Post by TrevorH » 2021/01/23 14:12:25

Try yum update slurm\*

If that doesn't work then I suggest reporting the problem to the EPEL maintainer.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

mbkuz
Posts: 19
Joined: 2016/06/07 16:37:28

Re: CentOS 7: update slurm - problems

Post by mbkuz » 2021/01/24 20:51:30

Yes - I have of course tried yum update slurm- * and it gives the same problem.

chemal
Posts: 726
Joined: 2013/12/08 19:44:49

Re: CentOS 7: update slurm - problems

Post by chemal » 2021/01/25 00:17:43

The slurm package in epel is new. What you already have is not from epel and packaged differently.

User avatar
jlehtone
Posts: 3345
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CentOS 7: update slurm - problems

Post by jlehtone » 2021/01/25 07:49:01

chemal wrote:
2021/01/25 00:17:43
The slurm package in epel is new. What you already have is not from epel and packaged differently.
This. I was shocked by this thread, because it revealed that slurm has been added to EPEL (this month).
Slurm is something that I would not let update automatically. Thanks for the heads up.

There is more. Slurm-20.11.2 to slurm-16.05.5 is a huge jump in versions. The syntax of slurm config has changed.

https://slurm.schedmd.com/quickstart_admin.html writes:
"Slurm daemons will support RPCs and state files from the two previous major releases (e.g. a version 20.11.x SlurmDBD will support slurmctld daemons and commands with a version of 20.11.x, 20.02.x, or 19.05.x). This means that upgrading at least once each year is recommended. Otherwise, intermediate upgrades will be required to preserve state information."

In other words, direct "live update" is not possible. To keep state you would have to do something like 16.05 => 17.02 => 18.08 => 20.02 => 20.11.

Finally,
https://www.schedmd.com/archives.php writes:
Due to a security vulnerability (CVE-2018-10995), all versions of Slurm prior to 17.02.11 or 17.11.7 are no longer available for download.

Your current slurm is vulnerable and must be updated.

mbkuz
Posts: 19
Joined: 2016/06/07 16:37:28

Re: CentOS 7: update slurm - problems

Post by mbkuz » 2021/01/25 15:49:10

Thanks !!
But if the queue is free now, may I simple to do:
yum remove slurm*
and then
yum install slurm
?

User avatar
jlehtone
Posts: 3345
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CentOS 7: update slurm - problems

Post by jlehtone » 2021/01/25 18:45:36

Probably. You will essentially create a new slurm cluster (and config for it).

Do you have the accounting database and want to keep it? Not sure whether schema can update.

Post Reply

Return to “CentOS 7 - General Support”