neutron generate random MAC

asked 2014-12-10 06:32:19 -0500

laco.humo gravatar image

Hi all,

scenario: openstack-packstack installation (icehouse version), controller+neutron on VM (esx), 2x compute nodes on HP DL360G6

this setup below generated "random" ten thousand of broadcast/multicast traffic (mainly ARP and neighbor-solicitation) with mac addresses, what overloaded physical switch until the switch went down. Setup reproduced 100%.

What kind of config error is there, and why so many requests are coming out from neutron.

symptoms

creation of 'random' source mac addresses on compute node (seems to be caused by neutron)

first server - output from switch

lan    Mac Address       Type        Ports
----    -----------       --------    -----
777    0026.5582.8d5a    STATIC      Gi0/22 
 777    0e44.a8c6.f163    STATIC      Gi0/20 
 777    1619.725f.f7d5    STATIC      Gi0/20 
 777    16a3.a978.edec    STATIC      Gi0/20 
 777    16df.0ea1.610b    STATIC      Gi0/20 
 777    18a9.053b.eab2    STATIC      Gi0/26 
 777    18a9.0541.b02e    STATIC      Gi0/20 
 777    1a2c.95d2.9ae1    STATIC      Gi0/20 
 777    1eec.9e98.5a55    STATIC      Gi0/20 
 777    2663.19e4.9bf2    STATIC      Gi0/20 
 777    26be.8a49.f3bb    STATIC      Gi0/20 
 777    2a5b.f1e9.1b60    STATIC      Gi0/20 
 777    3e2b.4f6a.0133    STATIC      Gi0/20 
 777    4294.c5d4.09d9    STATIC      Gi0/20 
...

second server - output from switch

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 777    0026.5582.8d5a    STATIC      Gi0/22 
 777    18a9.053b.eab2    STATIC      Gi0/26 
 777    18a9.0541.b02e    STATIC      Gi0/20 
 777    1e8a.6516.5067    STATIC      Gi0/22 
 777    22f4.874f.8441    STATIC      Gi0/22 
 777    2a6d.e78b.8498    STATIC      Gi0/22 
 777    4aca.6546.15ea    STATIC      Gi0/22 
 777    5e30.2240.9235    STATIC      Gi0/22 
 777    6211.166d.cc98    STATIC      Gi0/22 
 777    96bc.ecb8.bc72    STATIC      Gi0/22 
 777    ba7f.673d.5c72    STATIC      Gi0/22 
 777    d8d3.85ba.3732    STATIC      Gi0/24 
 777    daf0.9fef.a091    STATIC      Gi0/22 
...

first server

snode030103:/etc/sysconfig/network-scripts # cat ifcfg-br-ex

DEVICE=br-ex
BOOTPROTO=none
DEVICETYPE=ovs
TYPE=OVSBridge
ONBOOT=yes
OVSBOOTPROTO=none
IPADDR=172.20.36.232
NETMASK=255.255.255.0
GATEWAY=172.20.36.1
DEFROUTE=yes
NM_CONTROLLED=no

snode030103:/etc/sysconfig/network-scripts # cat ifcfg-eth1

DEVICE=eth1
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSPort
OVSBOOTPROTO=none
OVS_BRIDGE=br-ex
NM_CONTROLLED=no

snode030103:/etc/sysconfig/network-scripts # service network restart

Shutting down interface eth0:                              [  OK  ]
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface br-ex:  Determining if ip address 172.20.36.232 is already in use for device br-ex...
                                                           [  OK  ]
Bringing up interface eth0:  Determining if ip address 10.30.10.150 is already in use for device eth0...
                                                           [  OK  ]
Bringing up interface eth1:  RTNETLINK answers: File exists
                                                           [  OK  ]

snode030103:~ # ovs-vsctl show

04b35f91-71de-47b1-b34c-eb4b77d0a67d
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "vxlan-ac1424e9"
            Interface "vxlan-ac1424e9"
                type: vxlan
                options: {in_key=flow, local_ip="172.20.36.232", out_key=flow, remote_ip="172.20.36.233"}
        Port "vxlan-ac1424e7"
            Interface "vxlan-ac1424e7"
                type: vxlan
                options: {in_key=flow, local_ip="172.20.36.232", out_key=flow, remote_ip="172.20.36.231"}
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun ...
(more)
edit retag flag offensive close merge delete