k8snetworkplumbingwg / whereabouts

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

[BUG] ip-reconciler pod is not working #436

Closed mslee89 closed 3 months ago

mslee89 commented 3 months ago

Describe the bug The ip-reconciler command cannot be found in the POD generated by Cronjob and is not running.

Events:
  Type     Reason          Age                   From               Message
  ----     ------          ----                  ----               -------
  Normal   Scheduled       23m                   default-scheduler  Successfully assigned kube-system/whereabouts-28503377-6pl7n to beta-node002.k8s.dev.ascentlab.io
  Normal   AddedInterface  23m                   multus             Add eth0 [10.235.75.88/32] from k8s-pod-network
  Normal   Pulled          22m (x5 over 23m)     kubelet            Container image "ghcr.io/k8snetworkplumbingwg/whereabouts:latest-amd64" already present on machine
  Normal   Created         22m (x5 over 23m)     kubelet            Created container whereabouts
  Warning  Failed          22m (x5 over 23m)     kubelet            Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/ip-reconciler": stat /ip-reconciler: no such file or directory: unknown
  Warning  BackOff         3m39s (x92 over 23m)  kubelet            Back-off restarting failed container

Environment:

mslee89 commented 3 months ago

I have identified the cause. The problem occurred because Helm-Charts Github did not update.

As written on README.md , I confirmed that there is no problem if you install it as below.

git clone https://github.com/k8snetworkplumbingwg/whereabouts && cd whereabouts
kubectl apply \
    -f doc/crds/daemonset-install.yaml \
    -f doc/crds/whereabouts.cni.cncf.io_ippools.yaml \
    -f doc/crds/whereabouts.cni.cncf.io_overlappingrangeipreservations.yaml

I also want you to update Helm-Charts Github.