Bug 1813266
| Summary: | Console incorrectly counts init containers in its readiness count | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Samuel Padgett <spadgett> | ||||
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.5 | CC: | aos-bugs, jokerman, pruan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1814869 (view as bug list) | Environment: |
Version: 4.5.0-0.ci-2020-03-12-012451
Cluster ID: bfc758ad-8aa3-42a3-a6aa-bc05c35ed458
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0
|
||||
| Last Closed: | 2020-07-13 17:19:58 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1814869 | ||||||
| Attachments: |
|
||||||
The CLI also only counts init container restarts if the pod is still initializing. https://github.com/kubernetes/kubernetes/blob/release-1.18/pkg/printers/internalversion/printers.go verified with 4.5.0-0.nightly-2020-03-19-112259. UI pod count matches those from the CLI. 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:2409 |
Created attachment 1669921 [details] console shows 5 ready containers On the pod list, console counts for readiness include init containers. This is inconsistent with the CLI, which only shows readiness like (3/3) for containers that are not init containers. CLI shows 3/3 ready containers for hive server, whereas the console shows 5/5. $ oc get pods NAME READY STATUS RESTARTS AGE hive-metastore-0 2/2 Running 0 10m hive-server-0 3/3 Running 0 10m metering-operator-57868c7b97-xhs7r 2/2 Running 0 14m presto-coordinator-0 2/2 Running 0 9m53s reporting-operator-d857b4b85-rg7x6 2/2 Running 0 9m17s