Repository navigation
cephadm: reorganize container mounts functions - #54399
Merged
Merged
Conversation
4 of 14 tasks
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
phlogistonjohn
force-pushed
the
jjm-cephadm-reorg-ctr-mounts
branch
from
November 9, 2023 20:47
b47923a to
4c8eeb6
Compare
Move the call to get_container_mounts out of the function call block. This will aid with the next refactoring steps, so that the uses of get_container_mounts can be brought into the get_container call directly. Signed-off-by: John Mulligan <[email protected]>
This helps clarify what types will eventually have to be converted away from calling get_container_mounts directly and to using common methods. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Unlike the other types Ceph and CephExporter share the underlying method. There was no other use of get_container_mounts on the class so it could be converted to be customize_container_mounts. Because there's an extra arg that passes from get_container_mounts top-level function to Ceph.get_ceph_mounts, that function was not changed. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
phlogistonjohn
force-pushed
the
jjm-cephadm-reorg-ctr-mounts
branch
from
November 11, 2023 13:14
4c8eeb6 to
77ee6ab
Compare
phlogistonjohn
marked this pull request as ready for review
November 11, 2023 13:16
adk3798
approved these changes
Nov 13, 2023
Contributor
|
reruns of failed jobs: https://pulpito.ceph.com/adking-2023-11-14_13:06:17-orch:cephadm-wip-adk-testing-2023-11-13-1853-distro-default-smithi/ After reruns, 5 failures:
Overall, nothing to block merging for PRs outside of the iscsi test extension and a PR that was adding new jinja2 templates. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #54398
Like #54398 does for binds, update and expand the customize_container_mounts functions on the set of deamon type classes that were named in get_container_mounts ultimately reworking that function to use common class methods to get the mounts. One special case remains for ceph daemon types for functionality specifcially related to
cephadm shell.As there are more daemon types wanting mounts than there are binds this PR is a bit longer than the last but you should see similarities between the approach taken.
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
opened tracker ticketShow 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 windowsjenkins test rook e2e