Description of problem:
Usage statistics is not shows on proxy, disconnected, private kind of clusters
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-03-21-030708
How reproducible:
Always
Steps to Reproduce:
1. Install proxy/Private/Disconnected clusters. 2. Provision the volume and check usage statistics
Actual results:
oc adm top pvc -A --insecure-skip-tls-verify=true error: failed to get persistentvolumeclaims from Prometheus: unable to get /api/v1/query from URI in the openshift-monitoring/prometheus-k8s Route: prometheus-k8s-openshift-monitoring.apps.ropatil-324aws1.qe.devcluster.openshift.com, Get "https://prometheus-k8s-openshift-monitoring.apps.ropatil-324aws1.qe.devcluster.openshift.com/api/v1/query?query=100%2Akubelet_volume_stats_used_bytes%7Bpersistentvolumeclaim%3D~%22.%2A%22%7D%2Fkubelet_volume_stats_capacity_bytes%7Bpersistentvolumeclaim%3D~%22.%2A%22%7D": dial tcp: lookup prometheus-k8s-openshift-monitoring.apps.ropatil-324aws1.qe.devcluster.openshift.com: no such host
Expected results:
It should show the pvc data usage
Additional info:
https://issues.redhat.com/browse/OCPQE-28824 Discussion: https://redhat-internal.slack.com/archives/GK0DA0JR5/p1742809711015949
- links to
-
RHEA-2024:11038 OpenShift Container Platform 4.19.z bug fix update