Just a question i forgot, on a multi-host senario, the IP_CURRENT_NODE is the compute node's ip right? Currently i'm only running everything on a single host.<br><br><div class="gmail_quote">On Thu, May 24, 2012 at 4:32 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adding the following to my config file solved my problem!! Thanks!!<ul><li style="margin-left:15px;margin-bottom:0.1em">
routing_source_ip=IP_CURRENT_NODE</li><li style="margin-left:15px;margin-bottom:0.1em">--my_ip=IP_CURRENT_NODE</li>
</ul>Regards,<div><br></div><div>Leander<div><div class="h5"><br><div class="gmail_quote">On Thu, May 24, 2012 at 4:24 PM, Sébastien Han <span dir="ltr"><<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>It's not an open-ssh issue.</div>Your virtual machine simply can't fetch the metadata, cloud-init can't to be more accurate. Without this your ssh key is not imported. This is why the machine is well running, you can ping it but you can't access it because the authorized_keys file on the vm is not fulfill.<div>



If you are only running a nova-compute node, installing nova-api-metadata will do the trick!</div><div><br></div><div>Also verify those values in your nova.conf :</div><div><ul><li style="margin-bottom:0.1em">--vncserver_proxyclient_address=IP_CURRENT_NODE</li>



<li style="margin-bottom:0.1em">--vncserver_listen=IP_CURRENT_NODE</li><li style="margin-bottom:0.1em">--ec2_dmz_host=IP_CURRENT_NODE</li><li style="margin-bottom:0.1em">--routing_source_ip=IP_CURRENT_NODE</li><li style="margin-bottom:0.1em">



--my_ip=IP_CURRENT_NODE</li></ul><div>Let us know a little more about your setup :) </div>Cheers!<div><div><br>
<br><br><div class="gmail_quote">On Thu, May 24, 2012 at 4:01 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Compute log: <span>Log: </span><a href="http://paste.openstack.org/show/18149/" target="_blank">http://paste.openstack.org/show/18149/</a><div><br></div><div><span>I've tried bot root and ubuntu as account names (ssh -i key.pem </span><a href="mailto:root@10.1.2.3" target="_blank">root@10.1.2.3</a><span> and  ssh -i key.pem </span><a href="mailto:ubuntu@10.1.2.3" target="_blank">ubuntu@10.1.2.3</a><span>) and the result is still "Read from socket failed: Connection reset by peer"</span><div>



<div><br>
<br><div class="gmail_quote">On Thu, May 24, 2012 at 1:57 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<br>Complete log: <a href="http://paste.openstack.org/show/18144/" target="_blank">http://paste.openstack.org/show/18144/</a><div><div><div><br><div class="gmail_quote">On Thu, May 24, 2012 at 1:49 PM, Anton Haldin <span dir="ltr"><<a href="mailto:ahaldin@griddynamics.com" target="_blank">ahaldin@griddynamics.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">you can try to look in  console.log for this instance<div><div><div><br></div><div><br><br><div class="gmail_quote">
On Thu, May 24, 2012 at 4:41 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, at the moment the vnc console isn't working yet. I haven't gotten that far yet.<div><div>
<br><br><div class="gmail_quote">On Thu, May 24, 2012 at 1:29 PM, Anton Haldin <span dir="ltr"><<a href="mailto:ahaldin@griddynamics.com" target="_blank">ahaldin@griddynamics.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">t can be an issue on OS side in instance ?<div><br><div>do you have vnc access for this instance?</div><div><br><br><div class="gmail_quote">







<div><div>On Thu, May 24, 2012 at 2:56 PM, Leander Bessa Beernaert <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello, <div><br></div><div>I'm having trouble sshing into the created instances. At first i was getting the following error:</div>








<div><br></div><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">
<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">ssh -i testkey.pem <a href="mailto:root@10.1.1.3" target="_blank">root@10.1.1.3</a> -v</blockquote>









<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">OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012</blockquote>









<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">debug1: Reading configuration data /etc/ssh/ssh_config</blockquote>









<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">debug1: /etc/ssh/ssh_config line 19: Applying options for *</blockquote>









<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">debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.</blockquote>









<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">debug1: Connection established.</blockquote><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">









debug1: identity file testkey.pem type -1</blockquote><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">debug1: identity file testkey.pem-cert type -1</blockquote>









<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">debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1 Debian-7ubuntu1</blockquote>









<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">debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*</blockquote>









<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">debug1: Enabling compatibility mode for protocol 2.0</blockquote>









<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">debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1</blockquote>









<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">debug1: SSH2_MSG_KEXINIT sent</blockquote><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">









Read from socket failed: Connection reset by peer</blockquote></blockquote><div><br></div><div>I then proceeded to reboot the machine and all it's services. However, now i can't even get that far. I'm alway faced with a connection refused.</div>









<div><br></div><div>I've added the permissions for port 22 and icmp in the default security group and i'm also able to ping the instances. </div><div><br></div><div>I'm using the openstack packages provided with ubuntu 12.04.</div>









<div><br></div><div>Regards,</div><div><br></div><div>Leander</div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>