Skip to content
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

OCI runtime exec failed #184

Open
mjura opened this issue Feb 24, 2022 · 0 comments
Open

OCI runtime exec failed #184

mjura opened this issue Feb 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mjura
Copy link
Collaborator

mjura commented Feb 24, 2022

In latest version of lockc we can observer new issue:

mjura@gecko:~/lockc> kubectl exec -ti myapp-57654f69bc-gdbmc -- bash
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "654039d5bb775cac6e717e909241b4f63fca71fae92be6031e54ba8638a16576": OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: process_linux.go:99: starting setns process caused: fork/exec /proc/self/exe: operation not permitted: unknown

How to reproduce it:

  1. Deploy Kubernetes cluster
  2. Deploy example application deployment, e.g.: kubectl create deployment test --image=nginx
  3. Install lockc
  4. Try to connect to application deployment with kubectl exec -ti test-<POD_NAME> -- sh
  5. You should see following error
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "654039d5bb775cac6e717e909241b4f63fca71fae92be6031e54ba8638a16576": OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: process_linux.go:99: starting setns process caused: fork/exec /proc/self/exe: operation not permitted: unknown
@vadorovsky vadorovsky self-assigned this Feb 24, 2022
@vadorovsky vadorovsky added the bug Something isn't working label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants