Open gland1 opened 1 year ago
a workaround is to set an ip via netplan and make sure ip exists before spdk starts
Hello @gland1 I think the issue duplicates existing https://github.com/Mellanox/libxlio/issues/7 Am I correct?
yes, it is a duplicate of #7
Subject
libxlio crash when no ips exists when application starts
Issue type
Configuration:
Actual behavior:
spdk application crash when connecting to nvmf subsystem
Expected behavior:
connect should succeed with no crash
Steps to reproduce:
starts spdk application with LD_PRELOAD=libxlio.so XLIO_PROFILE=XLIO_SPEC=nvme_bf2 when no IPs exist on bf nic Connect to nvmf volume -> crash part of stack: /usr/lib/libxlio.so(connect+0xc8) [0xffffad4915c8] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 9 /usr/lib/libxlio.so(+0xcb4bc) [0xffffad47b4bc] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 8 /usr/lib/libxlio.so(+0xc5cdc) [0xffffad475cdc] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 7 /usr/lib/libxlio.so(+0x9c120) [0xffffad44c120] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 6 /usr/lib/libxlio.so(+0x9b378) [0xffffad44b378] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 5 /usr/lib/libxlio.so(+0x86268) [0xffffad436268] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 4 /usr/lib/libxlio.so(+0x84714) [0xffffad434714] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 3 /usr/lib/libxlio.so(+0x82824) [0xffffad432824] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 2 /usr/lib/libxlio.so(+0x7eadc) [0xffffad42eadc] Jun 08 11:38:25 BF1-crux.lab.il spdk[3997]: 1 /usr/lib/libxlio.so(+0x4944c) [0xffffad3f944c]