Single Node Havana Setup

asked 2014-01-15 23:25:13 -0500

Shivaramakrishnan gravatar image

updated 2014-01-22 15:12:27 -0500

Evgeny gravatar image

Hello, I am newbie to openstack. I am trying to setup openstack on a single node running all the services. I managed to get the architecture setup and am stuck at the last step. I have two interfaces on this machine with 24G ram and plenty hard diskspace.

One interface - eth0 - - Gw : == Internet Connectivity

Other interface - eth1 connected to Gw : which is then connected to on its lan port.

I used eth1 for configuring a bridged interface br-int using ovs-vsctl command. This node is running Identity,Image,Nova (Controller Services for compute ,Compute Services),Neutron ,Dashboard and cinder.

I am using flat topology as a use case. I created two vm's that are able to see each other (able to ping each other) The vm's are having same subnet range as the gateway i.e. ( for vm1 and for vm2) .Both are having as the gateway. I see the tapped interfaces created appr under ovs-vsctl show command under br-int.

My problem is I am not able to ping the vm from the host or vice versa nor the gateway from the vm.I see the packets on eth1 and on br-int when I do a tcpdump. I haven't modified any iptables and its the default configuration of openstack components and ubuntu 12.04 LTS.

Can anyone please help me out to get through this step as I am having no clue as to where the problem is lying.

I used the following commands:

ovs-vsctl add-br br-int

ovs-vsctl add-port br-int eth1

neutron net-create --tenant-id =xxxx sharednet1 --shared --provider:network_type flat --physical_network physnet1

netron subnet-create --tenant-id=xxxx sharednet1 --allocation-pool start=,end=

created two vm's that are in this subnet (, -- both able to ping each other. But not able to ping - default gw or host machine.

My /etc/interfaces file : auto eth0

iface eth0 inet static




auto eth1 iface eth1 inet manual

auto br-int

iface br-int inet static




And my /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini


network_vlan_ranges = physnet1

integration_bridge = br-int

bridge-mappings = physnet1:br-int

I somehow now managed to get the vm's talk to controller and vice vm's talk to the controller and vice versa. As soon as I boot the server, I can reach once I boot any one of the instances, I can't ping the gateway. The initial routing table contains as a route. But once ,I boot my instance,I have a tap interface created ... (more)

edit retag flag offensive close merge delete