]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix CephPGImbalance alert 49476/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:09:50 +0000 (16:39 +0530)
commitf49dafd6adac5511b45de25f3e6aef31908228eb
tree06cdd3c80e1724ac8e0cf2cc60422cdbc5fecd44
parent71b9e6124a0041c50cc60da904ff2051e0ab0061
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)
src/pybind/mgr/balancer/module.py
src/pybind/mgr/dashboard/controllers/prometheus.py