Bug 1489754
Summary: | Log Tail cannot show error log when build failed | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Dongbo Yan <dyan> |
Component: | Node | Assignee: | Joel Smith <joelsmith> |
Status: | CLOSED ERRATA | QA Contact: | Dongbo Yan <dyan> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.7.0 | CC: | aos-bugs, bparees, jokerman, mmccomas, sjenning |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-28 22:09:56 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
Dongbo Yan
2017-09-08 09:42:59 UTC
That message comes from the k8s pod which is supposed to have filled in the termination log message on the pod itself (which it did, but instead of filling it in w/ the actual logs, it filled it in w/ the error it got trying to get the logs). To confirm this, you can run "oc get pod <build-pod-name> -o yaml" and inspect the termination message defined there. You'll see the same text as appears in the build's LogSnippet. I think this is a dupe, but I'll let Seth point out which bug it's a dupe of since that one is probably assigned to him already. Joel, PTAL. Seems easy enough to reproduce and thus to track down. Ben, are you aware of a duplicate? I don't see one. I'm reasonably sure we've had a report of this before either as a github issue or a bug, but I guess i'm not certain. I guess it was this: https://github.com/openshift/origin/issues/15878 Not sure if Andrew ever opened the upstream issue or not. I have reproduced this, and it appers that with the following docker option, the feature is broken as described: --log-driver=journald Without that docker option, the feature works as expected. I'm investigating now. Upstream issue filed: https://github.com/kubernetes/kubernetes/issues/52502 Upstream fix posted: https://github.com/kubernetes/kubernetes/pull/52503 Assuming all is well, we'll pick from upstream back to origin and it should make 3.7. This has finally merged into Origin and should be in 3.7. I'll add a note of an exact version once we have builds with it in. https://github.com/openshift/origin/pull/16912 Verified openshift v3.7.0-0.189.0 kubernetes v1.7.6+a08f5eeb62 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3188 |