]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/prometheus: don't crash on OSDs without metadata
authorChristopher Blum <zeichenanonym@web.de>
Fri, 23 Feb 2018 17:48:49 +0000 (18:48 +0100)
committerBoris Ranto <branto@redhat.com>
Tue, 3 Apr 2018 16:36:06 +0000 (18:36 +0200)
commit1746324533a5f9bf9609cf0f0cc4879bbef112c7
treeb73a448d4997b3b14fa191d6abe40a11cb2fbf26
parentc11732d1a451d727b6ed5faac3a6cd8a82b10e74
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
(cherry picked from commit 3beee663f6fd6a16cef5a65ea5f9937cbea7a537)
src/pybind/mgr/prometheus/module.py