-
Notifications
You must be signed in to change notification settings - Fork 543
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
Collect mgr and more osd data for microceph #3378
Conversation
Now that canonical/microceph#160 is fixed, gather the ceph daemon command outputs for OSD nodes. Signed-off-by: Nikhil Kshirsagar <[email protected]>
Some testing on microceph mgr and osd (colocated) nodes
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one minor nit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I just notice during testing, while the right files seem collected, this issue,
Is this expected, could I get your thoughts please @UtkarshBhatthere @pponnuvel ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made a few comments, they're minor nits
Microceph does NOT use the ceph orchestrator backend. (Possible feature enhancement for future) So this looks okay to me. |
Maybe I should skip those collections then for micro ceph case... |
Yeah, orch backend implementation (although not researched too well) is a bit of a task I do not see it happening "soon". Another option would be to collect it only when orch backend is set (can use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, just some minor styling nits.
I've changed the code to check the ceph orch status and if ENOENT is seen in its output, we do not collect any of the orch commands. This change will apply to the ceph plugins as well, since its in common code, for ceph as well as microceph. |
Signed-off-by: Nikhil Kshirsagar <[email protected]>
Thank you everyone for the feedback, I think this one is in shape to merge now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor nitpick, I am OK to merge the PR as is.
Nice collaboration!
Thank you. I won't make any more changes to this PR now, so please merge when possible. |
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines