<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
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
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Hugh,
<div><br>
</div>
<div>I'm unable to login as ubuntu, connection is being refused for some reason or another. &nbsp;My guess is it isn't starting up fully. &nbsp;Maybe I'll create an AMI with out messing with sshd_config and fstab see if that works. &nbsp;</div>
<div><br>
</div>
<div>I'll keep you posted.</div>
<div><br>
</div>
<div>Thanks for the suggestions,</div>
<div>Robert</div>
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF49756" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> MacMullan, Hugh [hughmac@wharton.upenn.edu]<br>
<b>Sent:</b> Monday, December 08, 2014 10:17 AM<br>
<b>To:</b> Petit III, Robert A.; starcluster@mit.edu<br>
<b>Subject:</b> RE: SSH Does Not Start On Custom AMI<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">Hi Robert:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">Can you ssh into the instance you tried to start as 'ubuntu' user (ssh -i path/to/your/key.pem
<a href="mailto:ubuntu@ec2-someDNSname.amazon.com" target="_blank">ubuntu@ec2-someDNSname.amazon.com</a>)? But not 'root@ec2…'? I've seen this after updates when the /etc/cloud/cloud.cfg gets changed to 'disable_root: true'. Change it to 'false' and ebsimage
 it again might work for you.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">-Hugh</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif"> starcluster-bounces@mit.edu [mailto:starcluster-bounces@mit.edu]
<b>On Behalf Of </b>Petit III, Robert A.<br>
<b>Sent:</b> Monday, December 08, 2014 10:06 AM<br>
<b>To:</b> starcluster@mit.edu<br>
<b>Subject:</b> [StarCluster] SSH Does Not Start On Custom AMI</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">Hello All,
</span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">&nbsp;</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">Following guidlines in the manual (starcluster start -o ) I created a custom AMI based on&nbsp;ami-52a0c53b (us-east-1 starcluster-base-ubuntu-12.04-x86_64-hvm (HVM-EBS))
 using StarCluster 0.96.6 on a c3.large instance. &nbsp;When I launch a cluster using this AMI it just hangs at 'waiting for SSH to come up' and eventually just dies there.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">&nbsp;</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">For my custom AMI I did the following (all as root, via sshmaster):</span></p>
</div>
<div>
<ul type="disc">
<li class="MsoNormal" style="color:black"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif">updated Ubuntu 12.04 packages</span></li><li class="MsoNormal" style="color:black"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif">installed packages my app required</span></li><li class="MsoNormal" style="color:black"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif">installed python and R libraries</span></li><li class="MsoNormal" style="color:black"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif">setup S3FS-Fuse and added FSTAB entry</span></li><li class="MsoNormal" style="color:black"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif">modified sshd_config to allow password logins</span></li></ul>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">This instance runs fine, I can stop, restart, reboot, etc.. and everything is fine. &nbsp;Only when I create the AMI does it stop working, I've tried creating the AMI
 from starcluster ebsimage as well as from the AWS management console.</span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">&nbsp;</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">I realize I can just create plugins to make these changes, but I'm curious if others have run into this issue.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">&nbsp;</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">Thank you very much,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,sans-serif; color:black">Robert</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt; font-family:&quot;Arial&quot;,sans-serif; color:gray"><br>
This e-mail message (including any attachments) is for the sole use of<br>
the intended recipient(s) and may contain confidential and privileged<br>
information. If the reader of this message is not the intended<br>
recipient, you are hereby notified that any dissemination, distribution<br>
or copying of this message (including any attachments) is strictly<br>
prohibited.<br>
<br>
If you have received this message in error, please contact<br>
the sender by reply e-mail message and destroy all copies of the<br>
original message (including attachments).</span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>