Ask Your Question

unable to ping metadata server

asked 2013-05-10 08:16:54 -0600

anonymous user


updated 2013-08-22 19:41:18 -0600

fifieldt gravatar image

We are able to create a VM with demo-net IP and attached a floating IP and was able to ping but still facing few issues.

  • Unable to connect it through SSH. We have executed the following command

    ssh -i keypair.pem root@ Read from socket failed: Connection reset by peer

  • In the instance console log we can see lots of warning like the following.

    20130421 14:43:52,548[WARNING]: '' failed [0/120s]: http error [500]

IP is not pingable , using route -n we could see an entry for We tried to remove this entry using route del but again it reappear in next network restart. We are using ubuntu 12.04 LTS.

  • From horizon dashboard we can see a console asking for login in the following path instance - console. But we do not have the proper loginid and password for the created instance. We tried several combinations like (admin, blank) (root, blank) (ubuntu, blank) (demo, passoword) (admin, password) but none of them are working.
edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2013-05-10 10:07:45 -0600

darragh-oreilly gravatar image

updated 2013-05-10 10:26:10 -0600

  1. If the metadata service cannot be reached from instance, then it won't have the public key - try ssh without -i keypair.pem
  2. I doubt the meta service is suppose to respond to icmp.
  3. If you are using the cirros test image, then the username is cirros and the password is cubswin:)
edit flag offensive delete link more


Thanks for your input Darragh. Currently we are able to login to the console from horizon dashboard using cirros image.

But still the instances are not able to access the metadata server While booting we are getting lots of error messages like


cloudsetup: checking wget: server return error: HTTP/1.1 500 Internal Server Error cloudsetup: failed 1/30: up 13.01. request failed wget: server return error: HTTP/1.1 500 Internal Server Error cloudsetup: failed 2/30: up 14.42. request failed

cloudsetup: after 30 fails , debugging cloudsetup: running debug (30 tries reached)


Please help us to resolve this.

sourav gravatar imagesourav ( 2013-05-13 07:28:19 -0600 )edit

What networking are you using (nova-network or quantum)? What is the OpenStack version?

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-05-13 12:00:35 -0600 )edit

We are using quantum. We are not sure about openstack version kindly let us know how to check that. "nova-manage --version list" shows the output as 2013.1

sourav gravatar imagesourav ( 2013-05-15 03:38:42 -0600 )edit

That would be Grizzly. In Grizzly there are two ways for the VM to reach the metadata server. One via a Quantum router and the other with DHCP. I haven't tried the DHCP way, but I believe it injects a route for 169.254 into the VM, but I don't know how it works after that - sorry.

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-05-15 04:25:10 -0600 )edit

Salvatore Orlando explains how it works here

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-05-15 05:23:51 -0600 )edit

answered 2013-07-27 13:27:20 -0600

racedo gravatar image

Check if you are hitting this bug

edit flag offensive delete link more

answered 2013-05-27 02:10:05 -0600

I am also unable to ping instance "i-00000001" with ip from client machine although I can ping from client( server( All the services are running on server nova-compute, nova-network, nova-cert, nova-scheduler, sshd, ports enabled. I am getting error message: ssh: connect to host port 22: No route to host

What to do now?

edit flag offensive delete link more

answered 2014-09-24 04:25:10 -0600

zmask gravatar image

Guys even i am facing the same issue. Has this issue been resolved. ?

edit flag offensive delete link more

answered 2013-05-13 08:06:59 -0600

To ssh to Ubuntu machine use ubuntu user:

ssh ubuntu@ -i keypair.pem

Metadata will not respond to ping, if you want to check that try:

edit flag offensive delete link more


We were unable to connect the instance using ubuntu username as well, but currently we are able to login using cirros test image. The metadata server is still not accessible, curl shows the output as "Curl: (7) couldn't connect to host"

sourav gravatar imagesourav ( 2013-05-15 03:44:33 -0600 )edit

On your compute node in nova.conf do you have this property: enabled_apis=metadata?

Alen Komljen gravatar imageAlen Komljen ( 2013-05-15 05:40:35 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-05-10 08:16:54 -0600

Seen: 10,583 times

Last updated: Sep 24 '14