Repository navigation
tentacle: qa: Add new task module template.py - #65756
Conversation
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]>
(cherry picked from commit e8ede11)
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]>
(cherry picked from commit e97d811)
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]> (cherry picked from commit 550ce35)
Signed-off-by: John Mulligan <[email protected]> (cherry picked from commit b45fe1b)
Signed-off-by: John Mulligan <[email protected]> (cherry picked from commit 7c6407c)
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]> (cherry picked from commit f87e622)
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]> (cherry picked from commit 0b61b1c)
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]> (cherry picked from commit 30f8299)
phlogistonjohn
left a comment
There was a problem hiding this comment.
looks ok for backport
|
This PR has been added to wip-yuri6-testing-20260701.194111-tentacle. |
|
🤷 |
|
This PR has been added to wip-yuri6-testing-20260806.135230-tentacle. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Orphaned Main PR: Could not find a Redmine tracker for
mainPR #65721. Please create a ticket, set its 'Pull Request ID', populate the 'Backport' field, and ensure it is in the 'Pending Backport' state.
Commit Parity Visualizer
| BACKPORT PR #65756 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 38aed80 qa/suites: do not use vip.exec when it is not needed | PR #65721 | e8ede11 qa/suites: do not use vip.exec when it is not needed |
| d8e079f qa/suites: do not use cephadm.exec when it is not needed | e97d811 qa/suites: do not use cephadm.exec when it is not needed | |
| a85e535 qa/tasks: add template.py for generic templating needs | 550ce35 qa/tasks: add template.py for generic templating needs | |
| 5b0f6b6 qa/tasks: replace cephadm.exec with template.exec | b45fe1b qa/tasks: replace cephadm.exec with template.exec | |
| 0e40292 qa/tasks: replace vip.exec with template.exec | 7c6407c qa/tasks: replace vip.exec with template.exec | |
| f8acd28 qa/tasks: remove generic template stuff from cephadm.py | f87e622 qa/tasks: remove generic template stuff from cephadm.py | |
| 582b4c7 qa/tasks: update python.py to use template module | 0b61b1c qa/tasks: update python.py to use template module | |
| 09f1112 qa/tasks: remove templating functions from vip.py | 30f8299 qa/tasks: remove templating functions from vip.py |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @batrick. |
Backport of #65721
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.