[Openstack] can't ssh instance when launched on a second compute node

Afef MDHAFFAR afef.mdhaffar at gmail.com
Sun Oct 7 16:32:47 UTC 2012


Here are more information about the issue:
ssh -vvv -i key1.pem ip@
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
Warning: Identity file key1.pem not accessible: No such file or directory.
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.0.17 [10.0.0.17] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1
Debian-5ubuntu1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.8p1 Debian-7ubuntu1
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "10.0.0.17" from file
"/root/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer

It looks like the VM has not loaded the key! But I have no idea how to
solve that ! ???


2012/10/7 Afef MDHAFFAR <afef.mdhaffar at gmail.com>

> Hi all,
>
> I have a strange issue.
> I installed openstack on 3 nodes (a cloud controller + 2 compute nodes)
> I uploaded 2 images tty and an ubuntu image. When I launch these 2 images
> on the cloud controller, they work very well.
> Launching the tty image on the 2 new compute nodes also work very well.
> The problem appears when I try to launch the ubuntu image on one of the
> compute nodes. The instance seems to be ok, it is running and I can ping
> it. However, I can not ssh it. I shows this error: Read from socket failed:
> Connection reset by peer.
> Any ideas how to solve this problem??
>
> Thank you,
> Afef
>
>
>


-- 
Afef MDHAFFAR
http://www.redcad.org/members/mdhaffar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121007/2c972abe/attachment.html>


More information about the Openstack mailing list