Skip to content

Commit 2e8c311

Browse files
committed
Merge branch 'hotfix-0.94.3'
2 parents 00da8e0 + 0a90f2d commit 2e8c311

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

‎Changelog‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@ Version History
55
.. contents::
66
:local:
77

8+
.. _version-0.94.3:
9+
10+
0.94.3
11+
======
12+
13+
.. _v0943-news:
14+
15+
News
16+
----
17+
Version 0.94.3 of StarCluster is a bug fix release. See the "Bug Fixes"
18+
sections below for details. In general it's recommended to terminate all
19+
clusters before upgrading to new versions of StarCluster although this is not
20+
always strictly required.
21+
22+
.. _v0943-fixes:
23+
24+
Bug Fixes
25+
---------
26+
* Fixed 'InvalidSnapshot.NotFound' errors on cluster launch
27+
* Fixed issue with Server.InternalError: Internal error on launch when using
28+
m1.small instance type with a 32bit AMI.
29+
* Updated default AMIs in config template to 64bit AMIs
30+
831
.. _version-0.94.2:
932

1033
0.94.2
@@ -24,8 +47,8 @@ always strictly required.
2447
Bug Fixes
2548
---------
2649
* node: fixed regression where the instance's connection object was not being
27-
reused which was causing issues for folks using regions other than the default
28-
us-east-1.
50+
reused which was causing issues for folks using regions other than the default
51+
us-east-1.
2952

3053
.. _version-0.94.1:
3154

‎README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
===================
2-
StarCluster v0.94.2
2+
StarCluster v0.94.3
33
===================
44
:StarCluster: Cluster Computing Toolkit for the Cloud
5-
:Version: 0.94.2
5+
:Version: 0.94.3
66
:Author: Justin Riley <justin.t.riley@gmail.com>
77
:Team: Software Tools for Academics and Researchers (http://star.mit.edu)
88
:Homepage: http://star.mit.edu/cluster

‎starcluster/awsutils.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,13 @@ def request_instances(self, image_id, price=None, instance_type='m1.small',
415415
"""
416416
if not block_device_map:
417417
img = self.get_image(image_id)
418-
is_s3 = img.root_device_type == 'instance-store'
418+
instance_store = img.root_device_type == 'instance-store'
419+
if instance_type == 'm1.small' and img.architecture == "i386":
420+
# Needed for m1.small + 32bit AMI (see gh-329)
421+
instance_store = True
419422
bdmap = self.create_block_device_map(add_ephemeral_drives=True,
420423
num_ephemeral_drives=24,
421-
instance_store=is_s3)
424+
instance_store=instance_store)
422425
# Prune drives from runtime block device map that may override EBS
423426
# volumes specified in the AMIs block device map
424427
for dev in img.block_device_mapping:
@@ -431,6 +434,9 @@ def request_instances(self, image_id, price=None, instance_type='m1.small',
431434
if img.root_device_name in img.block_device_mapping:
432435
log.debug("Forcing delete_on_termination for AMI: %s" % img.id)
433436
root = img.block_device_mapping[img.root_device_name]
437+
# specifying the AMI's snapshot in the custom block device
438+
# mapping when you dont own the AMI causes an error on launch
439+
root.snapshot_id = None
434440
root.delete_on_termination = True
435441
bdmap[img.root_device_name] = root
436442
block_device_map = bdmap

‎starcluster/static.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create_sc_config_dirs():
5555
__makedirs(STARCLUSTER_LOG_DIR)
5656

5757

58-
VERSION = "0.94.2"
58+
VERSION = "0.94.3"
5959
PID = os.getpid()
6060
TMP_DIR = tempfile.gettempdir()
6161
if os.path.exists("/tmp"):

‎starcluster/templates/config.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
# The base i386 StarCluster AMI is %(x86_ami)s
106106
# The base x86_64 StarCluster AMI is %(x86_64_ami)s
107107
# The base HVM StarCluster AMI is %(hvm_ami)s
108-
NODE_IMAGE_ID = %(x86_ami)s
108+
NODE_IMAGE_ID = %(x86_64_ami)s
109109
# instance type for all cluster nodes
110110
# (options: %(instance_types)s)
111111
NODE_INSTANCE_TYPE = m1.small
@@ -117,7 +117,7 @@
117117
#MASTER_INSTANCE_TYPE = m1.small
118118
# Uncomment to specify a separate AMI to use for the master node. (OPTIONAL)
119119
# (defaults to NODE_IMAGE_ID if not specified)
120-
#MASTER_IMAGE_ID = %(x86_ami)s (OPTIONAL)
120+
#MASTER_IMAGE_ID = %(x86_64_ami)s (OPTIONAL)
121121
# availability zone to launch the cluster in (OPTIONAL)
122122
# (automatically determined based on volumes (if any) or
123123
# selected by Amazon if not specified)

0 commit comments

Comments
 (0)