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
77------
88
99** ENHANCEMENTS**
10-
1110- Improve the logic to associate the host routing tables to the different network cards to better support EC2 instances with several NICs.
1211
1312** CHANGES**
1413- Upgrade NVIDIA driver to version 470.141.03.
1514- Upgrade NVIDIA Fabric Manager to version 470.141.03.
15+ - Pin cfn-bootstrap helper package version to 2.0-10
1616- Disable cron job tasks man-db and mlocate, which may have a negative impact on node performance.
1717- Upgrade Intel MPI Library to 2021.6.0.602.
1818- 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 119119default [ 'cluster' ] [ 'parallelcluster-node-version' ] = '3.2.1'
120120default [ 'cluster' ] [ 'parallelcluster-awsbatch-cli-version' ] = '1.0.0'
121121
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+
122126# URLs to software packages used during install recipes
123127# Slurm software
124128default [ 'cluster' ] [ 'slurm_plugin_dir' ] = '/etc/parallelcluster/slurm_plugin'
Original file line number Diff line number Diff line change 4646 not_if { ::File . exist? ( "#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/activate" ) }
4747end
4848
49- bash 'install CloudFormation helpers' do
49+ bash "Install CloudFormation helpers from #{ node [ 'cluster' ] [ 'cfn_bootstrap' ] [ 'package' ] } " do
5050 user 'root'
5151 group 'root'
52- cwd Chef :: Config [ :file_cache_path ]
52+ cwd '/tmp'
5353 code <<-CFNTOOLS
5454 set -e
5555 region="#{ node [ 'cluster' ] [ 'region' ] } "
5656 bucket="s3.amazonaws.com"
5757 [[ ${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' ] }
6060 CFNTOOLS
6161 creates "#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/cfn-hup"
6262end
You can’t perform that action at this time.
0 commit comments