Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey)

Hi Everyone,

I have followed Liberty openstack install on Ubuntu 14.04 using the following tutorial, http://docs.openstack.org/liberty/install-guide-ubuntu/environment.html I have followed each and every instruction as is and everything works fine except the fact that i cant SSH into the instance using its created key. After digging in i could see the following logs and they indicate something to do with metadata not reachable and inject the new key into the instance. Below are the logs,

2016-06-27 22:31:11,185 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] 2016-06-27 22:32:02,311 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d6239d0="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] 2016-06-27 22:32:20,407 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, 'Connection to 169.254.169.254 timed out. (connect timeout=17.0)')] 2016-06-27 22:32:21,424 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 seconds 2016-06-27 22:33:11,568 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d6238d0="">, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')] 2016-06-27 22:34:02,691 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a90="">, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')] 2016-06-27 22:34:20,783 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a50="">, 'Connection to 10.173.251.18 timed out. (connect timeout=17.0)')] 2016-06-27 22:34:21,800 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://10.0.0.2//latest/meta-data/instance-id'] after 120 seconds

10.0.0.2 is my controller where metadata agent is running. I have tried almost everything that i could to try and fix this problem but havent found a solution yet. Can anyone shed some light if they have come across such an issue? Any help is appreciated. Thank you!

http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey)

Hi Everyone,

I have followed Liberty openstack install on Ubuntu 14.04 using the following tutorial, http://docs.openstack.org/liberty/install-guide-ubuntu/environment.html I have followed each and every instruction as is and everything works fine except the fact that i cant SSH into the instance using its created key. After digging in i could see the following logs and they indicate something to do with metadata not reachable and inject the new key into the instance. Below are the logs,

2016-06-27 22:31:11,185 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] timeout=50.0)')]

2016-06-27 22:32:02,311 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d6239d0="">, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')] timeout=50.0)')]

2016-06-27 22:32:20,407 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, 'Connection to 169.254.169.254 timed out. (connect timeout=17.0)')] timeout=17.0)')]

2016-06-27 22:32:21,424 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 seconds 2016-06-27 22:33:11,568 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d6238d0="">,

2016-06-27 22:34:02,691 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a90="">, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')] 2016-06-27 22:34:02,691 timeout=50.0)')]

2016-06-27 22:34:20,783 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a90="">, [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a50="">, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')] 2016-06-27 22:34:20,783 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a50="">, 'Connection to 10.173.251.18 timed out. (connect timeout=17.0)')] timeout=17.0)')]

2016-06-27 22:34:21,800 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://10.0.0.2//latest/meta-data/instance-id'] after 120 seconds

10.0.0.2 is my controller where metadata agent is running. I have tried almost everything that i could to try and fix this problem but havent found a solution yet. Can anyone shed some light if they have come across such an issue? Any help is appreciated. Thank you!

http://169.254.169.254/2009-04-04/meta-data/instance-id failed - Permission denied (publickey)

Hi Everyone,

I have followed Liberty openstack install on Ubuntu 14.04 using the following tutorial, http://docs.openstack.org/liberty/install-guide-ubuntu/environment.html I have followed each and every instruction as is and everything works fine except the fact that i cant SSH into the instance using its created key. After digging in i could see the following logs and they indicate something to do with metadata not reachable and inject the new key into the instance. Below are the logs,

2016-06-27 22:31:11,185 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d623890>, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')]

timeout=50.0)')] 2016-06-27 22:32:02,311 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d6239d0="">, [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d6239d0>, 'Connection to 169.254.169.254 timed out. (connect timeout=50.0)')]

timeout=50.0)')] 2016-06-27 22:32:20,407 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623890="">, [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d623890>, 'Connection to 169.254.169.254 timed out. (connect timeout=17.0)')]

timeout=17.0)')] 2016-06-27 22:32:21,424 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 seconds 2016-06-27 22:33:11,568 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed

[50/120s]: request error [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d6238d0>, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')] 2016-06-27 22:34:02,691 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [101/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a90="">, [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d623a90>, 'Connection to 10.173.251.18 timed out. (connect timeout=50.0)')]

timeout=50.0)')] 2016-06-27 22:34:20,783 - url_helper.py[WARNING]: Calling 'http://10.0.0.2//latest/meta-data/instance-id' failed [119/120s]: request error [(<urllib3.connectionpool.httpconnectionpool object="" at="" 0x7f0c7d623a50="">, [(<urllib3.connectionpool.HTTPConnectionPool object at 0x7f0c7d623a50>, 'Connection to 10.173.251.18 timed out. (connect timeout=17.0)')]

timeout=17.0)')] 2016-06-27 22:34:21,800 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://10.0.0.2//latest/meta-data/instance-id'] after 120 seconds

seconds

10.0.0.2 is my controller where metadata agent is running. I have tried almost everything that i could to try and fix this problem but havent found a solution yet. Can anyone shed some light if they have come across such an issue? Any help is appreciated. Thank you!