Bug 2240305

Summary: [RFE] ODF Volume Usage
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: bmcmurra
Component: documentationAssignee: Anjana Suparna Sriram <asriram>
Status: NEW --- QA Contact: Neha Berry <nberry>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.14CC: jolmomar, nthomas, odf-bz-bot, sheggodu, tdesala
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 bmcmurra 2023-09-23 01:03:32 UTC
Description of problem (please be detailed as possible and provide log
snippests):

- Is it possible to add PVC usage vs. capacity for PVCs backed by RBD or Cephfs storageclasses?

- Something similar to this:

https://gitlab.cee.redhat.com/cee-sbr-shift-performance-project/performance-guide/-/blob/main/Persistent%20Volumes.md

- We in support get lots of requests (I can get the case numbers if hard metrics are needed) from customers that are inquiring about how much space their ODF provisioned PVCs are using relative to the allocated space of the PVCs. It's frustrating (and quite frankly embarrassing) having to hand Prometheus queries to the customer to calculate this data. I and many others in support are of the opinion that having this data available in the ODF dashboard would be extremely useful for the customer.

- Please let me know if you need any further clarification on this request.

Thanks

Comment 8 Sanjal Katiyar 2023-12-27 07:32:15 UTC
Hi,

I would like to understand what's the exact ask here:

1. If this: https://bugzilla.redhat.com/show_bug.cgi?id=2240305#c7 ?? >> then UI can not run commands like "du -sh" etc or rsh into pods.

2. If this: https://bugzilla.redhat.com/show_bug.cgi?id=2240305#c0 (metrics/queries mentioned in GitLab URL) >> then on UI we already have something similar where we use "kubelet_volume_stats_used_bytes" and show top 5 such PVCs based on used capacity ("Requested capacity" card on "Block and File" dashboard). Is the ask here to have maybe an ability to look into used capacity of any/all ceph-csi based PVC ??

3. If "ask here to have maybe an ability to look into any/all ceph-csi based PVC" >> then OCP shows a list of all PVCs under "Storage > PersistentVolumeClaims", and you can find a "Used" column in that list (which again uses "kubelet_volume_stats_used_bytes"), does it not fulfil the requirement ??