Giter Club home page Giter Club logo

Comments (7)

estesp avatar estesp commented on May 28, 2024 5

Fixed in main (for 2.0.0 and above) by #9999
Backported to release/1.7 in #10037
Backported to release/1.6 in #10038

Will close when all are merged.

from containerd.

rtheis avatar rtheis commented on May 28, 2024 1

Given #9927, I think containerd version 1.6.30 may have the same problem.

from containerd.

YanzhaoLi avatar YanzhaoLi commented on May 28, 2024

Checked the commit for 1.6.x based on #9927 ,I think that 1.6.29 also has this problem.

$ git tag --contain 65915f0a2c0b4d1cb590f39c6cc3b78e7bb75fcb
v1.6.29
v1.6.30
v1.6.31

from containerd.

fuweid avatar fuweid commented on May 28, 2024

Closed it since we released 1.7.15

from containerd.

tobiasgiese avatar tobiasgiese commented on May 28, 2024

We just noticed that there is also an issue with the probes and this bug. Using exec probes result in a flaky status, see

❯ kubectl describe pod redis-master-0 | grep -A99 Events:
Events:
  Type     Reason     Age                      From     Message
  ----     ------     ----                     ----     -------
  Warning  Unhealthy  7m36s (x1069 over 5d6h)  kubelet  Liveness probe failed: command "sh -c /health/ping_liveness_local.sh 5" timed out
  Warning  Unhealthy  2m5s (x1967 over 5d6h)   kubelet  Readiness probe failed: command "sh -c /health/ping_readiness_local.sh 1" timed out

And we can see the following logs in the containerd logs

Apr 16 13:52:49 my-cluster-1 containerd[2646]: time="2024-04-16T13:52:49.461803674Z" level=error msg="Failed to delete exec process \"a1dd9aebf1ae39ee151caf36f1df76906459abe7df8f6fb3392f5d6af9d742a2\" for container \"ec071cda32b637ee003e8f49f9cb585b4fef27c3739458fdd9b594317b420579\"" error="context deadline exceeded"
Apr 16 13:52:49 my-cluster-1 containerd[2646]: time="2024-04-16T13:52:49.461905796Z" level=error msg="ExecSync for \"ec071cda32b637ee003e8f49f9cb585b4fef27c3739458fdd9b594317b420579\" failed" error="rpc error: code = DeadlineExceeded desc = failed to exec in container: timeout 6s exceeded: context deadline exceeded"

Updating to containerd v1.7.15 fixes this issue. Maybe we should mention this in the release notes.

from containerd.

estesp avatar estesp commented on May 28, 2024

Updating to containerd v1.7.15 fixes this issue. Maybe we should mention this in the release notes.

This was the core reason we released v1.7.15 and the one callout in the release notes is for that issue, stated as a regression in v1.7.14: "The fifteenth patch release for containerd 1.7 contains various fixes; one for a
regression introduced in v1.7.14 in the way process exits were handled."

Let us know if there would have been a better way to make it clear we found a regression.

from containerd.

tobiasgiese avatar tobiasgiese commented on May 28, 2024

Let us know if there would have been a better way to make it clear we found a regression.

Thanks for asking to make the release notes more clear. The notes were actually helpful at first, but we still weren't sure if it was the problem.
Adding examples such as exec into your container and Kubernetes probes via exec could enhance clarity and understanding.

from containerd.

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.