File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
cookbooks/aws-parallelcluster-install/recipes Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ This file is used to list changes made in each version of the AWS ParallelCluste
7
7
------
8
8
9
9
** ENHANCEMENTS**
10
-
11
10
- Improve the logic to associate the host routing tables to the different network cards to better support EC2 instances with several NICs.
12
11
13
12
** CHANGES**
14
13
- Upgrade NVIDIA driver to version 470.141.03.
15
14
- Upgrade NVIDIA Fabric Manager to version 470.141.03.
15
+ - Pin cfn-bootstrap helper package version to 2.0-10
16
16
- Disable cron job tasks man-db and mlocate, which may have a negative impact on node performance.
17
17
- Upgrade Intel MPI Library to 2021.6.0.602.
18
18
- Upgrade Python from 3.7.10 to 3.7.13 in response to this [ security risk] ( https://nvd.nist.gov/vuln/detail/CVE-2021-3737 ) .
Original file line number Diff line number Diff line change 119
119
default [ 'cluster' ] [ 'parallelcluster-node-version' ] = '3.2.1'
120
120
default [ 'cluster' ] [ 'parallelcluster-awsbatch-cli-version' ] = '1.0.0'
121
121
122
+ # cfn-bootstrap
123
+ default [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'version' ] = '2.0-10'
124
+ default [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] = "aws-cfn-bootstrap-py3-#{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'version' ] } .tar.gz"
125
+
122
126
# URLs to software packages used during install recipes
123
127
# Slurm software
124
128
default [ 'cluster' ] [ 'slurm_plugin_dir' ] = '/etc/parallelcluster/slurm_plugin'
Original file line number Diff line number Diff line change 46
46
not_if { ::File . exist? ( "#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/activate" ) }
47
47
end
48
48
49
- bash 'install CloudFormation helpers' do
49
+ bash "Install CloudFormation helpers from #{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] } " do
50
50
user 'root'
51
51
group 'root'
52
- cwd Chef :: Config [ :file_cache_path ]
52
+ cwd '/tmp'
53
53
code <<-CFNTOOLS
54
54
set -e
55
55
region="#{ node [ 'cluster' ] [ 'region' ] } "
56
56
bucket="s3.amazonaws.com"
57
57
[[ ${region} =~ ^cn- ]] && bucket="s3.cn-north-1.amazonaws.com.cn/cn-north-1-aws-parallelcluster"
58
- curl --retry 3 -L -o aws-cfn-bootstrap-py3-latest.tar.gz https://${bucket}/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
59
- #{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/pip install aws-cfn-bootstrap-py3-latest.tar.gz
58
+ curl --retry 3 -L -o #{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] } https://${bucket}/cloudformation-examples/#{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] }
59
+ #{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/pip install #{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] }
60
60
CFNTOOLS
61
61
creates "#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/cfn-hup"
62
62
end
You can’t perform that action at this time.
0 commit comments