Ask Your Question

Unable to access instance via ssh

asked 2013-07-25 21:54:21 -0500

djangoat gravatar image

Our static ip is We have Openstack Grizzly running in a single node

based on the network topology our ext_net is cluster_net (external) and it was mark as green.

I have one instance running and it has as floating ip and I can't access it using ( ssh -i ibm_keys.pem ubuntu@ ) I can't Ping the server as well.

Is there anything wrong with the installation I made?

I have followed this tuts:

I hope someone could explain it, Thanks a lot.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-09-10 07:04:45 -0500

madhank gravatar image

updated 2013-09-10 07:23:07 -0500

check in this /etc/nova/nova.conf where you have to add this lines in Metadata

metadata_host = host ip)

metadata_listen =

metadata_listen_port = 8775

add this lines and save it

then do

nova-manage db sync

restart the nova services

cd /etc/init.d/; for i in $( ls nova-* ); do sudo service $i restart; done

After this u can ssh using the .pem key with your floating ip (external ip)

it works

edit flag offensive delete link more

answered 2013-07-26 00:49:31 -0500

Did you configure the security groups to allow ssh/ping?

edit flag offensive delete link more

answered 2013-07-26 01:23:45 -0500

Bhavaniprasad gravatar image

I guess the image which they are downloading not working properly. Even i have followed the same document but in single node.

try to use this image:

clean all the instances which you have before.

After changing image, boot an instance with nic id. once your vm gets into active and got ip address, try follow below commands.

ip netns

this command will give the dhcp namespace. it will be something like this "qdhcp-34bea55d-9467-4943-a175-357d59a15f99"

ip netns exec dhcpnamespace_id ping


ip netns exec qdhcp-34bea55d-9467-4943-a175-357d59a15f99 ping

ip netns exec qdhcp-34bea55d-9467-4943-a175-357d59a15f99 ssh username@

This should work.

sorry for my poor english.

Regards, BhavaniPrasad.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-07-25 21:54:21 -0500

Seen: 4,153 times

Last updated: Sep 10 '13