]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/pg_autoscaler: only generate target_* health warnings if targets set 31638/head
authorSage Weil <sage@redhat.com>
Thu, 14 Nov 2019 15:48:24 +0000 (09:48 -0600)
committerSage Weil <sage@redhat.com>
Thu, 14 Nov 2019 15:48:24 +0000 (09:48 -0600)
commit4e5c4cdeb4e88d034e2fed7d6de97a4322a57adc
tree41925e0db3646b1d684f98a7e33f3313da8afe7f
parent0ebf6ba50d25626cc36cf245a8fae8abb9191833
mgr/pg_autoscaler: only generate target_* health warnings if targets set

We may get into a situation where the pool stats appear to exceed the
cluster capacity.  If that happens, don't generate confusing health
messages about the target_{ratio,bytes} pool settings when they aren't
actually set at all.

Fixes: https://tracker.ceph.com/issues/42301
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/pg_autoscaler/module.py