Repository navigation
qa: Add new task module template.py - #65721
Conversation
13036b6 to
7bc72e4
Compare
|
Full run of smb mgr/orch tests: one failure out of 45 tests, which is a preexisting and known flake. This run included a patch I didn't really intend to be in this run, but it should not invalidate the regression testing this run is intended for. |
7bc72e4 to
217b0e7
Compare
Convert a number of uses of `vip.exec` to basic `exec`. When the
replacement pattern `{{VIP<x>}}` is not present vip.exec and exec
are essentially the same. This means that the remaining uses of
`vip.exec` actually need vip variable substitution.
Signed-off-by: John Mulligan <[email protected]>
Convert a uses of `cephadm.exec` to basic `exec`. When templates (with
the jinja2-style replacement pattern `{{}}`) are not present the
cephadm.exec and exec are essentially the same.
Signed-off-by: John Mulligan <[email protected]>
This change extracts a bunch of functionality that we added to cephadm.py and has been "incubating" there for too long as it's not particularly specific to cephadm. Take the code from cephadm.py and fully generalize it and make it a fairly simple module that can be reused elsewhere as needed. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Remove the generic template stuff from cephadm.py now that the template.py file is usable and various yamls have been updated to use the new module now. Signed-off-by: John Mulligan <[email protected]>
The file python.py was making use of subst_vip from vip.py. The more generic template.py provides the same functionality as subst_vip plus a better more general templating system. Replace subst_vip in this file so that we can remove subst_vip in the future. Signed-off-by: John Mulligan <[email protected]>
Now that all the generic templating can be done by template.py, we can remove the legacy functions from vip.py Signed-off-by: John Mulligan <[email protected]>
217b0e7 to
30f8299
Compare
|
https://pulpito.ceph.com/phlogistonjohn-2025-10-01_16:42:15-orch:cephadm-main-distro-default-smithi/ |
adk3798
left a comment
There was a problem hiding this comment.
Code changes LGTM and https://pulpito.ceph.com/phlogistonjohn-2025-10-01_16:42:15-orch:cephadm-main-distro-default-smithi/ is an adequate run for merging (known failures, nothing I see related to this PR)
Extract the general templating functions that we had added to cephadm.py a while ago into a proper module that doesn't really have any functionality specific to cephadm.
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.