how to setup the ml2 config both vlan and gre in same neutron network node

asked 2014-12-16 22:14:19 -0600

rajcoumar gravatar image

updated 2014-12-18 02:53:47 -0600

Icehouse : One Controller node, Compute node 1 and Neutron network node1 Setup:

Controller node : Keystone, Glance, Cinder and Nova api packages are installed and configured.

Compute node : Nova-compute, neutron openvswitch packages are installed and configured.

Neutron network node: neutron and openvswitch packages are installed and configured.

cat /etc/neutron/plugins/ml2/ml2_conf.ini | grep -v ^$ | grep -v ^#

   type_drivers = vlan,gre
   tenant_network_types = vlan,gre
   mechanism_drivers = openvswitch,linuxbridge
   network_vlan_ranges = inter-net-1:200:300
   tunnel_id_ranges = 1:1000
   tunnel_types = gre
   local_ip =
   enable_tunneling = True
   tenant_network_type = vlan
   integration_bridge = br-int
   tunnel_bridge = br-tun
   bridge_mappings = inter-net1:br-eth3
   firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
   enable_security_group = True

In ml2 configuration file, i have configured the both gre and vlan. I created two internal networks one is using gre and other is using vlan.

From gre network i am able to launch the instance perfectly. But unable to launch instance from vlan internal networks. While launching got some errors in nova compute log given below

              DEBUG neutronclient.v2_0.client [-] Error message: 404 Not Found
              The resource could not be found.
              TRACE nova.compute.manager [instance: 49f3e407-f617-4306-bb59-1e170b2b1cda] NovaException: Unexpected vif_type=binding_failed
               RescheduledException: Build of instance 49f3e407-f617-4306-bb59-1e170b2b1cda was re-scheduled: Unexpected vif_type=binding_failed

How to resolve this issue. I want to run the vlan and gre in same node

edit retag flag offensive close merge delete


any error logs in neutron server as well as openvswitch plugin, paste here for us to take a look.

9lives gravatar image9lives ( 2014-12-18 04:40:44 -0600 )edit

thanks 9lives.. finally i solved these errors

rajcoumar gravatar imagerajcoumar ( 2014-12-18 05:52:17 -0600 )edit

could you paste the solution in by answer you own question, thanks for your contribution.

9lives gravatar image9lives ( 2014-12-18 06:09:38 -0600 )edit

half part only finished... errors cleared. how to create bridge for vlan within same interface (gre also using same interface)

rajcoumar gravatar imagerajcoumar ( 2014-12-18 07:30:02 -0600 )edit

eth0 : -- GRE. I add a bridge for vlan ie: br-eth0. Then i create the vlan internal and subnets everything. after launching unable to get ip from vlan internal networks..

rajcoumar gravatar imagerajcoumar ( 2014-12-18 07:38:18 -0600 )edit