sriov-network-device-plugin
sriov-network-device-plugin copied to clipboard
can not create CDI json
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?
- install sriov-operator with the master branch
- edit sriovoperatorconfig: added useCDI to true
- 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)
Hi @e0ne will you be able to take a look?
Hi @cyclinder is this still an issue?