[ovs-discuss] Openvswitch - Patch Port leads to crashing child if rstp is enabled

Thomas Rosenstein thomas.rosenstein at creamfinance.com
Tue Jan 12 16:02:35 UTC 2016


Hi,

I just upgraded to 2.4.0 and enabled rstp, now adding a patch port leads 
to constant crashes of the child processes.

This only happens if BOTH ends of the patch have rstp enabled!

The commands:

ovs-vsctl add-br br-test1
ovs-vsctl add-br br-test2

ovs-vsctl set br br-test1 rstp_enable=true
ovs-vsctl set br br-test2 rstp_enable=true

ovs-vsctl add-port br-test1 patch-1-2
ovs-vsctl set interface patch-1-2 type=patch options:peer=patch-2-1

ovs-vsctl add-port br-test2 patch-2-1
ovs-vsctl set interface patch-2-1 type=patch options:peer=patch-1-2


The log file:

2016-01-12T15:46:32.705Z|00066|daemon_unix(monitor)|ERR|fork child died 
before signaling startup (killed (Aborted))
2016-01-12T15:46:32.705Z|00067|daemon_unix(monitor)|WARN|23 crashes: pid 
5284 died, killed (Aborted), core dumped, waiting until 10 seconds since 
last restart
2016-01-12T15:46:42.705Z|00068|daemon_unix(monitor)|ERR|23 crashes: pid 
5284 died, killed (Aborted), core dumped, restarting
2016-01-12T15:46:42.709Z|00069|ovs_numa|INFO|Discovered 16 CPU cores on 
NUMA node 0
2016-01-12T15:46:42.709Z|00070|ovs_numa|INFO|Discovered 16 CPU cores on 
NUMA node 1
2016-01-12T15:46:42.709Z|00071|ovs_numa|INFO|Discovered 2 NUMA nodes and 
32 CPU cores
2016-01-12T15:46:42.709Z|00072|memory|INFO|9996 kB peak resident set 
size after 1152.9 seconds
2016-01-12T15:46:42.709Z|00073|reconnect|INFO|unix:/var/run/openvswitch/db.sock: 
connecting...
2016-01-12T15:46:42.709Z|00074|reconnect|INFO|unix:/var/run/openvswitch/db.sock: 
connected
2016-01-12T15:46:42.718Z|00075|ofproto_dpif|INFO|system at ovs-system: 
Datapath supports recirculation
2016-01-12T15:46:42.718Z|00076|ofproto_dpif|INFO|system at ovs-system: MPLS 
label stack length probed as 1
2016-01-12T15:46:42.718Z|00077|ofproto_dpif|INFO|system at ovs-system: 
Datapath supports unique flow ids
2016-01-12T15:46:42.779Z|00001|ofproto_dpif_upcall(handler1)|INFO|received 
packet on unassociated datapath port 0
2016-01-12T15:46:42.785Z|00078|dpif|WARN|system at ovs-system: failed to 
query port internal-interlink: Invalid argument
2016-01-12T15:46:42.786Z|00079|dpif|WARN|system at ovs-system: failed to 
query port interlink-internal: Invalid argument
2016-01-12T15:46:42.787Z|00080|bridge|INFO|bridge br-external: added 
interface br-external on port 65534
2016-01-12T15:46:42.787Z|00081|bridge|INFO|bridge br-external: added 
interface eth1 on port 1
2016-01-12T15:46:42.787Z|00082|bridge|INFO|bridge br-internal: added 
interface internal-interlink on port 2
2016-01-12T15:46:42.787Z|00083|bridge|INFO|bridge br-internal: added 
interface eth0 on port 1
2016-01-12T15:46:42.787Z|00084|bridge|INFO|bridge br-internal: added 
interface br-internal on port 65534
2016-01-12T15:46:42.787Z|00085|bridge|INFO|bridge br-interlink: added 
interface interlink-internal on port 4
2016-01-12T15:46:42.787Z|00086|bridge|INFO|bridge br-interlink: added 
interface br-interlink on port 65534
2016-01-12T15:46:42.788Z|00087|bridge|INFO|bridge br-interlink: added 
interface eth3 on port 2
2016-01-12T15:46:42.788Z|00088|bridge|INFO|bridge br-interlink: added 
interface eth2 on port 1
2016-01-12T15:46:42.788Z|00089|bridge|INFO|bridge br-external: using 
datapath ID 00000cc47a57edc5
2016-01-12T15:46:42.788Z|00090|connmgr|INFO|br-external: added service 
controller "punix:/var/run/openvswitch/br-external.mgmt"
2016-01-12T15:46:42.829Z|00091|bridge|INFO|bridge br-internal: using 
datapath ID 00000cc47a57edc4
2016-01-12T15:46:42.829Z|00092|connmgr|INFO|br-internal: added service 
controller "punix:/var/run/openvswitch/br-internal.mgmt"
2016-01-12T15:46:42.871Z|00093|bridge|INFO|bridge br-interlink: using 
datapath ID 00000cc47a57edc6
2016-01-12T15:46:42.871Z|00094|connmgr|INFO|br-interlink: added service 
controller "punix:/var/run/openvswitch/br-interlink.mgmt"
2016-01-12T15:46:42.914Z|00095|dpif|WARN|system at ovs-system: failed to 
query port internal-interlink: Invalid argument
2016-01-12T15:46:42.914Z|00096|dpif|WARN|system at ovs-system: failed to 
query port interlink-internal: Invalid argument
2016-01-12T15:46:42.931Z|00069|daemon_unix(monitor)|ERR|fork child died 
before signaling startup (killed (Aborted))
2016-01-12T15:46:42.931Z|00070|daemon_unix(monitor)|WARN|24 crashes: pid 
5350 died, killed (Aborted), core dumped, waiting until 10 seconds since 
last restart
2016-01-12T15:46:52.931Z|00071|daemon_unix(monitor)|ERR|24 crashes: pid 
5350 died, killed (Aborted), core dumped, restarting

BR
Thomas



More information about the discuss mailing list