it can be an issue of openssh:<div><br>one more link <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.gossamer-threads.com/lists/openssh/dev/51483?do=post_view_threaded#51483">http://www.gossamer-threads.com/lists/openssh/dev/51483?do=post_view_threaded#51483</a></div>
<div><br></div><div><br><div class="gmail_quote">On Thu, May 24, 2012 at 5:48 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">what you can try to do:<div> you can mount machine image and check /var/log/auth.log</div><div><br></div><div>it can be kind of network issue </div>
<div>for example like this one <a href="http://fixunix.com/ssh/74058-ssh-hang-after-ssh2_msg_kexinit-sent.html" target="_blank">http://fixunix.com/ssh/74058-ssh-hang-after-ssh2_msg_kexinit-sent.html</a></div>
<div>if so you can try to change net.ipv4.tcp_rmem</div><div><br></div><div>nova-compute.log is looking fine. <div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 24, 2012 at 5:30 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">I've tried bot root and ubuntu as account names (ssh -i key.pem <a href="mailto:root@10.1.2.3" target="_blank">root@10.1.2.3</a> and ssh -i key.pem <a href="mailto:ubuntu@10.1.2.3" target="_blank">ubuntu@10.1.2.3</a>) and the result is still "Read from socket failed: Connection reset by peer"<div>
<div><div>
<div><br><div class="gmail_quote">On Thu, May 24, 2012 at 2:27 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">
I'm sorry Leander <div>I did not note that you are using ubuntu and try to connect by using root account </div><div><br></div><div>I thought it may be better to use ubuntu account.</div><div>But in my machine when I was trying to use root account , ssh client told me about it.</div>
<div><div>
<div><br><br><div class="gmail_quote">On Thu, May 24, 2012 at 5:19 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">
I doubt you have desktop components on this host ( compute node) with GUI. <div><br></div><div>in this case you can check that file injection of ssh_key was successfully in nova-compute.log</div><div><div>
<div><br><br><div class="gmail_quote">
On Thu, May 24, 2012 at 5:13 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">
I currently can't access the vnc console directly due to routing issues. The instances is running private ip's over on vlan and public ip over another vlan (the host machine only has 1 network interface). There is no routing information available to guide all traffic to the host machine, and the network administrator isn't around to set up the routing in our firewall at the moment.<div>
<div><br>
<br><div class="gmail_quote">On Thu, May 24, 2012 at 2:04 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">
it looks like OS was running successfully.<div><br></div><div>if you have network access to this host ( compute node) you can to try use vnc client to connect to your instance.</div><div>you can find port number from libvirt.xml: virsh dumpxml instance-0000....<div>
<div><br>
<div><br><br><div class="gmail_quote">On Thu, May 24, 2012 at 4: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></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>