EAL: cannot open VFIO container, error 1 (Operation not permitted)

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Hey Guys, ​ I am trying to attach the NVMe device using VFIO to a Kubernetes pod. ​ To give some background spdk runs on the bare metal and NVMe device added to the Kubernetes pod using vfio ​ It works without any issues when the pod is deployed using the privileged mode but when I run with unprivileged mode, the device doesn’t seem to be accessible ​ EAL: cannot open VFIO container, error 1 (Operation not permitted)EAL: VFIO support could not be initializednvme.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/91crw——- 1 pasokan pasokan 241, 10 Jul 16 14:44 /dev/vfio/91$ readlink /sys/bus/pci/devices/0000:88:00.0/iommu_group../../../../../../kernel/iommu_groups/91 ​ $ ls -ld /dev/vfio/vfio ​ crw-rw-rw- 1 root root 10, 196 Jul 30 02:01 /dev/vfio/vfio ​ Doesn’t looks to me like a permission issue! I have tried number of things but no improvement! 🙁 ​ here are the additional capabilities I am adding while running it in the unprivileged mode ​ IPC_LOCK,SYS_PTRACE,SYS_NICE,SYS_RAWIO,SYS_ADMIN ​ ​ ​ any thoughts? submitted by /u/Cute_Sheepherder_920 [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Why can't I re-apply a statefulset?

Thu Jul 30 , 2020
Spread the love          I have a StatefulSet. I apply it through kustomize – fine. I apply it again – it gives me an error, which I understand (it doesnt like the volumeClaims), but I don’t really understand how to “fix” this. Do I need to keep my StatefulSet out of kustomize, […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM