Hello,

I'm trying to find a place to start looking for the cause of, and possible a fix for, an issue we have with the ryu OVS controller as implemented for OpenStack neutron.

Some background:
We connect to several services on the physical network through VLAN interfaces on a bonded pair of physical NICs, e.g. bond0.10 and bond0.42. Linux typically creates those VLAN interfaces with the same MAC address as bond0 (in turn choosen from a MAC address of one of the bond members). The important detail is that both bond0.10 and bond0.42 have the same MAC addresses. Which is fine, because they're part of different (broadcast/switch) domains.
Like this:
  ovs-vsctl show
     Bridge br-10
          Controller "tcp:127.0.0.1:6633"
          fail_mode: secure
          <snip>
          Port "bond0.10"
              Interface "bond0.10"
     Bridge br-42
        Controller "tcp:127.0.0.1:6633"
        fail_mode: secure
        <snip>
        Port "bond0.42"
            Interface "bond0.42"

  ip link sh
  <snip>
  18: bond0.10@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> state UP
      link/ether 00:aa:bb:cc:dd:ee brd ff:ff:ff:ff:ff:ff
  19: bond0.42@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> state UP
      link/ether 00:aa:bb:cc:dd:ee brd ff:ff:ff:ff:ff:ff


What happens is that the ryu controller listening on 127.0.0.1:6633 keeps disconnecting, resulting in these neutron openvswitch agent log entries: 2017-08-09T11:13:10.826Z|21733|rconn|INFO|br-10<->tcp:127.0.0.1:6633: connection closed by peer 2017-08-09T11:13:18.826Z|21734|rconn|INFO|br-10<->tcp:127.0.0.1:6633: connected


Could anyone explain to me what the issue is or point me in the right direction where to look in the sources ?

[ we currently worked around this issue by changing the individual MAC addresses of all bond0.* interfaces ]



--
Grateful regards,
Albert Siersema

Mediacaster Datacenter en Netwerken
supp...@mediacaster.nl
050-2101048


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to