Not able to ssh the launched instance

asked 2013-07-15 08:43:31 -0600

hari-r gravatar image

I installed devstack on centos 6.4 os server with help of the OpenStack on Hardware(all in one tutorial). I have two physical interfaces in the server. em1 have connectivity and static ip. em2 have no wire connectivity. I downloaded the devstack code and edited localrc file with below properties.

    #custom config

Finally it's installed properly and able to login into the dashboard.

when i launched the instance by default getting fixed ip like( When i associated the floating ip also getting assigned properly like ( But i am not able to connect the instance. Not even ping is also not working.

nova list +--------------------------------------+----------------+--------+------------+-------------+-----------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+----------------+--------+------------+-------------+-----------------------------------+ | bcaceaec-0eb0-4d8c-a5ca-c090bd5c1ed6 | bim-15-test-vm | ACTIVE | None | Running | private=, | +--------------------------------------+----------------+--------+------------+-------------+-----------------------------------+

ping PING ( 56(84) bytes of data. ping: sendmsg: Operation not permitted

brctl show bridge name bridge id STP enabled interfaces br100 8000.782bcb5f5af2 no em2 vnet0 virbr0 8000.525400610089 yes virbr0-nic

This is the configuration details in /etc/nova/nova.conf

[DEFAULT] firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver compute_driver = libvirt.LibvirtDriver flat_interface = em2 flat_network_bridge = br100 vlan_interface = eth0 public_interface = br100 network_manager = default_floating_pool = public fixed_range =

Lot of other properties is there but i think these details will be useful for analyze the problem. I am new to this networking concepts if anything messed up. Can you please suggest me how to do.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-25 05:42:31 -0600

aji-zqfan gravatar image

can you ping any other ip in your environment? you should check ping: sendmsg: Operation not permitted

if previous step is ok, you should check security-groups, and the security-group rules, to enable ping reply and ssh service, icmp -1 -1 and tcp 22 22 should be open

if previous step is ok, you can access your instance via VNC Console in the dashbaord, check your instance's ip

if previous step is ok, ping the host ip from the instance to find the problem

good luck

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-15 08:43:31 -0600

Seen: 48 times

Last updated: Jul 25 '13