Skip to content

tentacle: qa: Add new task module template.py - #65756

Merged
batrick merged 8 commits into
ceph:tentaclefrom
adk3798:tentacle-qa-task-template
Aug 21, 2026
Merged

batrick merged 8 commits into
ceph:tentaclefrom
adk3798:tentacle-qa-task-template

Conversation

@adk3798

@adk3798 adk3798 commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Backport of #65721

Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

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)
@adk3798 adk3798 added this to the tentacle milestone Oct 2, 2025
@adk3798
adk3798 requested a review from a team as a code owner October 2, 2025 15:00

@phlogistonjohn phlogistonjohn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok for backport

@yuriw

yuriw commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri6-testing-20260701.194111-tentacle.

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@phlogistonjohn

Copy link
Copy Markdown
Contributor

🤷

@yuriw

yuriw commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri6-testing-20260806.135230-tentacle.

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Aug 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Aug 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 main PR #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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 21, 2026
@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 21, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Aug 21, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit b75b0a2 into ceph:tentacle Aug 21, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants