Bug 1311861

Summary: kubectl exec is broken in kubernetes-1.2.0-0.4.alpha1
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: kubernetesAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: eparis, golang-updates, jcajka, jchaloup, nhorman, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-1.2.0-0.12.alpha6.gitf0cd09a.fc23 kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-01 00:28:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stef Walter 2016-02-25 08:43:13 UTC
Description of problem:

The 'kubectl exec' command has regressed, and produces this failure:

error: error executing remote command: Error executing command in container: Unrecognized input header

Version-Release number of selected component (if applicable):

# rpm -q kubernetes
kubernetes-1.2.0-0.4.alpha1.git4c8e6f4.fc23.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. Run some pods.
2. Run the code below.

Actual results:

# rpm -q kubernetes
kubernetes-1.2.0-0.4.alpha1.git4c8e6f4.fc23.x86_64
# rpm -q docker
docker-1.10.2-1.git86e59a5.fc23.x86_64
# docker exec k8s_mock-container.88f1f36_mock-aogwd_default_d53a657a-db98-11e5-8811-9e005dd50001_39e4050e date
Thu Feb 25 08:39:58 UTC 2016
# kubectl get pods
NAME         READY     STATUS    RESTARTS   AGE
mock-aogwd   1/1       Running   0          2m
mock-cxirx   1/1       Running   0          2m
# kubectl exec mock-aogwd -- date
error: error executing remote command: Error executing command in container: Unrecognized input header

Expected results:

# rpm -q kubernetes
kubernetes-1.1.0-0.17.git388061f.fc23.x86_64
# rpm -q docker
docker-1.9.1-6.git6ec29ef.fc23.x86_64
# kubectl get pods
NAME         READY     STATUS    RESTARTS   AGE
mock-on1bw   1/1       Running   0          46s
mock-ra9ad   1/1       Running   0          36s
# kubectl exec mock-on1bw -- date
Thu Feb 25 08:36:13 UTC 2016

Comment 1 Stef Walter 2016-02-25 08:43:26 UTC
Related to https://github.com/fsouza/go-dockerclient/issues/455

Comment 2 Fedora Update System 2016-02-29 17:29:18 UTC
kubernetes-1.2.0-0.12.alpha6.gitf0cd09a.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5a203fd7ac

Comment 3 Fedora Update System 2016-02-29 23:52:00 UTC
kubernetes-1.2.0-0.12.alpha6.gitf0cd09a.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5a203fd7ac

Comment 4 Fedora Update System 2016-03-01 09:10:10 UTC
kubernetes-1.2.0-0.13.alpha6.gitf0cd09a.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8bc7ba5f6b

Comment 5 Fedora Update System 2016-03-02 12:52:59 UTC
kubernetes-1.2.0-0.13.alpha6.gitf0cd09a.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8bc7ba5f6b

Comment 6 Fedora Update System 2016-03-08 19:03:15 UTC
kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a89f5ce5f4

Comment 7 Fedora Update System 2016-03-09 22:55:53 UTC
kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a89f5ce5f4

Comment 8 Fedora Update System 2016-04-01 00:27:49 UTC
kubernetes-1.2.0-0.15.alpha6.gitf0cd09a.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.