diff --git a/CHANGELOG.md b/CHANGELOG.md index dfa3c14d5d..74bc572fb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste **BUG FIXES** - Remove usage of cfn-init for compute node bootstrapping to reduce node scale up time. - +- Fix the execution of overriding aws-parallelcluster-node package only on the head node during update. 3.12.0 ------ diff --git a/cookbooks/aws-parallelcluster-computefleet/recipes/config/update_parallelcluster_node.rb b/cookbooks/aws-parallelcluster-computefleet/recipes/config/update_parallelcluster_node.rb index 463022fc7d..e00f51455b 100644 --- a/cookbooks/aws-parallelcluster-computefleet/recipes/config/update_parallelcluster_node.rb +++ b/cookbooks/aws-parallelcluster-computefleet/recipes/config/update_parallelcluster_node.rb @@ -17,6 +17,8 @@ # REMINDER: the update recipe runs only on the head node and the only supervisord daemon provided by the # aws-parallelcluster-node package on the head node is clustermgtd. Therefore, only this daemon is restarted. +return unless node['cluster']['node_type'] == 'HeadNode' + execute 'stop clustermgtd' do command "#{cookbook_virtualenv_path}/bin/supervisorctl stop clustermgtd" end