<div dir="ltr">Hi, <div><br></div><div>I'm new to StarCluster but I ran into this bug before. </div><div><br></div><div>The AMIs in question in my case were my customized AMIs that I modified (adding tools and such) from the public StarCluster AMI. What I found is that although the customized AMIs was based on fully-StarCluster-functional AMI with volume type=Magnetic, the instance I used to modify AMIs used gp2 SSD. My workaround was 1) start an instance with the customized StarCluster-not-functional AMI and specify <span style="font-family:arial,sans-serif;font-size:13px">volume type=Magnetic for that instance. 2) create an AMI from the instance. </span><span style="font-size:13px;font-family:arial,sans-serif">The resulting AMI became </span>fully-StarCluster-functional again (at least in my case). </div><div><br></div><div>Hope this is helpful and hope that in the near future StarCluster will support gp2 volumes as others have requested here <a href="https://github.com/jtriley/StarCluster/issues/264">https://github.com/jtriley/StarCluster/issues/264</a></div><div><br></div><div>Cheers,</div><div>Sonia</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 8:30 AM, MacMullan, Hugh <span dir="ltr"><<a href="mailto:hughmac@wharton.upenn.edu" target="_blank">hughmac@wharton.upenn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi StarCluster Community:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I just submitted an 'issue' (<a href="https://github.com/jtriley/StarCluster/issues/448" target="_blank">https://github.com/jtriley/StarCluster/issues/448</a>), but I thought I would mention this here as well, in case someone has any thoughts.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When using an AMI with volume type = General Purpose (SSD), I get (in debug.log):<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">2014-09-25 11:08:08,984 PID: 8599 awsutils.py:497 - DEBUG - Forcing delete_on_termination for AMI: ami-083b8e60<u></u><u></u></p>
<p class="MsoNormal">2014-09-25 11:08:09,120 PID: 8599 cli.py:277 - ERROR - InvalidParameterCombination: The parameter iops is not supported for gp2 volumes.<u></u><u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cli.py", line 274, in main<u></u><u></u></p>
<p class="MsoNormal"> sc.execute(args)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/commands/start.py", line 244, in execute<u></u><u></u></p>
<p class="MsoNormal"> validate_running=validate_running)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cluster.py", line 1628, in start<u></u><u></u></p>
<p class="MsoNormal"> return self._start(create=create, create_only=create_only)<u></u><u></u></p>
<p class="MsoNormal"> File "<string>", line 2, in _start<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/utils.py", line 112, in wrap_f<u></u><u></u></p>
<p class="MsoNormal"> res = func(*arg, **kargs)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cluster.py", line 1643, in _start<u></u><u></u></p>
<p class="MsoNormal"> self.create_cluster()<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cluster.py", line 1163, in create_cluster<u></u><u></u></p>
<p class="MsoNormal"> self._create_flat_rate_cluster()<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cluster.py", line 1185, in _create_flat_rate_cluster<u></u><u></u></p>
<p class="MsoNormal"> force_flat=True)[0]<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/cluster.py", line 966, in create_nodes<u></u><u></u></p>
<p class="MsoNormal"> resvs.append(self.ec2.request_instances(image_id, **kwargs))<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/awsutils.py", line 525, in request_instances<u></u><u></u></p>
<p class="MsoNormal"> **shared_kwargs)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/starcluster/awsutils.py", line 626, in run_instances<u></u><u></u></p>
<p class="MsoNormal"> return self.conn.run_instances(image_id, **kwargs)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/boto/ec2/connection.py", line 975, in run_instances<u></u><u></u></p>
<p class="MsoNormal"> verb='POST')<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/lib/python2.6/site-packages/boto/connection.py", line 1188, in get_object<u></u><u></u></p>
<p class="MsoNormal"> raise self.ResponseError(response.status, response.reason, body)<u></u><u></u></p>
<p class="MsoNormal">EC2ResponseError: EC2ResponseError: 400 Bad Request<u></u><u></u></p>
<p class="MsoNormal"><?xml version="1.0" encoding="UTF-8"?><u></u><u></u></p>
<p class="MsoNormal"><Response><Errors><Error><Code>InvalidParameterCombination</Code><Message>The parameter iops is not supported for gp2 volumes.</Message></Error></Errors><RequestID>c8306558-f673-4fb6-9ea1-64b4d6fdd1c7</RequestID></Response><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The AMIs in question are clones of fully-StarCluster-functional volume type = Magnetic.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
<p class="MsoNormal">-Hugh<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Ying S. Ting</span><div><span style="border-collapse:collapse"></span><font face="arial, sans-serif">Graduate Student, MacCoss Lab</font><br><div><div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Department of Genome Sciences, University of Washington</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></div></div></div></div>
</div></div>