Bug 1261459
Summary: | Regression: kubectl logs --follow is now broken | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> | ||||||
Component: | kubernetes | Assignee: | Jan Chaloupka <jchaloup> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 22 | CC: | bleanhar, eparis, golang-updates, jcajka, jchaloup, lsm5, mvollmer, nhorman, vbatts | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | kubernetes-1.1.0-0.17.git388061f.fc22 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-04-20 15:17:42 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: | |||||||||
Attachments: |
|
Description
Stef Walter
2015-09-09 11:39:14 UTC
Created attachment 1071695 [details]
Test case
This build works: http://koji.fedoraproject.org/koji/buildinfo?buildID=670280 Created attachment 1072268 [details]
Test case
Updated to simpler test case file.
Tested against kubernetes git master. Fails there too. Filed issue: https://github.com/kubernetes/kubernetes/issues/13811 This build fixes the issue: # rpm -q kubernetes kubernetes-1.1.0-0.16.git388061f.fc22.x86_64 Jan, if you have narrowed it down, could you report upstream where the breakage was? https://github.com/kubernetes/kubernetes/issues/13811 Actually, kubernetes-1.1.0-0.16.git388061f is kubernetes-1.0.6. Did not want to introduce Epoch and mess with the spec file. Once 1.1.0 is stable, version will continue. $ kubectl version will return the correct version. In AH or cockpit, rpm -q kubernetes is not used so often I suppose. So it will not matter. All blame for this hack on me. Seems the fix is here https://github.com/kubernetes/kubernetes/pull/13864 This is still the case on Fedora 22. $ rpm -q kubernetes-client kubernetes-client-1.1.0-0.5.gite44c8e6.fc22.x86_64 $ rpm -q kubernetes kubernetes-1.1.0-0.5.gite44c8e6.fc22.x86_64 $ wget -O test.json 'https://bugzilla.redhat.com/attachment.cgi?id=1072268' $ kubectl create -f test.json $ kubectl get pods # get name and wait until running $ kubectl logs --follow mock-vp4k6 ^C $ kubectl logs --follow mock-vp4k6 HelloMessage. HelloMessage. HelloMessage. HelloMessage. HelloMessage. HelloMessage. HelloMessage. HelloMessage. ... sudo docker logs --follow on the same machine works, as does 'kubectl logs mock-vp4k6' without --follow. kubernetes-1.1.0-0.17.git388061f.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b8c9642851 kubernetes-1.1.0-0.17.git388061f.fc22 has been pushed to the Fedora 22 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-b8c9642851 kubernetes-1.1.0-0.17.git388061f.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |