New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(degradation) VMware *ERROR*: Host (Initiator) is not allowed to use RDMA operations (responder_resources 1) #3115
Comments
This seems to point to patch 6bc8d26 and the change from quote suggest that @AlekseyMarchuk would you be able to take a look ? |
I didn't test this patch with VMware. From the log provided by @Dante4 we can see that VMware sent rdma_conn_param which was all zeroes. That is a bit incorrect and it seems that IB driver sets some defaults using HW capability.
I'll push a patch to make this check less strict |
@Dante4 could you try this patch https://review.spdk.io/gerrit/c/spdk/spdk/+/19732 ?
|
Uups, I misscopyed, it should be responder_resources == 1, instead of initiator_depth. The patch is working, but flood in log too much |
Thank you for verification, I'll reduce number of logs |
Initiator must not set intiator_depth since accordig to the NVMf spec it can't issue RDMA operations. But some drivers set it to incorrect value. We can allow such connections, just print a warning when admin qpair is connected Fixes issue #3115 Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I006d8bb609819cb97b3b57051ce9ffdcb80796a6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19732 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@gmail.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
Sighting report
When I try to connect device by NVMe over RDMA from VMware I receive error:
Expected Behavior
I receive nvme-of device in VMware
Current Behavior
I receive error:
Steps to Reproduce
Context (Environment including OS version, SPDK version, etc.)
Target -
OS: Ubuntu 22.04
Kernel: 6.2.0-31
SPDK version: v23.09-pre git sha1 5ec4a06
Initiator:
VMware ESXi 7.0.3 build-21930508
VMware ESXi 7.0.3 build-21422485
Hardware:
ConnectX-3 Pro
Everything is working if I use TCP instead of RDMA. But iSER is working just fine and I can discover controller with built-in kernel nvme target with RDMA, so the problem is not RDMA by itself :(
And if I change
if (rdma_param->initiator_depth == 0)
in https://github.com/spdk/spdk/blob/master/lib/nvmf/rdma.c
to
if (rdma_param->initiator_depth == 1)
And version
v23.05 also working as intended
The text was updated successfully, but these errors were encountered: