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
ceph-volume: add drive-group subcommand #35728
ceph-volume: add drive-group subcommand #35728
Conversation
cc @BlaineEXE |
25aba62
to
faa2653
Compare
regarding backporting to older releases. What do you need from python-common? |
faa2653
to
afa4eff
Compare
Since this is py3 only backports will be limited to py3-only branches. rook is currently the only prospective user so lets see what @BlaineEXE thinks. |
Should be rebased if/when #35800 is merged. |
Since in Rook we don't know which version of Ceph this feature will appear in, can we add a flag to this command |
No need for an extra argument. You can just run |
In practice, that's not how it works because if I run |
Ah yes, you're right of course. Probably best to enable parsing from stdin via an argument though. I'll rebase and push that change shortly. |
afa4eff
to
7493bf7
Compare
ok so I implemented to following:
I think its weird to return 0 when no arguments are given, but since all other c-v subcommands behave that way I opted for consistency. |
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.
Confirmed this working with my WIP Rook changes.
rook/rook#4916
jenkins retest this please |
jenkins retest this please |
jenkins retest this please (the |
jenkins retest this please |
jenkins test make check |
This new subcommand takes a drive group specification as json and deploys the OSDs accordingly. Signed-off-by: Jan Fajerski <jfajerski@suse.com> Fixes: https://tracker.ceph.com/issues/46689
7493bf7
to
e5b585d
Compare
added to my list of reviews |
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.
looks fine 👍
This PR broke the entire I've opened https://tracker.ceph.com/issues/46759 |
This new subcommand takes a drive group specification as json and deploys
the OSDs accordingly.
Signed-off-by: Jan Fajerski jfajerski@suse.com
Fixes: https://tracker.ceph.com/issues/46689
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox