Hi Team,

 We are currently facing ovs-vswitchd crash and  restart every one
hour.  Currently,
we are running the following versions on hypervisor. Here is the version
info and the backtrace of the core below.  This is addressed using
https://github.com/openvswitch/ovs/commit/106ef21860c935e5e0017a88bf42b94025c4e511

https://github.com/openvswitch/ovs/commit/111c7be3193e15e2acf8af8ceb74a1177a95806d.
It has been validated.

To take advantage of  this fix and other performance improvement fixes, We
want to migrate to OVS 3.x version. When it comes to version compatibility
with ovn-controller and OVS  DB schema, What are the compatible
versions, if we want to migrate to OVS 3.x version?


# ovn-controller --version

*ovn-controller 22.09.2*

*Open vSwitch Library 3.0.3*

OpenFlow versions 0x6:0x6

SB DB Schema 20.25.0


# ovs-vsctl --version

*ovs-vsctl (Open vSwitch) 2.17.6*

*DB Schema 8.3.0*



Using host libthread_db library "/lib64/libthread_db.so.1".

Core was generated by `ovs-vswitchd unix:/var/run/openvswitch/db.sock
-vconsole:emer -vsyslog:err -vfi'.

Program terminated with signal SIGABRT, Aborted.

#0  0x00007f1b7e54854c in __pthread_kill_implementation () from
/lib64/libc.so.6

[Current thread is 1 (Thread 0x7f1b6fbfd640 (LWP 1617989))]

(gdb) bt

#0  0x00007f1b7e54854c in __pthread_kill_implementation () from
/lib64/libc.so.6

#1  0x00007f1b7e4fbce6 in raise () from /lib64/libc.so.6

#2  0x00007f1b7e4cf7f3 in abort () from /lib64/libc.so.6

#3  0x000055eb8de11d74 in ovs_abort_valist (err_no=err_no@entry=0,

    format=format@entry=0x55eb8e01ca18 "%s: assertion %s failed in %s()",

    args=args@entry=0x7f1b6fbad030) at ../lib/util.c:444

#4  0x000055eb8de1c335 in vlog_abort_valist (module_=<optimized out>,

    message=0x55eb8e01ca18 "%s: assertion %s failed in %s()",

    args=args@entry=0x7f1b6fbad030) at ../lib/vlog.c:1249

#5  0x000055eb8de1c3da in vlog_abort (

    module=module@entry=0x55eb8e36a4a0 <this_module.lto_priv>,

    message=message@entry=0x55eb8e01ca18 "%s: assertion %s failed in %s()")

    at ../lib/vlog.c:1263

#6  0x000055eb8de1c41b in ovs_assert_failure (where=<optimized out>,

    function=<optimized out>, condition=<optimized out>) at ../lib/util.c:86

#7  0x000055eb8de555b8 in ofpbuf_at_assert (b=0x7f1b3001cb70,
b=0x7f1b3001cb70,

    offset=16, size=20) at ../include/openvswitch/ofpbuf.h:194

#8  tc_replace_flower (id=<optimized out>, flower=<optimized out>)

--Type <RET> for more, q to quit, c to continue without paging--

    at ../lib/tc.c:3285

#9  0x000055eb8de4c5c8 in netdev_tc_flow_put (netdev=0x55eb968e5e50,

    match=<optimized out>, actions=<optimized out>, actions_len=<optimized
out>,

    ufid=<optimized out>, info=<optimized out>, stats=<optimized out>)

    at ../lib/netdev-offload-tc.c:2181

#10 0x000055eb8de31078 in netdev_flow_put (stats=<optimized out>,

    info=0x7f1b6fbb5710, ufid=<optimized out>, act_len=<optimized out>,

    actions=<optimized out>, match=0x7f1b6fbb5910, netdev=0x55eb968e5e50)

    at ../lib/netdev-offload.c:259

#11 parse_flow_put (put=0x7f1b6fbb7c30, dpif=<optimized out>)

    at ../lib/dpif-netlink.c:2297

#12 try_send_to_netdev (op=0x7f1b6fbb7c28, dpif=<optimized out>)

    at ../lib/dpif-netlink.c:2384

#13 dpif_netlink_operate (dpif_=<optimized out>, ops=0x7f1b6fbb6800,

    n_ops=<optimized out>, offload_type=DPIF_OFFLOAD_AUTO)

    at ../lib/dpif-netlink.c:2455

#14 0x000055eb8dd3adda in dpif_operate (dpif=0x55eb968cab10,
ops=0x7f1b6fbb6800,

    n_ops=3, offload_type=<optimized out>) at ../lib/dpif.c:1372

--Type <RET> for more, q to quit, c to continue without paging--

#15 0x000055eb8dce6a6b in handle_upcalls (n_upcalls=<optimized out>,

    upcalls=0x7f1b6fbdb430, udpif=0x55eb968983d0)

    at ../ofproto/ofproto-dpif-upcall.c:1677

#16 recv_upcalls (handler=handler@entry=0x55eb96931558)

    at ../ofproto/ofproto-dpif-upcall.c:915

#17 0x000055eb8dce6c44 in udpif_upcall_handler (arg=0x55eb96931558)

    at ../ofproto/ofproto-dpif-upcall.c:815

#18 0x000055eb8dddab13 in ovsthread_wrapper (aux_=<optimized out>)

    at ../lib/ovs-thread.c:422

#19 0x00007f1b7e546802 in start_thread () from /lib64/libc.so.6

#20 0x00007f1b7e4e6450 in clone3 () from /lib64/libc.so.6

(gdb) q


Thanks

Srini
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to