]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin 19929/head
authorPeter Woodman <peter@shortbus.org>
Sun, 12 Nov 2017 00:32:37 +0000 (16:32 -0800)
committerZack Cerza <zack@redhat.com>
Mon, 15 Jan 2018 20:38:39 +0000 (13:38 -0700)
commitad9db7eea86f3518faa54820ac62c6e34dc7cc7c
tree26ee8725309fa96dd092298c8841a41bae1da7d8
parenta1ca7f7d93acd5f7fa58b25371b9bcfb7855ef25
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin

without this the endpoint throws 500s when any PG is doing a deep scrub.

Signed-off-by: Peter Woodman <peter@shortbus.org>
Fixes: http://tracker.ceph.com/issues/22116
(cherry picked from commit 8c93c0eeaff406af0878916ef5b9ce958896d586)
src/pybind/mgr/prometheus/module.py