-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pods stuck in terminating state #39
Comments
Follow up - we should add integraion tests on CI to test spin shim on k3s clusters |
Follow up [Open Discussion]: when the shim ttrpc server panics / crashes, there should be a way to tell from containerd or shim logs? |
will adding the steps I listed out to reproduce the issue here enough or we need it to be more involved? I am happy to add those steps as a CI test here |
@rajatjindal Yes, I was thinking about adding it as a CI step. Something similar to https://github.com/containerd/runwasi/blob/main/test/k3s/bootstrap.sh |
Hi @Mossaka, thank you for the pointer. can I take up the task to add tests for k3s? re: ttrpc issue. given how critical that workflow is, I think we should have logging in the containerd logs. Also it would be nice to have a mechanism to healthcheck it and possibly restart automatically if possible. |
In this draft PR, I've attempted to add a very simple test to exercise delete operation using the existing setup for integration tests. One thing I could not decide on is to have a script for this or should this be added in rust integration tests suite? do we have any preference of doing one over the other? It currenty fails as expected (pending fix for this issue being merged). An example run could be found here |
On some Kubernetes distributions we are still experiencing pods being stuck in "Terminating" state.
#23 apparently was only half of the issue — the shim actually being able to handle SIGTERM; what we appear to experience is the shim not receiving the signal altogether, and that is currently being investigated in containerd/runwasi#418.
Filing this to track the fix in the Spin shim.
The text was updated successfully, but these errors were encountered: