On 2/13/24 00:10, Sri kor via discuss wrote: > Hi Team, > When I am trying to add the nat entry for LR, ovn-nbctl cored. here is > back trace.
Hi, > > [root@ovnkube-db-0 ~]# ovn-nbctl --no-leader-only lr-nat-add > a_4a3e9209_8826_4561_9c58_4a852bd61c45_lr_a2b89a8a_530a_446f_bf6c_ecf223a7af22 > dnat_and_snat 91.106.221.145 10.10.10.10 > */Segmentation fault (core dumped)/* > [root@ovnkube-db-0 ~]# ovn-nbctl --version > ovn-nbctl 23.09.1 > Open vSwitch Library 3.2.2 > DB Schema 7.1.0 > [root@ovnkube-db-0 ~]# > > > (gdb) core-file core.ovn-nbctl.60392.1707778809 > [New LWP 60392] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > Core was generated by `ovn-nbctl --no-leader-only lr-nat-add > a_4a3e9209_8826_4561_9c58_4a852bd61c45_lr'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x000079ebeb4d958b in __strcmp_avx2 () from /lib64/libc.so.6 > (gdb) bt > #0 0x000079ebeb4d958b in __strcmp_avx2 () from /lib64/libc.so.6 > #1 0x000055f5ecdb1d39 in nbctl_lr_nat_add.lto_priv () > #2 0x000055f5ecd9d39a in main_loop.lto_priv () > #3 0x000055f5ecd998a2 in main () > (gdb) > I tried this in a sandbox built from v23.09.1: $ ovn-nbctl lr-add a_4a3e9209_8826_4561_9c58_4a852bd61c45_lr_a2b89a8a_530a_446f_bf6c_ecf223a7af22 $ ovn-nbctl --no-leader-only lr-nat-add a_4a3e9209_8826_4561_9c58_4a852bd61c45_lr_a2b89a8a_530a_446f_bf6c_ecf223a7af22 dnat_and_snat 91.106.221.145 10.10.10.10 $ And it doesn't seem to crash. Is OVN built from source in your case? If so, can you please share the first part of config.log, e.g.: $ head -10 config.log If this is a distro provided package, can you please share the distro and version? Thanks, Dumitru _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss