fix entitlements handling for OnDemand CDI devices#5867
fix entitlements handling for OnDemand CDI devices#5867tonistiigi merged 1 commit intomoby:masterfrom
Conversation
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
tonistiigi
left a comment
There was a problem hiding this comment.
Alternatively, I'm looking at implementation of FindDevices, is the problem that it is calling m.cache.ListDevices instead of m.ListDevices that adds the ondemand setups?
Additionally, does this have any restrictions with device name, eg. nvidia.com/gpu vs nvidia.com/gpu=all?
Yes that's it but with
If no name is specified like |
We should make it so the nvidia installer also adds |
OnDemanddevices are never allowed with current entitlements validation logic. That's because this kind of device is not yet registered in CDI cache at this point.