.Size and provisioned column names are changed in RBD images table to avoid mismatch
Previously, size and provisioned columns in RBD images table were labeled incorrectly, causing the column's name to mismatch with the data displayed.
With this fix, the columns' names are changed to `Used` and `Total Used`. Column `Used` displays the disk usage for the image and `Total Used` displays the total disk usage.
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
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: Red Hat Ceph Storage 6.1 security, enhancement, and 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/RHSA-2023:5693
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