Project

General

Profile

Actions

Bug #34320

closed

mgr/dashboard: Read/Write OPS in pool stats always show 0

Added by Volker Theile over 5 years ago. Updated about 3 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In the dashboard 'Pools' widget the Read/Write ops are always 0. I assume the CephService::get_pool_list_with_stats method is doing something wrong.


Files

aaa6445724a2edbcf7378185dbc7ce17.png (77.2 KB) aaa6445724a2edbcf7378185dbc7ce17.png Volker Theile, 08/29/2018 03:51 PM

Related issues 3 (0 open3 closed)

Related to Dashboard - Bug #36740: mgr/dashboard: PG Stats, Pool usage and read/write ops missing from Pools tableResolvedAlfonso Martínez

Actions
Related to Dashboard - Feature #36675: mgr/dashboard: Provide API endpoint providing minimal health dataClosedZack Cerza

Actions
Related to Dashboard - Bug #38284: mgr/dashboard: No I/O Stats shown in the pools listResolvedAlfonso Martínez

Actions
Actions #1

Updated by Lenz Grimmer over 5 years ago

  • Category changed from 146 to python interface
  • Assignee set to John Spray

@John, maybe something for you to take a look at?

Actions #2

Updated by John Spray over 5 years ago

  • Assignee deleted (John Spray)

The get_pool_list_with_stats implementation looks strange to me.

It seems to be trying to construct some deque time series in pool_stats, but pool_stats is a local that's construct each time the function is called. The later call to get_rate is probably always returning 0 because the length of the series is only ever 1.

Look at how update_pool_stats is used in the luminous dashboard -- it's called each time we get a pg_summary notification, and maintains the time series as an attribute of the MgrModule instance, so that it's always there when something else wants to read it.

Actions #3

Updated by Volker Theile over 5 years ago

  • Assignee set to Ricardo Dias
Actions #4

Updated by Lenz Grimmer over 5 years ago

Just to elaborate on this a bit (thank you John for the clarification on IRC): this needs to be fixed in the Ceph Manager dashboard module backend:

The underlying ceph-mgr bits just give the current statistics (via the pgmap summary) -- the calculation of the rate would happen in the dashboard

Actions #5

Updated by Lenz Grimmer over 5 years ago

  • Category changed from python interface to 146
Actions #6

Updated by Lenz Grimmer over 5 years ago

  • Related to Bug #36740: mgr/dashboard: PG Stats, Pool usage and read/write ops missing from Pools table added
Actions #7

Updated by Lenz Grimmer over 5 years ago

  • Status changed from New to Won't Fix

Resolving as "Won't fix", as the pools table has been removed when the new landing page was introduced with #35691.
We should revisit this when #36740 will be addressed.

Actions #8

Updated by Lenz Grimmer over 5 years ago

  • Related to Feature #36675: mgr/dashboard: Provide API endpoint providing minimal health data added
Actions #9

Updated by Lenz Grimmer about 5 years ago

  • Related to Bug #38284: mgr/dashboard: No I/O Stats shown in the pools list added
Actions #10

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end
Actions

Also available in: Atom PDF