k8snetworkplumbingwg / whereabouts

A CNI IPAM plugin that assigns IP addresses cluster-wide
Apache License 2.0
273 stars 120 forks source link

[BUG] failed to find plugin "whereabouts" in path [/var/opt/cni/bin /var/opt/cni/bin] #384

Open pawelru222 opened 9 months ago

pawelru222 commented 9 months ago

Describe the bug

I have run script build-go.sh. NetworkAttachmentDefinition has been created in ipv6 version. Deployment template has been changed. Annotation has been added k8s.v1.cni.cncf.io/networks: test-network. The pod is not in the running state because plugin cannot be find.

failed to find plugin "whereabouts" in path [/var/opt/cni/bin /var/opt/cni/bin]

All whereabouts pods in kube-system are running.

I have also launched cni-install.yml. The result is the same.

Which file should placed in /var/opt/cni/bin? Should I do it manually on every node?

Expected behavior After creating NetworkAttachmentDefinition and adding annottaion to deployment template the pod should be recreated with new interface.

To Reproduce Steps to reproduce the behavior:

Environment:

{ "datastore": "kubernetes", "kubernetes": { "kubeconfig": "/etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig" }, "reconciler_cron_expression": "30 4 *" }

Additional info / context Add any other information / context about the problem here.