[ovs-discuss] RSTP crash in Open vSwitch
Daniel Swahn
daniel.swahn at clavister.com
Wed Sep 23 11:31:31 UTC 2015
Hi
I get the following crash in "Open vSwitch" during system startup:
[ 37.294346] ovs-vswitchd[1156]: segfault at 90 ip 00000000004291ca sp 00007fff2e7c3080 error 4 in ovs-vswitchd[400000+18f000]
[ 37.508100] openvswitch: netlink: Key attribute has unexpected length (type=21, length=4, expected=0).
Config:
# ovs-vsctl show
Bridge ospf
Port ospf
Interface ospf
type: internal
Bridge "vsg_01"
Port "vsg_01"
Interface "vsg_01"
type: internal
Bridge hasync
Port hasync
Interface hasync
type: internal
Port "front1"
Interface "front1"
Bridge management
Port "base2"
Interface "base2"
Port management
Interface management
type: internal
Port "base1"
Interface "base1"
Port "base1.192"
tag: 192
Interface "base1.192"
Bridge "vsg_02"
Port "vsg_02"
Interface "vsg_02"
type: internal
# ovs-dpctl show
system at ovs-system:
lookups: hit:457593 missed:1216 lost:1
flows: 16
masks: hit:1354321 total:8 hit/pkt:2.95
port 0: ovs-system (internal)
port 1: management (internal)
port 2: ospf (internal)
port 3: base1
port 4: base2
port 5: hasync (internal)
port 6: front1
port 7: base1.192
port 8: vsg_02 (internal)
port 9: vsg_01 (internal)
GDB:
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004291ca in rstp_run (ofproto=<optimized out>, ofproto=<optimized out>) at ofproto/ofproto-dpif.c:2278
2278 bundle_move(((struct ofport_dpif *)rstp_get_old_root_aux(ofproto->rstp))->bundle,
Missing separate debuginfos, use: debuginfo-install glibc-2.17-78.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.12.2-14.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 openssl-libs-1.0.1e-42.el7.9.x86_64 pcre-8.32-14.el7.x86_64 xz-libs-5.1.2-9alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0 0x00000000004291ca in rstp_run (ofproto=<optimized out>, ofproto=<optimized out>) at ofproto/ofproto-dpif.c:2278
#1 run (ofproto_=0x1aa3120) at ofproto/ofproto-dpif.c:1495
#2 0x000000000041acfb in ofproto_run (p=0x1aa3120) at ofproto/ofproto.c:1677
#3 0x00000000004095f4 in bridge_run__ () at vswitchd/bridge.c:2864
#4 0x000000000040d3c5 in bridge_reconfigure (ovs_cfg=<optimized out>) at vswitchd/bridge.c:686
#5 0x000000000040fa2f in bridge_run () at vswitchd/bridge.c:2951
#6 0x00000000004065e5 in main (argc=11, argv=0x7fff2e7c35f8) at vswitchd/ovs-vswitchd.c:120
(gdb) frame 0
#0 0x00000000004291ca in rstp_run (ofproto=<optimized out>, ofproto=<optimized out>) at ofproto/ofproto-dpif.c:2278
2278 bundle_move(((struct ofport_dpif *)rstp_get_old_root_aux(ofproto->rstp))->bundle,
(gdb) info locals
now = <optimized out>
elapsed = <optimized out>
rp = 0x0
ofport = <optimized out>
Version (no local modifications):
# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.4.0
Compiled Sep 9 2015 09:55:47
# uname -a
Linux localhost 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Description:
I get this during system startup in CentOS 7. Everything seem to work once the system is fully booted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150923/ede36d25/attachment-0002.html>
More information about the discuss
mailing list