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 |
epuertat
left a comment
There was a problem hiding this comment.
Good progress. I think it's almost there! Just a few comments.
24bd67f to
2e9c158
Compare
phlogistonjohn
left a comment
There was a problem hiding this comment.
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.
adk3798
left a comment
There was a problem hiding this comment.
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 |
To test the changes on this branch:
registry.hub.docker.com/rkachach/ceph-nvmeof:v1.0to bootstrap your clusterceph osd pool create rbdnvmeof.yamli.e):ceph orch apply -i nvmeof.yamlTo 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 pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows