From 81d643cdee972afcd0704623f4f24109549a5721 Mon Sep 17 00:00:00 2001 From: hanwenli Date: Mon, 23 Jun 2025 11:45:53 -0700 Subject: [PATCH] Include Slurm resume plugin config update to support `ScalingStrategy` update Signed-off-by: Hanwen --- CHANGELOG.md | 3 +++ .../recipes/update/update_head_node.rb | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd87f5126..27c83ba75f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ This file is used to list changes made in each version of the AWS ParallelCluste **CHANGES** - Ubuntu 20.04 is no longer supported. +**BUG FIXES** +- Fix an issue where scaling strategy was not updated during a cluster update. + 3.13.2 ------ diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/update/update_head_node.rb b/cookbooks/aws-parallelcluster-slurm/recipes/update/update_head_node.rb index 7a131f706a..1454b82963 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/update/update_head_node.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/update/update_head_node.rb @@ -20,6 +20,8 @@ not_if { ::File.exist?(node['cluster']['previous_cluster_config_path']) && !are_queues_updated? && !are_bulk_custom_slurm_settings_updated? } end +include_recipe 'aws-parallelcluster-slurm::config_slurm_resume' + ruby_block "update_shared_storages" do block do run_context.include_recipe 'aws-parallelcluster-environment::update_shared_storages'