Repository navigation
Conversation
|
This PR has been added to wip-vshankar-testing-20260513.092143. |
| usr/share/ceph/mgr/test_orchestrator | ||
| usr/share/ceph/mgr/volumes | ||
| usr/share/ceph/mgr/nvmeof | ||
| usr/share/ceph/mgr/cli_api |
There was a problem hiding this comment.
could you please maintain alphabetical order for modules?
There was a problem hiding this comment.
if this module is not always enabled, we should not package it into mgr-modules-core, and it deserves a dedicated package.
There was a problem hiding this comment.
My understanding was this list includes modules which are not always enabled. mgr/mirroring is similar. What am I missing?
There was a problem hiding this comment.
Thanks for the clarification -- I appreciate you pointing out the similarity with mgr/mirroring.
My concern comes from what mgr-modules-core is meant to be. In ceph.spec:
Line 714 in c007ec0
So if the current list already includes some modules that aren't always enabled, then that's actually a bug in the spec -- not a pattern we want to extend.
To put it another way: imagine someone said,
The ceph-osd code is buggy, and my PR has some race conditions -- so it's fine to merge, right?
We probably wouldn't accept that logic =)
So I think we should stick to the intended meaning of the package: only modules that are always enabled belong in mgr-modules-core. If this module is optional, it deserves its own subpackage.
does that help clarify? happy to discuss further!
There was a problem hiding this comment.
Thanks for the clarification -- I appreciate you pointing out the similarity with mgr/mirroring.
My concern comes from what
mgr-modules-coreis meant to be. Inceph.spec:Line 714 in c007ec0
So if the current list already includes some modules that aren't always enabled, then that's actually a bug in the spec -- not a pattern we want to extend.
ha! I never looked at the spec closely. Now I see mgr-modules-core is intended to be always-on modules, but the files list has much more than that. Not sure if its intention changed over time, but the understanding remained status-quo.
To put it another way: imagine someone said,
The ceph-osd code is buggy, and my PR has some race conditions -- so it's fine to merge, right?
We probably wouldn't accept that logic =)
So I think we should stick to the intended meaning of the package: only modules that are always enabled belong in
mgr-modules-core. If this module is optional, it deserves its own subpackage.does that help clarify? happy to discuss further!
I agree. My question is: Would we want to fix it in this change itself?
There was a problem hiding this comment.
i don't think we need to fix the existing packaging issues in this change. what we can do, though, is probably to get it right in this PR:
- check if
cli_apiis always enabled -- i did: it's not. - and package
cli_apiproperly
i will try to fix it in a follow up change -- to split mgr-modules-core package into smaller pieces. as we should not force users to pay for install what they don't use.
| %{_datadir}/ceph/mgr/test_orchestrator | ||
| %{_datadir}/ceph/mgr/volumes | ||
| %{_datadir}/ceph/mgr/nvmeof | ||
| %{_datadir}/ceph/mgr/cli_api |
@vshankar i created #68989 in hope to facilitate this. the second commit in that pull request introduces cli-api mgr-module. |
No worry. It's likely me who misunderstood. |
Fantastic. I will review that PR and close this one since the commits are included. |
|
Closing in favour of #68989 |
|
This PR has been removed from wip-vshankar-testing-20260513.092143. |
Fixes: http://tracker.ceph.com/issues/76651
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.