It seems iptables or some other similar software  are no running on your host. openstack relies on it to translate 169.254.169.254 to host address.


-----openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net wrote: -----

To: Pierre Amadio <pierre.ama...@canonical.com>
From: Scott Moser <smo...@ubuntu.com>
Sent by: openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net
Date: 03/28/2012 10:16PM
Cc: openstack <openstack@lists.launchpad.net>
Subject: Re: [Openstack] problem ssh-ing into vms

On Wed, 28 Mar 2012, Pierre Amadio wrote:

> Hi there !
>
> I'm puzzled with a ssh issue. Things used to work "before", and now, i
> cannot access my vms anymore.

Thank you for attaching euca-get-console-output.  That provides the real
hint here.

| cloud-init start-local running: Wed, 28 Mar 2012 13:09:35 +0000. up 43.07 seconds
| no instance data found in start-local
| ci-info: lo    : 1 127.0.0.1       255.0.0.0
| ci-info: eth0  : 1 10.0.0.3        255.255.255.0   fa:16:3e:59:63:1b
| ci-info: route-0: 0.0.0.0         10.0.0.1        0.0.0.0         eth0   UG
| ci-info: route-1: 10.0.0.0        0.0.0.0         255.255.255.0   eth0   U
| cloud-init start running: Wed, 28 Mar 2012 13:09:48 +0000. up 56.41 seconds
| 2012-03-28 13:09:49,331 - DataSourceEc2.py[WARNING]: 'http://169.254.169.254' failed: url error [[Errno 111] Connection refused]
| 2012-03-28 13:09:50,349 - DataSourceEc2.py[WARNING]: 'http://169.254.169.254' failed: url error [[Errno 111] Connection refused]
| ...
| 2012-03-28 13:11:29,162 - DataSourceEc2.py[WARNING]: 'http://169.254.169.254' failed: url error [[Errno 111] Connection refused]
| 2012-03-28 13:11:35,174 - DataSourceEc2.py[CRITICAL]: giving up on md after 105 seconds

The instance was unable to connect to the metadata service to get your
public keys and put them into the instance.  The Ubuntu images have an
annoyance, in that if it can't get to the MD it doesn't even generate ssh
server keys, so the ssh server just drops you immediately.

But your real problem is that the guests can't see the host.

You could potentially debug some more by using a cirros image, which will
let you do password auth in after it fails to reach the data source.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to