Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

container stuck, it should complete. can see processes running. #10992

Closed
PSKP-95 opened this issue Oct 4, 2024 · 2 comments
Closed

container stuck, it should complete. can see processes running. #10992

PSKP-95 opened this issue Oct 4, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@PSKP-95
Copy link

PSKP-95 commented Oct 4, 2024

Description

I am running a simple container in containerd with gvisor. but it is not outputting anything. & got stuck.

Here are commands I am trying to run,

image

Processes should print files and folders and exit

image

Steps to reproduce

runsc version

runsc version release-20240930.0
spec: 1.1.0-rc.1

docker version (if using docker)

$ sudo ctr version
Client:
  Version:  v1.7.22
  Revision: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
  Go version: go1.22.7

Server:
  Version:  v1.7.22
  Revision: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
  UUID: 9d8c7a79-4d14-4110-81de-a46f1a46cc87

uname

Linux ip-172-21-148-200.eu-central-1.compute.internal 6.1.109-118.189.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 10 08:59:12 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

kubectl (if using Kubernetes)

No response

repo state (if built from source)

No response

runsc debug logs (if available)

The documentation doesn't specify how to capture debug logs in containerd. Could you please provide guidance on how to do this? I'm happy to provide any additional information if needed. Thanks!
@PSKP-95 PSKP-95 added the type: bug Something isn't working label Oct 4, 2024
@ayushr2
Copy link
Collaborator

ayushr2 commented Oct 4, 2024

Can't say much without runsc debug logs. To specify runsc flags, see https://gvisor.dev/docs/user_guide/containerd/configuration/. The last section "Example: Enable shim and gVisor debug logging" should have instructions.

@PSKP-95
Copy link
Author

PSKP-95 commented Oct 6, 2024

Got working with crictl. Thanks.

@PSKP-95 PSKP-95 closed this as completed Oct 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants