Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Regression (commit 6217a32b62352c4ca506e7dc28ea886f2f1e9ecc) i.c.w. SRIOV operator #283

Closed
Omar007 opened this issue Oct 7, 2023 · 2 comments

Comments

@Omar007
Copy link

Omar007 commented Oct 7, 2023

What happened?

Pods using very minimal SRIOV configuration (no vlans, no special ipam configs just dhcp) do not get initialized with the following error:

LoadConf(): non-zero vlan id must be configured to set vlan Qos and/or Proto

This traces back to a change in commit 6217a32 . Reverting sriov-cni to image tag 5ccf2aa2707b6be4e358d705f921994144117e5a or earlier resolves the problem.

What did you expect to happen?

Pod gets initialized normally as it did before, without throwing an error while vlan config isn't present in the first place.

What are the minimal steps needed to reproduce the bug?

Update the sriov-cni image used by the operator to a tag containing commit 6217a32 .

Anything else we need to know?

Component Version
SR-IOV CNI Plugin latest
Multus v4.0.2-thick
SR-IOV Network Device Plugin latest
Kubernetes 1.28.2
SR-IOV Network Custom Resource Definition
kind: SriovNetwork
apiVersion: sriovnetwork.openshift.io/v1
metadata:
  name: intel-port1-vf
  namespace: sriov-network-operator
spec:
  resourceName: nic_intel_port1vf
  ipam: |
    {
      "type": "dhcp"
    }
@adrianchiris
Copy link
Contributor

#281 should fix this one. please try latest image.

@Omar007
Copy link
Author

Omar007 commented Oct 8, 2023

It does. Latest (as of writing image tag a953d5b108424c849a37a327a96717c4dfbee101 ) works again i.c.w. operator 👍

@Omar007 Omar007 closed this as completed Oct 8, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants