]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: Ignore daemon if no metadata was returned 25184/head
authorNathan Cutler <ncutler@suse.com>
Tue, 20 Nov 2018 12:45:11 +0000 (13:45 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 20 Nov 2018 12:45:11 +0000 (13:45 +0100)
commitecda0d8d0ab7b18d28b283a0ef8db4f2f032589e
treec15a8f41a1f2ae83e05fe595acc23f8bb306789f
parentc7c47ae31fc0e75c69a4803eb358627578071239
mgr: Ignore daemon if no metadata was returned

It can happen that the Mgr does not return any metadata for a given
daemon as it might not be available at that moment.

None is returned by the get_metadata() method at that moment and both
the Influx and Telegraf module should then ignore the daemon in their
statistics and continue on to the next daemon.

Signed-off-by: Wido den Hollander <wido@42on.com>
(manual cherry-pick of 02569c88341a6dcc8aee5626f10ac2927c2cf064)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/pybind/mgr/influx/module.py