Skip to content
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

kubevirt vm-passthrough Tesla M6 strange name : ARIEL_DEVICE_24_FUNCTION_3 #556

Closed
jear opened this issue Jul 21, 2023 · 3 comments
Closed

Comments

@jear
Copy link

jear commented Jul 21, 2023

What happened:

k logs virt-launcher-win10-tesla-m6-zz8bc 
{"component":"virt-launcher","level":"info","msg":"Collected all requested hook sidecar sockets","pos":"manager.go:86","timestamp":"2023-07-21T15:42:54.351010Z"}
{"component":"virt-launcher","level":"info","msg":"Sorted all collected sidecar sockets per hook point based on their priority and name: map[]","pos":"manager.go:89","timestamp":"2023-07-21T15:42:54.352999Z"}
{"component":"virt-launcher","level":"info","msg":"Connecting to libvirt daemon: qemu+unix:///session?socket=/var/run/libvirt/virtqemud-sock","pos":"libvirt.go:524","timestamp":"2023-07-21T15:42:54.353820Z"}
{"component":"virt-launcher","level":"info","msg":"Connecting to libvirt daemon failed: virError(Code=38, Domain=7, Message='Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory')","pos":"libvirt.go:532","timestamp":"2023-07-21T15:42:54.357405Z"}
{"component":"virt-launcher","level":"info","msg":"libvirt version: 9.0.0, package: 3.el9 (builder@centos.org, 2023-02-01-12:58:56, )","subcomponent":"libvirt","thread":"46","timestamp":"2023-07-21T15:42:54.382000Z"}
{"component":"virt-launcher","level":"info","msg":"hostname: win10-tesla-m6","subcomponent":"libvirt","thread":"46","timestamp":"2023-07-21T15:42:54.382000Z"}
{"component":"virt-launcher","level":"error","msg":"Unable to open /dev/kvm: Permission denied","pos":"virHostCPUGetCPUID:1422","subcomponent":"libvirt","thread":"46","timestamp":"2023-07-21T15:42:54.382000Z"}
{"component":"virt-launcher","level":"error","msg":"internal error: Unable to get session bus connection: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or /etc/machine-id: Failed to open file “/var/lib/dbus/machine-id”: No such file or directory","pos":"virGDBusGetSessionBus:126","subcomponent":"libvirt","thread":"46","timestamp":"2023-07-21T15:42:54.382000Z"}
{"component":"virt-launcher","level":"error","msg":"internal error: Unable to get system bus connection: Could not connect: No such file or directory","pos":"virGDBusGetSystemBus:99","subcomponent":"libvirt","thread":"46","timestamp":"2023-07-21T15:42:54.382000Z"}
{"component":"virt-launcher","level":"info","msg":"Connected to libvirt daemon","pos":"libvirt.go:540","timestamp":"2023-07-21T15:42:54.866795Z"}
{"component":"virt-launcher","level":"info","msg":"Registered libvirt event notify callback","pos":"client.go:539","timestamp":"2023-07-21T15:42:54.877944Z"}
{"component":"virt-launcher","level":"info","msg":"Marked as ready","pos":"virt-launcher.go:75","timestamp":"2023-07-21T15:42:54.879014Z"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.549148Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.549213Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.549251Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.549295Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.683479Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.683558Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.683626Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.683711Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.783133Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.783221Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.783284Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.783365Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.864295Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.864376Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.864425Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.864496Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.955687Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:58.955783Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.955835Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:58.955897Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.036304Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.036384Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.036439Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.036524Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.144116Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.144236Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.144305Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.144400Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.554639Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:42:59.554762Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.554870Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:42:59.554965Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:00.280717Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:00.280778Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:00.280816Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:00.280869Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:01.675153Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:01.675247Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:01.675315Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:01.675398Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:04.325594Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:04.325731Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:04.325798Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:04.325879Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:09.536292Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:09.536349Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:09.536383Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:09.536428Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:19.860636Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:19.860713Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:19.860745Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:19.860775Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:40.429801Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:43:40.429919Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:40.429986Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:43:40.430066Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:44:21.479014Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:44:21.479120Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:44:21.479183Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:44:21.479284Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:45:43.488365Z"}
{"component":"virt-launcher","level":"warning","msg":"MDEV_PCI_RESOURCE_NVIDIA_COM_GPU not set for resource nvidia.com/gpu","pos":"addresspool.go:51","timestamp":"2023-07-21T15:45:43.488473Z"}
{"component":"virt-launcher","kind":"","level":"error","msg":"failed to generate libvirt domain from VMI spec","name":"win10-tesla-m6","namespace":"default","pos":"manager.go:966","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:45:43.488539Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
{"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"win10-tesla-m6","namespace":"default","pos":"server.go:202","reason":"failed to create GPU host-devices: the number of GPU/s do not match the number of devices:\nGPU: [{gpu1 nvidia.com/gpu <nil> }]\nDevice: []","timestamp":"2023-07-21T15:45:43.488638Z","uid":"0560ac56-96f3-45b4-a557-bea9dda6bb21"}
(base) ubuntu@worker11:~/.../my-kubevirt-nvidia$ 



@jear jear changed the title kubevirt vm-passthrough Crashloopback of pods virt-launcher- kubevirt vm-passthrough Jul 21, 2023
@jear
Copy link
Author

jear commented Jul 21, 2023

k get nodes -o yaml | grep nvidia.com
      nvidia.com/gpu.deploy.nvsm: ""
      nvidia.com/gpu.deploy.sandbox-device-plugin: "true"
      nvidia.com/gpu.deploy.sandbox-validator: "true"
      nvidia.com/gpu.deploy.vfio-manager: "true"
      nvidia.com/gpu.present: "true"
      nvidia.com/gpu.workload.config: vm-passthrough
      nvidia.com/ARIEL_DEVICE_24_FUNCTION_3: "1"
      nvidia.com/GM204GL_TESLA_M6: "0"
      nvidia.com/gpu: "0"
      nvidia.com/ARIEL_DEVICE_24_FUNCTION_3: "1"
      nvidia.com/GM204GL_TESLA_M6: "0"
      nvidia.com/gpu: "0"
      management.cattle.io/pod-limits: '{"cpu":"1300m","devices.kubevirt.io/kvm":"1","devices.kubevirt.io/tun":"1","devices.kubevirt.io/vhost-net":"1","memory":"2724354560","nvidia.com/gpu":"1"}'
      management.cattle.io/pod-requests: '{"cpu":"1671m","devices.kubevirt.io/kvm":"1","devices.kubevirt.io/tun":"1","devices.kubevirt.io/vhost-net":"1","ephemeral-storage":"100M","memory":"15192185596","nvidia.com/gpu":"1","pods":"21"}'
      nfd.node.kubernetes.io/feature-labels: cpu-cpuid.AESNI,cpu-cpuid.AVX,cpu-cpuid.AVXSLOW,cpu-cpuid.CMPXCHG8,cpu-cpuid.FLUSH_L1D,cpu-cpuid.FXSR,cpu-cpuid.FXSROPT,cpu-cpuid.IBPB,cpu-cpuid.LAHF,cpu-cpuid.MD_CLEAR,cpu-cpuid.OSXSAVE,cpu-cpuid.SPEC_CTRL_SSBD,cpu-cpuid.STIBP,cpu-cpuid.SYSCALL,cpu-cpuid.SYSEE,cpu-cpuid.VMX,cpu-cpuid.X87,cpu-cpuid.XSAVE,cpu-cpuid.XSAVEOPT,cpu-cstate.enabled,cpu-hardware_multithreading,cpu-model.family,cpu-model.id,cpu-model.vendor_id,cpu-pstate.scaling_governor,cpu-pstate.status,cpu-pstate.turbo,kernel-config.NO_HZ,kernel-config.NO_HZ_IDLE,kernel-version.full,kernel-version.major,kernel-version.minor,kernel-version.revision,memory-numa,network-sriov.capable,nvidia.com/cuda.driver.major,nvidia.com/cuda.driver.minor,nvidia.com/cuda.driver.rev,nvidia.com/cuda.runtime.major,nvidia.com/cuda.runtime.minor,nvidia.com/gfd.timestamp,nvidia.com/gpu.compute.major,nvidia.com/gpu.compute.minor,nvidia.com/gpu.count,nvidia.com/gpu.family,nvidia.com/gpu.machine,nvidia.com/gpu.memory,nvidia.com/gpu.product,nvidia.com/gpu.replicas,nvidia.com/mig.capable,nvidia.com/mig.strategy,pci-102b.present,pci-10de.present,pci-19a2.present,pci-19a2.sriov.capable,storage-nonrotationaldisk,system-os_release.ID,system-os_release.VERSION_ID,system-os_release.VERSION_ID.major,system-os_release.VERSION_ID.minor
      nvidia.com/cuda.driver.major: "525"
      nvidia.com/cuda.driver.minor: "105"
      nvidia.com/cuda.driver.rev: "17"
      nvidia.com/cuda.runtime.major: "12"
      nvidia.com/cuda.runtime.minor: "0"
      nvidia.com/gfd.timestamp: "1689953933"
      nvidia.com/gpu.compute.major: "5"
      nvidia.com/gpu.compute.minor: "2"
      nvidia.com/gpu.count: "2"
      nvidia.com/gpu.deploy.container-toolkit: "true"
      nvidia.com/gpu.deploy.dcgm: "true"
      nvidia.com/gpu.deploy.dcgm-exporter: "true"
      nvidia.com/gpu.deploy.device-plugin: "true"
      nvidia.com/gpu.deploy.driver: "true"
      nvidia.com/gpu.deploy.gpu-feature-discovery: "true"
      nvidia.com/gpu.deploy.node-status-exporter: "true"
      nvidia.com/gpu.deploy.nvsm: ""
      nvidia.com/gpu.deploy.operator-validator: "true"
      nvidia.com/gpu.family: maxwell
      nvidia.com/gpu.machine: ProLiant-WS460c-Gen8-WS-Blade
      nvidia.com/gpu.memory: "8192"
      nvidia.com/gpu.present: "true"
      nvidia.com/gpu.product: Tesla-M6
      nvidia.com/gpu.replicas: "1"
      nvidia.com/mig.capable: "false"
      nvidia.com/mig.strategy: single
      nvidia.com/ARIEL_DEVICE_24_FUNCTION_3: "0"
      nvidia.com/GM204GL_TESLA_M6: "0"
      nvidia.com/gpu: "2"
      nvidia.com/ARIEL_DEVICE_24_FUNCTION_3: "0"
      nvidia.com/GM204GL_TESLA_M6: "0"
      nvidia.com/gpu: "2"

@jear jear changed the title kubevirt vm-passthrough kubevirt vm-passthrough Tesla M6 strange name : ARIEL_DEVICE_24_FUNCTION_3 Jul 21, 2023
@cdesiniotis
Copy link
Contributor

@jear what version of kubevirt-gpu-device-plugin are you using? Can you upgrade to v1.2.2 and see if this resolves the naming issue? A change was introduced in v1.2.2 to fix a bug in device names. You can upgrade the plugin version by setting sandboxDevicePlugin.version=v1.2.2 in ClusterPolicy.

@jear jear closed this as completed Jul 27, 2023
@jear
Copy link
Author

jear commented Jul 27, 2023

fixed. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants