]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/prometheus: don't crash on OSDs without metadata 20539/head
authorChristopher Blum <zeichenanonym@web.de>
Fri, 23 Feb 2018 17:48:49 +0000 (18:48 +0100)
committerChristopher Blum <zeichenanonym@web.de>
Fri, 23 Feb 2018 17:48:49 +0000 (18:48 +0100)
commit3beee663f6fd6a16cef5a65ea5f9937cbea7a537
treed0cd876899b83b4a0133df810f990d22c4eaefad
parentd7dfdc873082e876e57170e875ae95a4dff5af42
pybind/mgr/prometheus: don't crash on OSDs without metadata

Fix issue where the ceph_exporter crashes after a Ceph upgrade with a broken OSD - that OSD was never online with Luminous and thus we have no metadata for it

Signed-off-by: Christopher Blum zeichenanonym@web.de
src/pybind/mgr/prometheus/module.py