]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix CephPGImbalance alert 49478/head
authorAashish Sharma <aasharma@redhat.com>
Thu, 15 Sep 2022 12:32:29 +0000 (18:02 +0530)
committerAashish Sharma <aasharma@redhat.com>
Fri, 16 Dec 2022 11:17:15 +0000 (16:47 +0530)
commit3414910e4c396bfa4b314b0db1d05409c578e06f
tree2a787bc1df9d3de322da2797c7f315e95117b8e4
parentbb8d9d20ccc02fe3c447a110788858289e6c0126
mgr/dashboard: fix CephPGImbalance alert

Donot show the CephPgImbalance alert if the balancer shows no optimization required

Fixes: https://tracker.ceph.com/issues/55568
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit a75792d5c3c78feffc0cc564deb9bcac19584503)

Conflicts:
src/pybind/mgr/balancer/module.py (added new return value to show balancer status method)
src/pybind/mgr/balancer/module.py
src/pybind/mgr/dashboard/controllers/prometheus.py