[Bug 1513676] [NEW] vxlan tunneling not working correctly

PshemK pshem.k at gmail.com
Fri Nov 6 01:02:16 UTC 2015


Public bug reported:

I have an openstack setup with dedicated network node (using neutron-
gateway charm) and a compute-only node (nova-compute charm). With this
configuration:

nova-cloud-controller:
 openstack-origin: cloud:trusty-liberty
 network-manager: Neutron
 neutron-external-network: "ext-net"
 console-access-protocol: vnc

neutron-api:
 openstack-origin: cloud:trusty-liberty
 neutron-external-network: "ext-net"
 neutron-security-groups: true
 overlay-network-type: vxlan
 network-device-mtu: 9000

neutron-gateway:
 openstack-origin: cloud:trusty-liberty
 ext-port: eth1

neutron-openvswitch:
# enable-local-dhcp-and-metadata: true

nova-compute:
 openstack-origin: cloud:trusty-liberty


the ml2_conf.ini on the network node ends up with:

[ml2]
type_drivers = gre,vxlan,vlan,flat
tenant_network_types = gre,vxlan,vlan,flat
mechanism_drivers = openvswitch,hyperv,l2population

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ml2_type_vxlan]
vni_ranges = 1001:2000

[ml2_type_vlan]
network_vlan_ranges = physnet1:1000:2000

[ml2_type_flat]
flat_networks =

[ovs]
enable_tunneling = True
local_ip = 10.0.0.2
bridge_mappings = physnet1:br-data

[agent]
tunnel_types = vxlan
l2_population = True
enable_distributed_routing = False
veth_mtu = 9000


[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

whilst the compute node has:
# icehouse
###############################################################################
# [ WARNING ]
# Configuration file maintained by Juju. Local changes may be overwritten.
###############################################################################
[ml2]
type_drivers = gre,vxlan
tenant_network_types = gre,vxlan
mechanism_drivers = openvswitch

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ml2_type_vxlan]
vni_ranges = 1001:2000

[ovs]
enable_tunneling = True
local_ip = 10.0.0.3

[agent]
tunnel_types = gre

[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

Which results in inability to spin up any machines (they try to use
vxlan which is not available on the compute node).

** Affects: neutron-gateway (Juju Charms Collection)
     Importance: Undecided
         Status: New

** Affects: nova-compute (Juju Charms Collection)
     Importance: Undecided
         Status: New

** Also affects: nova (Ubuntu)
   Importance: Undecided
       Status: New

** Package changed: nova (Ubuntu) => nova-compute (Juju Charms
Collection)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1513676

Title:
  vxlan tunneling not working correctly

Status in neutron-gateway package in Juju Charms Collection:
  New
Status in nova-compute package in Juju Charms Collection:
  New

Bug description:
  I have an openstack setup with dedicated network node (using neutron-
  gateway charm) and a compute-only node (nova-compute charm). With this
  configuration:

  nova-cloud-controller:
   openstack-origin: cloud:trusty-liberty
   network-manager: Neutron
   neutron-external-network: "ext-net"
   console-access-protocol: vnc

  neutron-api:
   openstack-origin: cloud:trusty-liberty
   neutron-external-network: "ext-net"
   neutron-security-groups: true
   overlay-network-type: vxlan
   network-device-mtu: 9000

  neutron-gateway:
   openstack-origin: cloud:trusty-liberty
   ext-port: eth1

  neutron-openvswitch:
  # enable-local-dhcp-and-metadata: true

  nova-compute:
   openstack-origin: cloud:trusty-liberty

  
  the ml2_conf.ini on the network node ends up with:

  [ml2]
  type_drivers = gre,vxlan,vlan,flat
  tenant_network_types = gre,vxlan,vlan,flat
  mechanism_drivers = openvswitch,hyperv,l2population

  [ml2_type_gre]
  tunnel_id_ranges = 1:1000

  [ml2_type_vxlan]
  vni_ranges = 1001:2000

  [ml2_type_vlan]
  network_vlan_ranges = physnet1:1000:2000

  [ml2_type_flat]
  flat_networks =

  [ovs]
  enable_tunneling = True
  local_ip = 10.0.0.2
  bridge_mappings = physnet1:br-data

  [agent]
  tunnel_types = vxlan
  l2_population = True
  enable_distributed_routing = False
  veth_mtu = 9000

  
  [securitygroup]
  firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

  whilst the compute node has:
  # icehouse
  ###############################################################################
  # [ WARNING ]
  # Configuration file maintained by Juju. Local changes may be overwritten.
  ###############################################################################
  [ml2]
  type_drivers = gre,vxlan
  tenant_network_types = gre,vxlan
  mechanism_drivers = openvswitch

  [ml2_type_gre]
  tunnel_id_ranges = 1:1000

  [ml2_type_vxlan]
  vni_ranges = 1001:2000

  [ovs]
  enable_tunneling = True
  local_ip = 10.0.0.3

  [agent]
  tunnel_types = gre

  [securitygroup]
  enable_security_group = True
  firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

  Which results in inability to spin up any machines (they try to use
  vxlan which is not available on the compute node).

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/neutron-gateway/+bug/1513676/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list