oVirt CSI driver does not support GET_VOLUME_STATS capability / NodeGetVolumeStats call. Implementation of the capability is usually simple (one stat() call) and it allows users and cluster admins to see metrics of used / free space on their volumes and create alerts when they run out of space. Version-Release number of selected component (if applicable): 4.8 nightly How reproducible: always Steps to Reproduce: 1. On oVirt, create a PVC + some app that uses it (i.e. run a Pod with the PVC) 2. Check PersistentVolumeClaims in the console (as admin, Storage -> PersistentVolumeClaims) Actual results: "Used" column is empty Expected results: "Used" column contains amount of used space on the volume. Note that the metric has some delay, wait for a few minutes to get the data. And a Pod that uses the volume must be running - the volume must be mounted for kubelet to be able to get the used/free space. Btw, this is more or less a feature request, but a really simple one to implement.
rhv: 4.4.8.5-0.4 ocp:4.10.0-0.nightly-2021-10-14-061552 scenario: 1) create pvc 2) create pod under this pvc 3) open console ui https://console-openshift-consolexxx/k8s/all-namespaces/persistentvolumeclaims 4) as admin, go to Storage -> PersistentVolumeClaims 5) verify that 'used' column with value 6) inside the pod you can run df -h to see how much used is there 7) create another big file 8) verify that the value in the used column was updated
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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056