sriov-network-device-plugin icon indicating copy to clipboard operation
sriov-network-device-plugin copied to clipboard

can not create CDI json

Open cyclinder opened this issue 11 months ago • 2 comments

What happened?

E0314 08:44:33.830924       1 cdi.go:85] CreateCDISpecForPool(): can not create CDI json: invalid CDI Spec: failed add device "0000:af:02.0": invalid device, empty device edits
E0314 08:44:33.830950       1 server.go:217] updateCDISpec(): error creating CDI spec: invalid CDI Spec: failed add device "0000:af:02.0": invalid device, empty device edits
E0314 08:44:33.830966       1 server.go:167] can't update CDI specs: invalid CDI Spec: failed add device "0000:af:02.0": invalid device, empty device edits

What did you expect to happen?

It able to create CDI json

What are the minimal steps needed to reproduce the bug?

  1. install sriov-operator with the master branch
  2. edit sriovoperatorconfig: added useCDI to true
  3. create sriovnetworknodepolicy

Anything else we need to know?

Component Versions

Please fill in the below table with the version numbers of components used.

Component Version
SR-IOV Network Device Plugin <Input Version Here>
SR-IOV CNI Plugin <Input Version Here>
Multus <Input Version Here>
Kubernetes <Input Version Here>
OS <Input Version Here>

Config Files

Config file locations may be config dependent.

Device pool config file location (Try '/etc/pcidp/config.json')
Multus config (Try '/etc/cni/multus/net.d')
CNI config (Try '/etc/cni/net.d/')
Kubernetes deployment type ( Bare Metal, Kubeadm etc.)
Kubeconfig file
SR-IOV Network Custom Resource Definition

Logs

SR-IOV Network Device Plugin Logs (use kubectl logs $PODNAME)
Multus logs (If enabled. Try '/var/log/multus.log' )
Kubelet logs (journalctl -u kubelet)

cyclinder avatar Mar 14 '24 08:03 cyclinder

Hi @e0ne will you be able to take a look?

SchSeba avatar Mar 14 '24 17:03 SchSeba

Hi @cyclinder is this still an issue?

SchSeba avatar Aug 19 '24 13:08 SchSeba