Ask Your Question
0

can not ssh a instance (Read from socket failed: Connection reset by peer)

asked 2014-02-24 01:57:45 -0500

liuqi-edward gravatar image

I have launched an instance using ubuntu image. the instance is active and public ip is 192.168.1.101. i have added the security rules with imcp -1 -1 and tcp 22 . I got the private key test.pem. I can ping the VM but i can't ssh the VM.

Here are some output:

My Instance log:

2014-02-24 01:30:37,258 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [29/120s]: http error [500] 2014-02-24 01:30:40,288 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [32/120s]: http error [500] 2014-02-24 01:30:44,323 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [36/120s]: http error [500] 2014-02-24 01:30:48,354 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [40/120s]: http error [500] 2014-02-24 01:30:52,385 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [44/120s]: http error [500] 2014-02-24 01:30:56,423 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [48/120s]: http error [500] 2014-02-24 01:31:00,454 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [52/120s]: http error [500] 2014-02-24 01:31:05,486 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [57/120s]: http error [500] 2014-02-24 01:31:10,521 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [62/120s]: http error [500] 2014-02-24 01:31:15,553 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [67/120s]: http error [500] 2014-02-24 01:31:20,586 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [72/120s]: http error [500] 2014-02-24 01:31:25,618 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [77/120s]: http error [500] 2014-02-24 01:31:31,652 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [83/120s]: http error [500] 2014-02-24 01:31:37,688 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [89/120s]: http error [500] 2014-02-24 01:31:43,721 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [95/120s]: http error [500] 2014-02-24 01:31:49,875 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [101/120s]: http error [500] 2014-02-24 01:31:55,906 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [107/120s]: http error [500] 2014-02-24 01:32:02,956 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [114/120s]: http error [500] 2014-02-24 01:32:09,964 - DataSourceEc2.py[CRITICAL]: giving up on md after 121 seconds

no instance data found in start Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd * Starting AppArmor profiles [80G [74G[ OK ] landscape-client is not configured, please run landscape-config. * Stopping ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2014-05-19 00:41:40 -0500

SGPJ gravatar image

Try testing with latest Openstack release.

edit flag offensive delete link more
0

answered 2014-02-26 16:20:50 -0500

Can you provide you openstack release version also ? it's seem that your metadata servie not work. You should be make sure your dhcp agent started .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-24 01:57:45 -0500

Seen: 674 times

Last updated: May 19 '14