Skip to content

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

Closed
@cgonyeo

Description

@cgonyeo

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

Activity

added this to the rktnetes-v1.0 milestone on May 10, 2016
added
kind/bugCategorizes issue or PR as related to a bug.
on May 10, 2016
euank

euank commented on May 10, 2016

@euank
Contributor

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

euank commented on May 11, 2016

@euank
Contributor

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

yifan-gu commented on May 16, 2016

@yifan-gu
Contributor

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

added a commit that references this issue on May 21, 2016

Merge pull request #25656 from tmrts/godep-update/rkt-1.6.0

d6d0a6e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/rktkind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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