Launch failure in 0.95.4 w/no spot and different master/compute set
This archive was generated by
Iím having a new problem with Starcluster 0.95.4 while launching clusters without spot enabled *and* the master instance is a different size from the execution host (in this case the master is m3.medium and the execution hosts are set to m3.2xlarge) *and* with only when cluster size =1, master only. I have already successfully launched three spot enabled clusters up with the exact same configuration in 0.95.4 but now need to create another cluster that will be on-demand only for users submitting jobs that must not be interrupted by fluctuations in the spot market.
Iíve pasted the output during failure below. If I simply enable spot the error does not occur *or* if I set cluster size from 1 to 2 (which adds a single compute/execution instance in addition to the master) the problem does not occur. Iíve created a completely fresh configuration to make sure it wasnít some weird formatting issue.
>>> Using default cluster template: ondemand
>>> Validating cluster template settings...
>>> Cluster template settings are valid
>>> Starting cluster...
>>> Launching a 1-node cluster...
>>> Creating security group _at_sc-new5...
!!! ERROR - InvalidParameterValue: Minimum instance count must be greater than zero
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/starcluster/cli.py", line 274, in main
File "/usr/lib/python2.7/site-packages/starcluster/commands/start.py", line 244, in execute
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1626, in start
return self._start(create=create, create_only=create_only)
File "<string>", line 2, in _start
File "/usr/lib/python2.7/site-packages/starcluster/utils.py", line 112, in wrap_f
res = func(*arg, **kargs)
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1641, in _start
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1163, in create_cluster
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1196, in _create_flat_rate_cluster
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 966, in create_nodes
File "/usr/lib/python2.7/site-packages/starcluster/awsutils.py", line 523, in request_instances
File "/usr/lib/python2.7/site-packages/starcluster/awsutils.py", line 624, in run_instances
return self.conn.run_instances(image_id, **kwargs)
File "/usr/lib/python2.7/site-packages/boto/ec2/connection.py", line 935, in run_instances
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1177, in get_object
raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Minimum instance count must be greater than zero</Message></Error></Errors><RequestID>08116944-4d1c-4e14-96c7-cdd485a06152</RequestID></Response>
Received on Wed Apr 23 2014 - 22:11:14 EDT