Hi Folks,
I am trying to run k8s pod with unprivileged mode but spdk doesn't seem to
recognize the drive but the vfio device seems to be present on the pod.
nvme.c: 609:spdk_nvme_probe_internal: *ERROR*: NVMe ctrlr scan failed
bdev_nvme.c:1766:spdk_bdev_nvme_create: *ERROR*: No controller was found
with provided trid (traddr: 0000:88:00.0)
$ kubectl exec -it pod-0 /bin/bash
$ ls -ld /dev/vfio/91
crw------- 1 root root 241, 10 Jul 16 14:44 /dev/vfio/91
$ readlink /sys/bus/pci/devices/0000\:88\:00.0/iommu_group
../../../../../../kernel/iommu_groups/91
Note:- with privilege mode there are no issues
Show replies by date
Hi,
Saw your note on Slack, that's probably a better place to have the discussion. Will
get back to you over there shortly...
Thanks!
Paul
On 7/23/20, 10:50 AM, "Pharthiphan Asokan" <pharthiphan(a)gmail.com>
wrote:
Hi Folks,
I am trying to run k8s pod with unprivileged mode but spdk doesn't seem to
recognize the drive but the vfio device seems to be present on the pod.
nvme.c: 609:spdk_nvme_probe_internal: *ERROR*: NVMe ctrlr scan failed
bdev_nvme.c:1766:spdk_bdev_nvme_create: *ERROR*: No controller was found
with provided trid (traddr: 0000:88:00.0)
$ kubectl exec -it pod-0 /bin/bash
$ ls -ld /dev/vfio/91
crw------- 1 root root 241, 10 Jul 16 14:44 /dev/vfio/91
$ readlink /sys/bus/pci/devices/0000\:88\:00.0/iommu_group
../../../../../../kernel/iommu_groups/91
Note:- with privilege mode there are no issues
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org