From: Sage Weil Date: Sat, 21 Oct 2017 15:46:27 +0000 (-0500) Subject: mgr/balancer: fix pg vs object terminology X-Git-Tag: v12.2.2~44^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=64d75fa26d3ceb6ccdbee3b31b3705c4db2fc59f;p=ceph.git mgr/balancer: fix pg vs object terminology Signed-off-by: Sage Weil (cherry picked from commit 6513e8b0fc2ebcbbbda937ec6d533ea084ef278f) --- diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 76b1360fe7e6..155f9b73e21e 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -574,11 +574,11 @@ class Module(MgrModule): if unknown > 0.0: self.log.info('Some PGs (%f) are unknown; waiting', unknown) elif degraded > 0.0: - self.log.info('Some PGs (%f) are degraded; waiting', degraded) + self.log.info('Some objects (%f) are degraded; waiting', degraded) elif inactive > 0.0: self.log.info('Some PGs (%f) are inactive; waiting', inactive) elif misplaced >= max_misplaced: - self.log.info('Too many PGs (%f > %f) are misplaced; waiting', + self.log.info('Too many objects (%f > %f) are misplaced; waiting', misplaced, max_misplaced) else: if plan.mode == 'upmap':