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

can not create CDI json #546

Open
cyclinder opened this issue Mar 14, 2024 · 2 comments
Open

can not create CDI json #546

cyclinder opened this issue Mar 14, 2024 · 2 comments

Comments

@cyclinder
Copy link
Contributor

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
SR-IOV CNI Plugin
Multus
Kubernetes
OS

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)
@SchSeba
Copy link
Collaborator

SchSeba commented Mar 14, 2024

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

@SchSeba
Copy link
Collaborator

SchSeba commented Aug 19, 2024

Hi @cyclinder is this still an issue?

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