Bug 2210944

Summary: [GSS][ceph-dashboard] Size and Provisioned columns in ceph dashboard for RBD images is labelled incorrectly
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Karun Josy <kjosy>
Component: Ceph-DashboardAssignee: Pedro González Gómez <pegonzal>
Status: ASSIGNED --- QA Contact: Sunil Angadi <sangadi>
Severity: high Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 6.0CC: aasharma, ceph-eng-bugs, cephqe-warriors, sangadi, sostapov
Target Milestone: ---   
Target Release: 6.1z2   
Hardware: All   
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 Karun Josy 2023-05-30 06:51:45 UTC
Created attachment 1967807 [details]
screenshot of dashboard

# Description of problem:

In CLI, PROVISIONED shows the size of the image it was created with, whereas USED shows the actual size being used

--------
# rbd du rbd/image1
NAME    PROVISIONED  USED
image1        1 GiB   0 B
--------

However, in dashboard, these values look to be interchanged

Name               image1
Pool               rbd
Size               1 GiB
Provisioned        0 B
Total provisioned  0 B


Please check the screenshot attached as well.


We need to modify the dashboard to use the correct naming convention.



# Version-Release number of selected component (if applicable):
RHCS 6
RHCS 5
RHCS 4

# How reproducible:
Always

Steps to Reproduce:
1. Create an RBD image 
2. Check its usage from CLI using "rbd du" command
3. Check its usage from Ceph dashboard; Block >> Images

Comment 1 Scott Ostapovicz 2023-07-12 13:08:56 UTC
Missed the 6.1 z1 window.  Retargeted to 6.1 z2.