Skip to content

Commit f994087

Browse files
committed
Merge pull request #12 from awslabs/develop
Pull release 0.0.11 from develop
2 parents bbdf1b6 + 8589b88 commit f994087

File tree

7 files changed

+46
-19
lines changed

7 files changed

+46
-19
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
CHANGELOG
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+
512
0.0.10
613
======
714

amis.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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

bootstrap/src/scripts/boot_as_compute

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ set -x
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
2326
run_preinstall
2427

bootstrap/src/scripts/boot_as_master

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ set -x
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
2326
run_preinstall
2427

bootstrap/src/scripts/functions.shlib

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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
1935
function run_preinstall () {
2036
RC=0

cli/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def read(fname):
2020
return open(os.path.join(os.path.dirname(__file__), fname)).read()
2121

2222
console_scripts = ['cfncluster = cfncluster.cli:main']
23-
version = "0.0.10"
23+
version = "0.0.11"
2424
requires = ['boto', 'botocore']
2525

2626
if sys.version_info[:2] == (2, 6):

cloudformation/cfncluster.cfn.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@
111111
"AllowedValues" : [
112112
"sge",
113113
"openlava",
114-
"slurm",
115114
"torque",
116-
"hadoop2",
117115
"test"
118116
]
119117
},
@@ -588,28 +586,28 @@
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
},

0 commit comments

Comments
 (0)