Bug 1542325
| Summary: | oc status should not suggest "oc set probe pod" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.9.0 | CC: | aos-bugs, jokerman, maszulik, mfojtik, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 4.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Pods owned by controllers were not ignored when suggesting probes.
Consequence:
Pods were appearing in the suggestions.
Fix:
Ignore pods owned by controllers in probe suggestions.
Result:
Pods owned by controllers are not showing in the probe suggestions.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-23 11:03:45 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
Xingxing Xia
2018-02-06 05:49:23 UTC
Fix: https://github.com/openshift/origin/pull/18470 Setting this as low priority as this is just an output/help problem and not a regression. Definitely not blocking 3.9 release. PR merged, now it does not suggest for controller-owned pod, but still for standalone pod: # oc version oc v3.10.0-0.22.0 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://MASTER:8443 openshift v3.10.0-0.22.0 kubernetes v1.10.0+b81c8f8 # oc status --suggest ... Info: * pod/hello-openshift has no liveness probe to verify pods are still running. try: oc set probe pod/hello-openshift --liveness ... ... Mistake : ) above was intended to be pasted in bug 1540560 verification. Verified in oc of openshift-clients-4.3.0-201910240917.git.1.265278a.el7.x86_64, now standalone pod has no such suggestion: $ oc status --suggest In project xxia-proj on server https://$SERVER:6443 svc/hello-daemonset - 172.30.10.215:8080 daemonset/hello-daemonset manages openshift/hello-openshift generation #1 running for 9 minutes - 2 pods pod/hello-openshift runs openshift/hello-openshift Info: * daemonset/hello-daemonset has no liveness probe to verify pods are still running. try: oc set probe daemonset/hello-daemonset --liveness ... 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/RHBA-2020:0062 |