Bug 1367204
Summary: | Events lists no longer displays output of lifecycle hooks | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Matt Wringe <mwringe> |
Component: | Node | Assignee: | Andy Goldstein <agoldste> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | DeShuai Ma <dma> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, eparis, jokerman, mmccomas, mwringe, pweil, tdawson |
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: | 2016-09-19 14:35:22 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
Matt Wringe
2016-08-15 20:49:10 UTC
@mwringe are you referring to deployment hooks (pre/mid/post) and that they are not reporting errors to events OR you are referring to liveness and readiness probes not being reported in events? liveness and readiness probes, we used to get any output that these probes produced. Please don't open bugs in both GitHub and here. Since you have this one, I'm going to close the GitHub issue (https://github.com/openshift/origin/issues/10424). Upstream PR: https://github.com/kubernetes/kubernetes/pull/30731 This is specific to exec probes. There is a regression in Kube 1.3 that makes it so the output from exec probes is not included in the events. Test on v3.3.0.24-dirty, "Readiness" event shows correctly steps: 1. Create a pod with readiness exec probe $ oc create -f https://raw.githubusercontent.com/mdshuai/testfile-openshift/master/k8s/readinessProbe-exec.yaml 2. Check event shows correctly. [root@openshift-107 ~]# oc get event -n dma|grep "Readiness probe failed" 4s 4m 25 nginx Pod spec.containers{nginx} Warning Unhealthy {kubelet openshift-159.lab.sjc.redhat.com} Readiness probe failed: Get http://10.1.0.6:112/: dial tcp 10.1.0.6:112: getsockopt: connection refused [root@openshift-107 ~]# oc get event -n dma|grep "Readiness probe" 7s 37s 4 hello-pod Pod spec.containers{hello-pod} Warning Unhealthy {kubelet openshift-159.lab.sjc.redhat.com} Readiness probe failed: exec: "/bin/hello": stat /bin/hello: no such file or directory |