From 864ff49d7847a4455665fc368ee08bd32e96f7db Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 20 Jan 2019 15:59:50 -0600 Subject: [PATCH] mgr/telemetry: fix total_objects This field was removed from df output a while back in 342f309645df886fb96eb401634e38376553e6d9 Fixes: http://tracker.ceph.com/issues/37976 Signed-off-by: Sage Weil (cherry picked from commit c849d7dfcc7306b8945d7a697fb76558ed50f983) --- src/pybind/mgr/telemetry/module.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 021fbd7c21077..4f9006cb1a4df 100644 --- a/src/pybind/mgr/telemetry/module.py +++ b/src/pybind/mgr/telemetry/module.py @@ -265,7 +265,6 @@ class Module(MgrModule): report['usage'] = { 'pools': len(df['pools']), 'pg_num:': num_pg, - 'total_objects': df['stats']['total_objects'], 'total_used_bytes': df['stats']['total_used_bytes'], 'total_bytes': df['stats']['total_bytes'], 'total_avail_bytes': df['stats']['total_avail_bytes'] -- 2.39.5