From 3a02f2055cfaa9684907b2b3052f1e66f0bbab34 Mon Sep 17 00:00:00 2001 From: Nicola Sirena Date: Mon, 11 Sep 2023 11:09:51 +0200 Subject: [PATCH 1/4] Upgrade pmix to version 4.2.6 Signed-off-by: Nicola Sirena --- .../recipes/install/install_pmix.rb | 6 +++--- .../aws-parallelcluster-slurm/test/controls/slurm_spec.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pmix.rb b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pmix.rb index cef01c970..e873e8af1 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pmix.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_pmix.rb @@ -16,9 +16,9 @@ # limitations under the License. # PMIx software -pmix_version = '3.2.3' +pmix_version = '4.2.6' pmix_url = "https://github.com/openpmix/openpmix/releases/download/v#{pmix_version}/pmix-#{pmix_version}.tar.gz" -pmix_sha256 = '1325a1355d0794196bb47665053fdbc588f9183aa5385f3581b668427316306e' +pmix_sha256 = '2085615d1b8d72d944b4580cfd0ec958ce9050f9c7585081351ddaf1d63fe201' pmix_tarball = "#{node['cluster']['sources_dir']}/pmix-#{pmix_version}.tar.gz" remote_file pmix_tarball do @@ -36,7 +36,7 @@ cwd Chef::Config[:file_cache_path] code <<-PMIX set -e - tar xf #{pmix_tarball} + tar xf #{pmix_tarball} --no-same-owner cd pmix-#{pmix_version} ./autogen.pl ./configure --prefix=/opt/pmix diff --git a/cookbooks/aws-parallelcluster-slurm/test/controls/slurm_spec.rb b/cookbooks/aws-parallelcluster-slurm/test/controls/slurm_spec.rb index 5ba971d8f..bdd419eff 100644 --- a/cookbooks/aws-parallelcluster-slurm/test/controls/slurm_spec.rb +++ b/cookbooks/aws-parallelcluster-slurm/test/controls/slurm_spec.rb @@ -121,7 +121,7 @@ its('group') { should eq 'root' } end - describe file("#{slurm_library_folder}/mpi_pmix_v3.so") do + describe file("#{slurm_library_folder}/mpi_pmix_v4.so") do it { should exist } its('mode') { should cmp '0755' } its('owner') { should eq 'root' } From 7167c2ba8d597fc72ee97d995bead81c4c1f963a Mon Sep 17 00:00:00 2001 From: Nicola Sirena Date: Mon, 11 Sep 2023 11:10:14 +0200 Subject: [PATCH 2/4] Upgrade libjwt to version 1.15.3 Signed-off-by: Nicola Sirena --- .../recipes/install/install_jwt.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_jwt.rb b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_jwt.rb index d25a9fb24..d75daf60c 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_jwt.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_jwt.rb @@ -15,10 +15,10 @@ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and # limitations under the License. -jwt_version = '1.12.0' +jwt_version = '1.15.3' jwt_url = "https://github.com/benmcollins/libjwt/archive/refs/tags/v#{jwt_version}.tar.gz" jwt_tarball = "#{node['cluster']['sources_dir']}/libjwt-#{jwt_version}.tar.gz" -jwt_sha256 = 'eaf5d8b31d867c02dde767efa2cf494840885a415a3c9a62680bf870a4511bee' +jwt_sha256 = 'cb2fd95123689e7d209a3a8c060e02f68341c9a5ded524c0cd881a8cd20d711f' remote_file jwt_tarball do source jwt_url @@ -37,7 +37,7 @@ cwd Chef::Config[:file_cache_path] code <<-LIBJWT set -e - tar xf #{jwt_tarball} + tar xf #{jwt_tarball} --no-same-owner cd libjwt-#{jwt_version} autoreconf --force --install ./configure --prefix=/opt/libjwt From 8d0b1a9c81a3ccd60234f0351b90ee99fa6ef878 Mon Sep 17 00:00:00 2001 From: Nicola Sirena Date: Mon, 11 Sep 2023 15:09:21 +0200 Subject: [PATCH 3/4] Upgrade slurm to version 23.02.5 Signed-off-by: Nicola Sirena --- .../aws-parallelcluster-slurm/attributes/slurm_attributes.rb | 2 +- cookbooks/aws-parallelcluster-slurm/attributes/versions.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/aws-parallelcluster-slurm/attributes/slurm_attributes.rb b/cookbooks/aws-parallelcluster-slurm/attributes/slurm_attributes.rb index b43bc8821..7d6cf966d 100644 --- a/cookbooks/aws-parallelcluster-slurm/attributes/slurm_attributes.rb +++ b/cookbooks/aws-parallelcluster-slurm/attributes/slurm_attributes.rb @@ -3,7 +3,7 @@ # Slurm attributes shared between install_slurm and configure_slurm_accounting default['cluster']['slurm']['commit'] = '' -default['cluster']['slurm']['sha256'] = '7290143a71ce2797d0df3423f08396fd5c0ae4504749ff372d6860b2d6a3a1b0' +default['cluster']['slurm']['sha256'] = '4fee743a34514d8fe487080048256f5ee032374ed5f42d0eae342110dcd59edf' default['cluster']['slurm']['install_dir'] = '/opt/slurm' default['cluster']['dns_domain'] = nil diff --git a/cookbooks/aws-parallelcluster-slurm/attributes/versions.rb b/cookbooks/aws-parallelcluster-slurm/attributes/versions.rb index 178722504..b2ebd1d94 100644 --- a/cookbooks/aws-parallelcluster-slurm/attributes/versions.rb +++ b/cookbooks/aws-parallelcluster-slurm/attributes/versions.rb @@ -1,4 +1,4 @@ # Slurm -default['cluster']['slurm']['version'] = '23-02-4-1' +default['cluster']['slurm']['version'] = '23-02-5-1' # Munge default['cluster']['munge']['munge_version'] = '0.5.15' From 7339b5da5bd96ba9f14bd3293f490d85f2bf1d71 Mon Sep 17 00:00:00 2001 From: Nicola Sirena Date: Tue, 12 Sep 2023 11:51:05 +0200 Subject: [PATCH 4/4] Report changes in the Changelog Signed-off-by: Nicola Sirena --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc4845d5f..4d9a9f264 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,14 @@ This file is used to list changes made in each version of the AWS ParallelCluste **BUG FIXES** - Fix inconsistent scaling configuration after cluster update rollback when modifying the list of instance types declared in the Compute Resources. +3.7.1 +------ + +**CHANGES** +- Upgrade Slurm to 23.02.5 (from 23.02.4). + - Upgrade Pmix to 4.2.6 (from 3.2.3). + - Upgrade libjwt to 1.15.3 (from 1.12.0). + 3.7.0 ------