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

Support crush manager #897

Closed
dheart-joe opened this issue Jul 3, 2023 · 4 comments
Closed

Support crush manager #897

dheart-joe opened this issue Jul 3, 2023 · 4 comments

Comments

@dheart-joe
Copy link

now, we want to edit crush with golang.but, I found ceph has not support crush_map update by golang.
hope go-ceph can provide APIs.

@phlogistonjohn
Copy link
Collaborator

Thanks for the request. However, I would appreciate it if you could provide a bit more detail. Currently, go-ceph focuses on providing wrappers for APIs that ceph exports (in C) for Go. We also have the "admin" packages that use the APIs to call "JSON command" APIs on the Ceph MGR. If there are existing C APIs for editing the CRUSH Map we can certainly look into wrapping them. If you're looking for something else we'll need more information about what you want.

@phlogistonjohn
Copy link
Collaborator

I forgot to say: if there are command line tools that you want Go equivalents of - post the commands you use, from there I can usually backtrack the code in the Ceph repo to see what APIs, if any, are in use.

@dheart-joe
Copy link
Author

Such as golang struct decode/encode into the crush map, that is the bufferlist of the command response that "ceph osd get crushmap" . Thank you for your response!

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the Stale label Aug 26, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants