Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can not access second and next instances via ssh/ping etc

Launched an instance, runs OK, I can access it via ssh/ping etc. Launch a second instance from the same image and I can not access it via ssh/ping etc. Both instances are running OK.

On the second instance console shows:

2011-02-25 16:09:20,916 - DataSourceEc2.py[WARNING]: waiting for metadata service at http://169.254.169.254/2009-04-04/meta-data/instance-id

2011-02-25 16:09:20,916 - DataSourceEc2.py[WARNING]: 16:09:20 [ 1/100]: url error [timed out]

2011-02-25 16:50:42,117 - DataSourceEc2.py[CRITICAL]: giving up on md after 1213 seconds

2011-02-25 16:10:26,875 - DataSourceEc2.py[WARNING]: 16:10:26 [17/100]: url error [[Errno 113] No route to host]

Traceback (most recent call last): File "/usr/bin/cloud-init-cfg", line 116, in <module> main() File "/usr/bin/cloud-init-cfg", line 63, in main cc = cloudinit.CloudConfig.CloudConfig(cfg_path) File "/usr/lib/python2.6/dist-packages/cloudinit/CloudConfig/__init__.py", line 35, in __init__ self.cloud.get_data_source() File "/usr/lib/python2.6/dist-packages/cloudinit/__init__.py", line 270, in get_data_source log.debug("did not find data source from %s" % dslist) TypeError: not all arguments converted during string formatting

=============================================

I have not been able to access any new instance via ssh/ping after the first one which is still running OK.