Bug 2018455

Summary: Project Filesystem query returns No datapoints found
Product: OpenShift Container Platform Reporter: Philip Gough <pgough>
Component: MonitoringAssignee: Philip Gough <pgough>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact: Olivia Payne <opayne>
Priority: urgent    
Version: 4.9CC: amuller, anpicker, aos-bugs, erooth, jokerman, juzhao, opayne, yapei
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, some *cAdvisor* metrics were dropped in order to reduce overall memory consumption but the *Utilization* dashboard in the console did not display any results. With this update, the dashboards display correctly again.
Story Points: ---
Clone Of: 2015418 Environment:
Last Closed: 2021-11-10 21:03: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: 2015418    
Bug Blocks:    

Comment 1 Junqi Zhao 2021-11-01 11:06:04 UTC
checked with the PR, could see the project and pod filesystem usuage on UI, see the picture
could see metrics "container_fs_usage_bytes" and "pod:container_fs_usage_bytes:sum"
# token=`oc sa get-token prometheus-k8s -n openshift-monitoring`
# oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/label/__name__/values' | jq | grep "container_fs_usage_bytes"
    "container_fs_usage_bytes",
    "pod:container_fs_usage_bytes:sum",

Comment 7 errata-xmlrpc 2021-11-10 21:03:03 UTC
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.9.6 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-2021:4119