Skip to content

Commit 6603e23

Browse files
himani2411Himani Anil Deshpande
andauthored
Allow overriding of node package only on HeadNode during an Update (aws#2890)
Co-authored-by: Himani Anil Deshpande <[email protected]>
1 parent ca8c955 commit 6603e23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste
3131

3232
**BUG FIXES**
3333
- Remove usage of cfn-init for compute node bootstrapping to reduce node scale up time.
34-
34+
- Fix the execution of overriding aws-parallelcluster-node package only on the head node during update.
3535

3636
3.12.0
3737
------

cookbooks/aws-parallelcluster-computefleet/recipes/config/update_parallelcluster_node.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
# REMINDER: the update recipe runs only on the head node and the only supervisord daemon provided by the
1919
# aws-parallelcluster-node package on the head node is clustermgtd. Therefore, only this daemon is restarted.
20+
return unless node['cluster']['node_type'] == 'HeadNode'
21+
2022
execute 'stop clustermgtd' do
2123
command "#{cookbook_virtualenv_path}/bin/supervisorctl stop clustermgtd"
2224
end

0 commit comments

Comments
 (0)