<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Doh! Indeed. That works even better. ;)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Vasisht Reddy T. [mailto:vasishtreddy@gmail.com]
<br>
<b>Sent:</b> Thursday, October 09, 2014 4:20 PM<br>
<b>To:</b> MacMullan, Hugh<br>
<b>Cc:</b> starcluster@mit.edu<br>
<b>Subject:</b> Re: [StarCluster] New Behavior: starcluster addnode error from StarCluster-created master instance<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">You might be able to get away with doing a pip install boto==2.32.0 after installing starcluster. <o:p></o:p></p>
</div>
<p><span style="color:#A0A0A8">On Thursday, October 9, 2014 at 4:12 PM, MacMullan, Hugh wrote:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:0in;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That is a huge hassle! But it works. ;) I need to rewrite a bunch of scripts (that normally just do `pip install starcluster`). Thanks
so much Vasisht.</span><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Vasisht Reddy T. [<a href="mailto:vasishtreddy@gmail.com">mailto:vasishtreddy@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, October 09, 2014 3:38 PM<br>
<b>To:</b> MacMullan, Hugh<br>
<b>Cc:</b> <a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>
<b>Subject:</b> Re: [StarCluster] New Behavior: starcluster addnode error from StarCluster-created master instance</span><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<div>
<div>
<p style="margin:0in;margin-bottom:.0001pt">I think it’s an issue with the latest version of boto. Are you using boto-2.33? Downgrading to boto-2.32.0 resolved the issue.<o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt">Change the boto version in setup.py and reinstall StarCluster (boto==2.32.0)<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
</div>
</div>
<p><span style="color:#A0A0A8">On Thursday, October 9, 2014 at 3:31 PM, MacMullan, Hugh wrote:</span><o:p></o:p></p>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:0in;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p style="margin:0in;margin-bottom:.0001pt">Hi Starcluster Friends!<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Just today I heard from a user that he was having trouble adding nodes from the master of a StarCluster created cluster. The AMI is StarCluster public 64-bit Ubuntu EBS non-HVM (ami-765b3e1f in us-east-1). These instances
have been working reliably this way for many months, so it seems like something has changed at AWS? Anyone know of anything?<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Running default StarCluster 0.95.5<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">The behavior: locally (not from in EC2) I can add nodes just like normal. From the master, I get this:<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">++++++++++++++++++++<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">$ starcluster an mycluster -a node001<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">StarCluster - (<a href="http://star.mit.edu/cluster">http://star.mit.edu/cluster</a>) (v. 0.95.5)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Software Tools for Academics and Researchers (STAR)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Please submit bug reports to <a href="mailto:starcluster@mit.edu">
starcluster@mit.edu</a><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">>>> Launching node(s): node001<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">!!! ERROR - InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified.<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Traceback (most recent call last):<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/cli.py", line 274, in main<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> sc.execute(args)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/commands/addnode.py", line 128, in execute<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> no_create=self.opts.no_create)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/cluster.py", line 189, in add_nodes<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> no_create=no_create)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/cluster.py", line 1033, in add_nodes<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> spot_bid=spot_bid)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/cluster.py", line 966, in create_nodes<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> resvs.append(self.ec2.request_instances(image_id, **kwargs))<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/awsutils.py", line 523, in request_instances<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> **shared_kwargs)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/starcluster/awsutils.py", line 624, in run_instances<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> return self.conn.run_instances(image_id, **kwargs)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line 974, in run_instances<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> verb='POST')<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1204, in get_object<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> raise self.ResponseError(response.status, response.reason, body)<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">EC2ResponseError: EC2ResponseError: 400 Bad Request<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><?xml version="1.0" encoding="UTF-8"?><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><Response><Errors><Error><Code>InvalidBlockDeviceMapping</Code><Message>the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified.</Message></Error></Errors><RequestID>SOMEREQUESTID</RequestID></Response><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">++++++++++++++++++++<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">Any thoughts? Anyone else seeing this?<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt">-Hugh<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p style="margin:0in;margin-bottom:.0001pt">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt">StarCluster mailing list<o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><a href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
<div>
<p style="margin:0in;margin-bottom:.0001pt"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>