Bug 1862194
| Summary: | [4.5] Result for kubelet_running_pod_count is wrong | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Seth Jennings <sjenning> |
| Component: | Node | Assignee: | Seth Jennings <sjenning> |
| Status: | CLOSED ERRATA | QA Contact: | Sunil Choudhary <schoudha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.6 | CC: | alegrand, anpicker, aos-bugs, erooth, jokerman, juzhao, kakkoyun, lcosic, mloibl, pkrupa, schoudha, sjenning, surbania |
| Target Milestone: | --- | ||
| Target Release: | 4.5.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1861631 | Environment: | |
| Last Closed: | 2020-09-08 10:54:03 UTC | Type: | --- |
| 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: | 1861631 | ||
| Bug Blocks: | 1862195 | ||
|
Comment 1
Seth Jennings
2020-07-30 17:15:03 UTC
upstream PR https://github.com/openshift/origin/pull/25359 Verified on 4.5.0-0.nightly-2020-08-23-191713 $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-08-23-191713 True False 7m35s Cluster version is 4.5.0-0.nightly-2020-08-23-191713 $ oc get nodes NAME STATUS ROLES AGE VERSION ip-10-0-129-19.us-east-2.compute.internal Ready worker 50m v1.18.3+0bec244 ip-10-0-130-91.us-east-2.compute.internal Ready master 62m v1.18.3+0bec244 ip-10-0-161-169.us-east-2.compute.internal Ready worker 50m v1.18.3+0bec244 ip-10-0-185-109.us-east-2.compute.internal Ready master 62m v1.18.3+0bec244 ip-10-0-217-219.us-east-2.compute.internal Ready worker 50m v1.18.3+0bec244 ip-10-0-220-213.us-east-2.compute.internal Ready master 62m v1.18.3+0bec244 $ oc get pod --all-namespaces -o wide | grep "ip-10-0-130-91.us-east-2.compute.internal" | grep Running | wc -l 31 $ oc get pod --all-namespaces -o wide | grep "ip-10-0-130-91.us-east-2.compute.internal" | grep Completed | wc -l 26 $ oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -g -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/query?query=kubelet_running_pod_count{node="ip-10-0-130-91.us-east-2.compute.internal"}' | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 341 100 341 0 0 8881 0 --:--:-- --:--:-- --:--:-- 8973 { "status": "success", "data": { "resultType": "vector", "result": [ { "metric": { "__name__": "kubelet_running_pod_count", "endpoint": "https-metrics", "instance": "10.0.130.91:10250", "job": "kubelet", "metrics_path": "/metrics", "namespace": "kube-system", "node": "ip-10-0-130-91.us-east-2.compute.internal", "service": "kubelet" }, "value": [ 1598270845.309, "31" ] } ] } } 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 (OpenShift Container Platform 4.5.8 bug fix update), 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:3510 |