Closed sukhi61166 closed 1 week ago
Seems related to the fix https://github.com/linux-nvme/libnvme/commit/9967817 as caused this issue by the change.
Do you compile your library with OpenSSL support enabled?
If we do not build with OpenSSL this here is obviously wrong:
It should return 0; Can you either build with OpenSSL enabled or replace the return value to 0 there?
@igaw,
./subprojects/libnvme/internal/config.h:#define CONFIG_OPENSSL
./subprojects/libnvme/internal/config.h:#define CONFIG_OPENSSL_3
It seems that both of the above config options were enabled by default. We did not enable them explicitly though. We prefer to build nvme-cli with default options including with openssl as it may be needed for using TLS.
./meson-logs/meson-log.txt:292:Run-time dependency openssl found: YES 3.0.13
./meson-logs/meson-log.txt:315:Header "openssl/opensslv.h" has symbol "LIBRESSL_VERSION_NUMBER" with dependency openssl: NO
./meson-logs/meson-log.txt:329:Has header "openssl/core_names.h" with dependency openssl: YES
CONFIG_OPENSSL
is just saying there OpenSSL available and CONFIG_OPENSSL_3
says it is version 3. The meson logs look okay. The OpenSSL version detection is not straight forward, because the OpenSSL folks thought they know better.
Anyway, I've mixed up OpenSSL with libkeyutils. Can you check if you have this library installed or attach the complete meson configure step output. Also did you try to change the return value in __nvme_import_keys_from_config
?
We are not able to connect/discover with nvme fabrics using the latest nvme-cli version. I tried few combinations and seems like the issue might be the libnvme 1.11. Both the connect and connect-all are failing. I don't see any errors in the dmesg.
Error seen
Drives loaded