-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
mgr/cephadm: adding support for nvmeof #50423
Conversation
9b0d1fa
to
4b8c3af
Compare
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
99f96d1
to
285ddbd
Compare
eaf477e
to
2f7756a
Compare
2784483
to
6c218f4
Compare
36e7c4c
to
dc7487c
Compare
jenkins retest this please |
17936e4
to
1a4b212
Compare
jenkins test make check |
jenkins test dashboard cephadm |
jenkins test make check |
jenkins test api |
jenkins test make check |
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.
Good progress. I think it's almost there! Just a few comments.
24bd67f
to
2e9c158
Compare
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.
I just skimmed thru this PR and nothing major jumps out at me. I would recommend squashing your patches together since the 3 later patches just fix things in your new code. But it's not a major requirement.
Much of the patch is just plumbing the new types through. The interesting bits are the extra parameters to make the container function and while I don't love seeing extra caps added, if they're needed they're needed.
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 like it's mostly there. Still unsure about how SSL is working with this (I see there are options to pass in certs in the spec, just not sure how they're used) and it would be nice to clean up the keyring stuff, but the overall structure seems pretty good.
src/pybind/mgr/cephadm/templates/services/nvmeof/ceph-nvmeof.conf.j2
Outdated
Show resolved
Hide resolved
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Thank you for reviewing the code @phlogistonjohn, I'll be squashing the changes are in fact most of the commits are small changes to fix UT and other changes from the reviews. The caps are needed by the nvmeof daemon to function so at this moment we have to add them. |
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2b0fc67
to
a4d246c
Compare
5de8fea
to
48a9759
Compare
Obviously, we don't have a test for deploying nvme-of itself yet, but did a run to make sure this wasn't breaking anything. Only failure was a known issue (https://tracker.ceph.com/issues/59704) so the run was clean. |
Awesome, thank you very much @adk3798 for taking care of this. |
ba96589
to
f1eac99
Compare
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
87deecc
to
050c0f9
Compare
jenkins test make check |
3 Failures, 5 Dead jobs
Overall, nothing to block merging |
jenkins retest this please |
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.
This still needs follow up work, but as @rkachach is going to be out for some time, going to merge this to main and fix the keyring issue and add proper testing in a follow up
To test the changes on this branch:
registry.hub.docker.com/rkachach/ceph-nvmeof:v1.0
to bootstrap your clusterceph osd pool create rbd
nvmeof.yaml
i.e):ceph orch apply -i nvmeof.yaml
To test the daemon you we can use the
quay.io/ceph/nvmeof-cli:0.0.1
, i.e:Output:
https://tracker.ceph.com/issues/61929
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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 cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows