Bug 1610669
| Summary: | oc adm top node can not get metrics info after metrics-server deployed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Weinan Liu <weinliu> |
| Component: | Monitoring | Assignee: | Frederic Branczyk <fbranczy> |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.11.0 | CC: | aos-bugs, jokerman, mmccomas, weinliu, wsun |
| Target Milestone: | --- | ||
| Target Release: | 3.11.0 | ||
| 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: | 2018-10-11 07:23:00 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
Weinan Liu
2018-08-01 07:49:40 UTC
Fix PR: https://github.com/openshift/origin/pull/20529. It's not a metrics-server issue, necessarily. A refactor was done to the kubectl code to change how IO streams were passed in, and the way the `kubectl top` command was changed made it easy to accidentally ignore those and never set streams. Still fails on [root@qe-weinliu-311-master-etcd-1 ~]# oc version oc v3.11.0-0.11.0 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-weinliu-311-master-etcd-1:8443 openshift v3.11.0-0.11.0 kubernetes v1.11.0+d4cacc0 [root@qe-weinliu-311-master-etcd-1 ~]# Just confirmed that this works on master. Please make sure that you're using the latest code before retesting. Verified to be fixed. [root@qe-weinliu-round3-private-2-me-1 ~]# oc adm top node NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% qe-weinliu-round3-private-2-me-1 543m 13% 3510Mi 23% qe-weinliu-round3-private-2-node-1 172m 4% 2284Mi 15% qe-weinliu-round3-private-2-nrr-1 138m 3% 1872Mi 12% [root@qe-weinliu-round3-private-2-me-1 ~]# oc version oc v3.11.0-0.16.0 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-weinliu-round3-private-2-me-1:8443 openshift v3.11.0-0.16.0 kubernetes v1.11.0+d4cacc0 [root@qe-weinliu-round3-private-2-me-1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Atomic Host release 7.4 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-2018:2652 |