Bug 2210944 - [GSS][ceph-dashboard] Size and Provisioned columns in ceph dashboard for RBD images is labelled incorrectly
Summary: [GSS][ceph-dashboard] Size and Provisioned columns in ceph dashboard for RBD ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 6.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: 6.1z2
Assignee: Pedro González Gómez
QA Contact: Sunil Angadi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2235257
TreeView+ depends on / blocked
 
Reported: 2023-05-30 06:51 UTC by Karun Josy
Modified: 2023-11-03 04:01 UTC (History)
8 users (show)

Fixed In Version: ceph-17.2.6-135.el9cp
Doc Type: Bug Fix
Doc Text:
.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.
Clone Of:
Environment:
Last Closed: 2023-10-12 16:34:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 53100 0 None open mgr/dashboard: fix image columns naming 2023-08-31 06:03:31 UTC
Red Hat Issue Tracker RHCEPH-6763 0 None None None 2023-05-30 06:53:11 UTC
Red Hat Issue Tracker RHCSDASH-985 0 None None None 2023-05-30 06:53:13 UTC
Red Hat Product Errata RHSA-2023:5693 0 None None None 2023-10-12 16:36:17 UTC

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.

Comment 2 tserlin 2023-09-06 16:45:18 UTC
We need this cherry-picked downstream to the ceph-6.1-rhel-patches branch if we want it to make it for 6.1 z2.

Thomas

Comment 9 Pedro González Gómez 2023-10-11 07:30:07 UTC
Updated doc text.

Comment 11 errata-xmlrpc 2023-10-12 16:34:26 UTC
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


Note You need to log in before you can comment on or make changes to this bug.