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

kubectl: exec errors with a segfault when the kubelet's runtime is rkt #25430

Closed
cgonyeo opened this issue May 10, 2016 · 3 comments
Closed

kubectl: exec errors with a segfault when the kubelet's runtime is rkt #25430

cgonyeo opened this issue May 10, 2016 · 3 comments
Labels
area/rkt kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@cgonyeo
Copy link
Contributor

cgonyeo commented May 10, 2016

I spun up a libvirt coreos+k8s cluster that used rkt for its runtime, and kubectl exec would error out with a segfault every time it was used, regardless of if the requested binary existed or not.

derek@rokot ~/git/kubernetes> kubectl exec frontend-gbecy ls
error: error executing remote command: error executing command in container: signal: segmentation fault (core dumped)

The changes that I made to the cloud configs such that it would be a rktnetes cluster are here.

cc @yifan-gu

@yifan-gu yifan-gu added this to the rktnetes-v1.0 milestone May 10, 2016
@yifan-gu yifan-gu added the kind/bug Categorizes issue or PR as related to a bug. label May 10, 2016
@euank
Copy link
Contributor

euank commented May 10, 2016

I can't trivially reproduce this. Can you verify that you're using a kubectl binary that is compiled from the same commit? I'm using ./cluster/kubectl.sh -it exec my-single-container-pod echo hi and seeing a perfectly happy response. Any more information about how to repro would be helpful.

@euank
Copy link
Contributor

euank commented May 11, 2016

Per above xref I was able to reproduce it and tracked it down (with @dgonyeo's help) to a bug in rkt. I think we can leave this issue open to track setting a version of rkt without said bug as the recommended version.

@yifan-gu
Copy link
Contributor

@euank Are you able to test if the rkt 1.6 fixed this?

k8s-github-robot pushed a commit that referenced this issue May 21, 2016
Automatic merge from submit-queue

Update rkt API version to 1.6.0

Updates coreos/rkt container runtime dependency to `1.6.0`

Fixes #25430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rkt kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants