Mismatch between kubevirt nvidia device plugin and kubevirt

85 views
Skip to first unread message

Y D

unread,
Jan 19, 2022, 6:30:10 AM1/19/22
to kubevirt-dev

Hello,

It seems that there is a mismatch between:
   1) the environment variables that encode the name of the resource (link), and
   2) the environment variable that kubevirt expects (link).

I got this error when I create a VM:

{"component":"virt-launcher","level":"warning","msg":"PCI_RESOURCE_NVIDIA_COM_GV100GL_TESLA_V100_SXM2_32GB not set for resource nvidia.com/GV100GL_Tesla_V100_SXM2_32GB","pos":"addresspool.go:50","timestamp":"2022-01-19T10:53:40.248215Z"}

The env set by the device plugin is a mix of upper and lower cases:

"2022/01/19 10:38:31 Allocated devices map[PCI_RESOURCE_NVIDIA_COM_GV100GL_Tesla_V100_SXM2_32GB:0000:62:00.0]",

whereas the one expected by kubevirt is upper case only:

"PCI_RESOURCE_NVIDIA_COM_GV100GL_TESLA_V100_SXM2_32GB".

Does this seem to be a bug, either in the device plugin or kubevirt?

Thanks

Ryan Hallisey US

unread,
Jan 19, 2022, 8:03:19 AM1/19/22
to kubevirt-dev
Looks like a bug in the device plugin.  What version of the gpu device plugin were you using?

Y D

unread,
Jan 20, 2022, 1:49:29 PM1/20/22
to kubevirt-dev

Ryan Hallisey US

unread,
Jan 26, 2022, 9:56:52 AM1/26/22
to kubevirt-dev

Y D

unread,
Jan 26, 2022, 1:19:39 PM1/26/22
to kubevirt-dev
Thanks!

Ryan Hallisey US

unread,
Feb 23, 2022, 12:08:50 PM2/23/22
to kubevirt-dev
Reply all
Reply to author
Forward
0 new messages