Project

General

Profile

Actions

Bug #45185

closed

mgr/dashboard: fix usage calculation to match "ceph df" way

Added by Ernesto Puerta about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Category:
Component - Pools
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
octopus, nautilus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently Ceph-dashboard Pool list Usage % is calculated as:

usage = raw_used / (raw_used + max_avail)

While ceph df is:

usage = data_used / (data_used + max_avail)

Related issues 5 (2 open3 closed)

Related to mgr - Bug #41829: ceph df reports incorrect pool usageNew

Actions
Related to mgr - Bug #40203: ceph df shows incorrect usageNew06/07/2019

Actions
Has duplicate Dashboard - Bug #43384: mgr/dashboard: Pool size is calculated with data with different metricsDuplicate

Actions
Copied to Dashboard - Backport #46570: octopus: mgr/dashboard: fix usage calculation to match "ceph df" wayResolvedErnesto PuertaActions
Copied to Dashboard - Backport #47579: nautilus: mgr/dashboard: fix usage calculation to match "ceph df" wayResolvedErnesto PuertaActions
Actions

Also available in: Atom PDF