Giter VIP home page Giter VIP logo

Comments (3)

evol262 avatar evol262 commented on July 25, 2024

This is coming from the CNI's IPAM. It's normal/expected on Windows, but not elsewhere (though not fatal, and shouldn't cause a failure to kill the pod sandbox). Can you provide more information about your host?

from cri-dockerd.

raz3k avatar raz3k commented on July 25, 2024

My host is an oracle linux 8.4 with 8 cpus and 16 GB of ram running as a single node untainted, so master+worker on the same node.

Thanks.

from cri-dockerd.

kinarashah avatar kinarashah commented on July 25, 2024

Seeing similar issue after upgrading from v1.23 to v1.24 on a ubuntu host. Cluster is deployed using RKE, cri-dockerd is running via /opt/rke-tools/bin/cri-dockerd --network-plugin="cni" --cni-conf-dir="/etc/cni/net.d" --cni-bin-dir="/opt/cni/bin" ${RKE_KUBELET_PAUSEIMAGE} &.

Any pod delete results into pod terminating and kubelet constantly erroring out with

time="2022-07-14T22:32:39Z" level=error msg="Error deleting network when building cni runtime conf: could not retrieve port mappings: key is not found"
time="2022-07-14T22:32:39Z" level=error msg="CNI failed to delete loopback network: could not retrieve port mappings: key is not found"
time="2022-07-14T22:32:39Z" level=error msg="Error deleting network when building cni runtime conf: could not retrieve port mappings: key is not found"
E0714 22:32:39.656554   63493 remote_runtime.go:248] "StopPodSandbox from runtime service failed" err="rpc error: code = Unknown desc = networkPlugin cni failed to teardown pod \"ingress-nginx-admission-create-7nwrt_ingress-nginx\" network: could not retrieve port mappings: key is not found" podSandboxID="2f508f6af67dfcdd6f5d72034cf490a041b4cd59405e66d24294cbf2db6e9131"
E0714 22:32:39.656595   63493 kuberuntime_gc.go:176] "Failed to stop sandbox before removing" err="rpc error: code = Unknown desc = networkPlugin cni failed to teardown pod \"ingress-nginx-admission-create-7nwrt_ingress-nginx\" network: could not retrieve port mappings: key is not found" sandboxID="2f508f6af67dfcdd6f5d72034cf490a041b4cd59405e66d24294cbf2db6e9131"

Canal v3.22.0

from cri-dockerd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.