<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi All,
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>John</div>
<div><br>
</div>
<div><br>
</div>
<div>>>> Using default cluster template: ondemand<br>
>>> Validating cluster template settings...<br>
>>> Cluster template settings are valid<br>
>>> Starting cluster...<br>
>>> Launching a 1-node cluster...<br>
>>> Creating security group @sc-new5...<br>
Reservation:r-97d0929e<br>
!!! ERROR - InvalidParameterValue: Minimum instance count must be greater than zero<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packages/starcluster/cli.py", line 274, in main<br>
sc.execute(args)<br>
File "/usr/lib/python2.7/site-packages/starcluster/commands/start.py", line 244, in execute<br>
validate_running=validate_running)<br>
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1626, in start<br>
return self._start(create=create, create_only=create_only)<br>
File "<string>", line 2, in _start<br>
File "/usr/lib/python2.7/site-packages/starcluster/utils.py", line 112, in wrap_f<br>
res = func(*arg, **kargs)<br>
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1641, in _start<br>
self.create_cluster()<br>
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1163, in create_cluster<br>
self._create_flat_rate_cluster()<br>
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 1196, in _create_flat_rate_cluster<br>
force_flat=True)<br>
File "/usr/lib/python2.7/site-packages/starcluster/cluster.py", line 966, in create_nodes<br>
resvs.append(self.ec2.request_instances(image_id, **kwargs))<br>
File "/usr/lib/python2.7/site-packages/starcluster/awsutils.py", line 523, in request_instances<br>
**shared_kwargs)<br>
File "/usr/lib/python2.7/site-packages/starcluster/awsutils.py", line 624, in run_instances<br>
return self.conn.run_instances(image_id, **kwargs)<br>
File "/usr/lib/python2.7/site-packages/boto/ec2/connection.py", line 935, in run_instances<br>
verb='POST')<br>
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1177, in get_object<br>
raise self.ResponseError(response.status, response.reason, body)<br>
EC2ResponseError: EC2ResponseError: 400 Bad Request<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<Response><Errors><Error><Code><b>InvalidParameterValue</Code><Message>Minimum instance count must be greater than zero</b></Message></Error></Errors><RequestID>08116944-4d1c-4e14-96c7-cdd485a06152</RequestID></Response></div>
<div><br>
</div>
</body>
</html>