File tree Expand file tree Collapse file tree 7 files changed +46
-19
lines changed Expand file tree Collapse file tree 7 files changed +46
-19
lines changed Original file line number Diff line number Diff line change 22CHANGELOG
33=========
44
5+ 0.0.11
6+ ======
7+
8+ * updates:``ami ``: Pulled latest CentOS errata
9+ * updates:``ami ``: Removed DKMS Lustre; replaced with Intel Lustre Client
10+
11+
5120.0.10
613======
714
Original file line number Diff line number Diff line change 1- us-west-2 ami-ed5822dd
2- eu-west-1 ami-b04290c7
3- sa-east-1 ami-fde54de0
4- us-east-1 ami-208a5b48
5- ap-northeast-1 ami-75411874
6- us-west-1 ami-1b78755e
7- ap-southeast-1 ami-220e5570
8- ap-southeast-2 ami-c181e7fb
1+ us-west-2 ami-7f8ece4f
2+ eu-west-1 ami-22953255
3+ sa-east-1 ami-2962c834
4+ us-east-1 ami-1a69c072
5+ ap-northeast-1 ami-8f012e8e
6+ us-west-1 ami-79afa63c
7+ ap-southeast-1 ami-44ecc816
8+ ap-southeast-2 ami-814526bb
Original file line number Diff line number Diff line change 1919# Source functions
2020. /opt/cfncluster/scripts/functions.shlib
2121
22+ # Check DNS
23+ check_dns || error_exit " DNS checks failed."
24+
2225# Run preinstall script if defined
2326run_preinstall
2427
Original file line number Diff line number Diff line change 1919# Source functions
2020. /opt/cfncluster/scripts/functions.shlib
2121
22+ # Check DNS
23+ check_dns || error_exit " DNS checks failed."
24+
2225# Run preinstall script if defined
2326run_preinstall
2427
Original file line number Diff line number Diff line change @@ -15,6 +15,22 @@ function error_exit () {
1515 exit 1
1616}
1717
18+ # Check DNS is working, as it is required for correct operation
19+ function check_dns () {
20+ TRY=0
21+ while [ $TRY -lt 3 ]; do
22+ hostname -f >/dev/null
23+ check_fqdn=$?
24+ if [ $check_fqdn -eq 0 ]; then
25+ break
26+ else
27+ sleep 10
28+ TRY=$(( $TRY + 1 ))
29+ fi
30+ done
31+ return $check_fqdn
32+ }
33+
1834# Check and run preinstall
1935function run_preinstall () {
2036 RC=0
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def read(fname):
2020 return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
2121
2222console_scripts = ['cfncluster = cfncluster.cli:main' ]
23- version = "0.0.10 "
23+ version = "0.0.11 "
2424requires = ['boto' , 'botocore' ]
2525
2626if sys .version_info [:2 ] == (2 , 6 ):
Original file line number Diff line number Diff line change 111111 "AllowedValues" : [
112112 " sge" ,
113113 " openlava" ,
114- " slurm" ,
115114 " torque" ,
116- " hadoop2" ,
117115 " test"
118116 ]
119117 },
588586 },
589587 "AWSRegionArch2AMI" : {
590588 "eu-west-1" : {
591- "64HVM" : " ami-b04290c7 "
589+ "64HVM" : " ami-22953255 "
592590 },
593591 "us-east-1" : {
594- "64HVM" : " ami-208a5b48 "
592+ "64HVM" : " ami-1a69c072 "
595593 },
596594 "ap-northeast-1" : {
597- "64HVM" : " ami-75411874 "
595+ "64HVM" : " ami-8f012e8e "
598596 },
599597 "us-west-2" : {
600- "64HVM" : " ami-ed5822dd "
598+ "64HVM" : " ami-7f8ece4f "
601599 },
602600 "sa-east-1" : {
603- "64HVM" : " ami-fde54de0 "
601+ "64HVM" : " ami-2962c834 "
604602 },
605603 "us-west-1" : {
606- "64HVM" : " ami-1b78755e "
604+ "64HVM" : " ami-79afa63c "
607605 },
608606 "ap-southeast-1" : {
609- "64HVM" : " ami-220e5570 "
607+ "64HVM" : " ami-44ecc816 "
610608 },
611609 "ap-southeast-2" : {
612- "64HVM" : " ami-c181e7fb "
610+ "64HVM" : " ami-814526bb "
613611 }
614612 }
615613 },
You can’t perform that action at this time.
0 commit comments