Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: mgr: Ignore daemon if no metadata was returned #23356

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

wido
Copy link
Member

@wido wido commented Jul 31, 2018

https://tracker.ceph.com/issues/25202


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
(cherry picked from commit 02569c8)

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>
(cherry picked from commit 02569c8)
@wido
Copy link
Member Author

wido commented Jul 31, 2018

This fixes https://tracker.ceph.com/issues/25191

@wido
Copy link
Member Author

wido commented Jul 31, 2018

This is a backport of #22794

@smithfarm smithfarm added this to the mimic milestone Jul 31, 2018
@wido
Copy link
Member Author

wido commented Aug 6, 2018

retest this please

@wido
Copy link
Member Author

wido commented Aug 17, 2018

Can this one go into Mimic?

@jcsp
Copy link
Contributor

jcsp commented Aug 20, 2018

I guess this one is not forgotten but just waiting until the next round of backport testing (@smithfarm can config)

@smithfarm
Copy link
Contributor

@jcsp Correct. As long as the milestone is set correctly, it is definitely not forgotten.

@smithfarm smithfarm changed the title mgr: Ignore daemon if no metadata was returned mimic: mgr: Ignore daemon if no metadata was returned Aug 20, 2018
@yuriw
Copy link
Contributor

yuriw commented Aug 20, 2018

@yuriw yuriw merged commit f4b07be into ceph:mimic Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants