Closed sriramec closed 3 years ago
have you also requested an SR-IOV VF from the pool in your Pod spec's resources field?
the SR-IOV type of network connection just configures the assigned VFs, but you still need to ask for the physical device. The CNI sees that no devices were assigned to your Pod -cause I guess you haven't asked for any- so it returns the error cause there is nothing to configure VLANs, IPs etc. on
Thanks for pointing it out.. Yes, it was a mistake in Yaml file, POD was attached to 4 networks, in resources field, there was a request for only 3 VFs.
POD was attached to 4 networks, in resources field, there was a request for only 3 VFs.
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
What you expected to happen:
How to reproduce it:
Anything else we need to know?: Logs
Environment:
DANM version (use
danm -version
):controller-0:/usr/libexec/cni# ./danm --version 2021/04/05 18:17:03 DANM binary was built from release: v4.2.1 2021/04/05 18:17:03 DANM binary was built from commit: abd3c48d_dirty
Kubernetes version (use
kubectl version
):controller-0:/usr/libexec/cni# kubectl version Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"archive", BuildDate:"2020-08-05T05:08:32Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:30:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
DANM configuration (K8s manifests, kubeconfig files, CNI config file):
CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
uname -a
):