Skip to content

TRT-2905: Fix python:latest and nodejs template references after UBI 8 tag removal - #706

Merged
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
redhat-chai-bot:fix-python-latest-ubi9
Aug 15, 2026
Merged

TRT-2905: Fix python:latest and nodejs template references after UBI 8 tag removal#706
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
redhat-chai-bot:fix-python-latest-ubi9

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

PR #695 (Periodic sync of supported OCP samples) removed UBI 8 imagestream tags but left references to them in other assets, causing samples import test failures.

This PR fixes both issues:

Python imagestream fix

Updates python:latest tag across all 4 architectures to reference 3.12-ubi9 instead of the removed 3.12-ubi8.

Affected files:

  • assets/operator/ocp-x86_64/python/imagestreams/python-rhel.json
  • assets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.json
  • assets/operator/ocp-ppc64le/python/imagestreams/python-rhel.json
  • assets/operator/ocp-s390x/python/imagestreams/python-rhel.json

Node.js template fix

Updates NODEJS_VERSION default from 20-ubi8 to 22-ubi8 in the nodejs-postgresql-example template across all 4 architectures. The nodejs:20-ubi8 tag was also removed by PR #695.

Affected files:

  • assets/operator/ocp-x86_64/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-aarch64/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-ppc64le/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-s390x/nodejs/templates/nodejs-postgresql-example.json

Jira: https://redhat.atlassian.net/browse/TRT-2905

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 11207138-3615-4ad3-a2ff-ed11c33d10be

📥 Commits

Reviewing files that changed from the base of the PR and between 5c56d9a and aa0c9c9.

📒 Files selected for processing (8)
  • assets/operator/ocp-aarch64/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.json
  • assets/operator/ocp-ppc64le/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-ppc64le/python/imagestreams/python-rhel.json
  • assets/operator/ocp-s390x/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-s390x/python/imagestreams/python-rhel.json
  • assets/operator/ocp-x86_64/nodejs/templates/nodejs-postgresql-example.json
  • assets/operator/ocp-x86_64/python/imagestreams/python-rhel.json

Walkthrough

The change updates Node.js PostgreSQL template defaults to 22-ubi8 and Python latest ImageStream references to 3.12-ubi9 across four architectures.

Changes

Image reference updates

Layer / File(s) Summary
Node.js template defaults
assets/operator/*/nodejs/templates/nodejs-postgresql-example.json
The default Node.js image parameter changes from 20-ubi8 to 22-ubi8.
Python latest ImageStream references
assets/operator/*/python/imagestreams/*.json
The latest tag description and source change from Python 3.12-ubi8 to 3.12-ubi9.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to aa0c9

This PR updates architecture-specific image stream references and metadata for the Python latest tag. No actionable merge-blocking risk remains beyond normal checks and review.

Possibly related PRs

Suggested labels: jira/valid-bug, verified

Suggested reviewers: aroyoredhat, fbm3307, metlos

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The PR changes only eight valid JSON asset files; no Go test files or Ginkgo title calls were added or modified.
Test Structure And Quality ✅ Passed The pull request changes only eight JSON asset files. It adds no Ginkgo tests or test operations, so this test-quality check is not applicable.
Microshift Test Compatibility ✅ Passed The PR changes only eight JSON asset files; the verified diff adds no Ginkgo e2e tests or test APIs, so MicroShift compatibility rules do not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The diff changes only eight JSON image/template manifests; it adds no Ginkgo e2e tests or multi-node assumptions, so the SNO check is inapplicable.
Topology-Aware Scheduling Compatibility ✅ Passed The diff changes only image-version parameters and ImageStreamTag metadata. Parsed DeploymentConfigs have no affinity, spread, nodeSelector, or toleration fields, and no scheduling constraint was i...
Ote Binary Stdout Contract ✅ Passed The PR commits change only JSON ImageStream/template values; no main, suite setup, logging, or stdout-writing process code is modified.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The diff changes only JSON image tags, descriptions, and Node.js defaults; it adds no Ginkgo e2e tests or IPv4/external-network test behavior.
No-Weak-Crypto ✅ Passed The PR diff only changes JSON image tags, descriptions, and the Node.js version from 20-ubi8 to 22-ubi8; it adds no weak-crypto usage or custom cryptography.
Container-Privileges ✅ Passed The PR changes only image tags and descriptions; all eight JSON manifests contain no privileged, host*, SYS_ADMIN, allowPrivilegeEscalation, securityContext, or runAs fields.
No-Sensitive-Data-In-Logs ✅ Passed The PR changes only JSON image version, description, and ImageStreamTag reference values; no logging code or sensitive data appears in added lines.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the Python ImageStream reference fix and the related Node.js template updates caused by UBI 8 tag removal.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci
openshift-ci Bot requested review from fbm3307 and metlos August 14, 2026 19:01
@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@neisw

neisw commented Aug 14, 2026

Copy link
Copy Markdown

/payload-job periodic-ci-openshift-release-main-ci-5.1-e2e-aws-ovn-techpreview

@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@neisw: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.1-e2e-aws-ovn-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/b899a180-9814-11f1-80ae-597972623852-0

@neisw

neisw commented Aug 14, 2026

Copy link
Copy Markdown

/lgtm
/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws
/test e2e-aws-operator
/test e2e-aws-ovn-image-ecosystem
/test e2e-aws-ovn-upgrade

@aroyoredhat

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2026
@aroyoredhat

Copy link
Copy Markdown
Contributor

/cherry-pick release-5.0

@openshift-cherrypick-robot

Copy link
Copy Markdown

@aroyoredhat: once the present PR merges, I will cherry-pick it on top of release-5.0 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-5.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@aroyoredhat

Copy link
Copy Markdown
Contributor

/retitle OCPBUGS-111057: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal

@openshift-ci openshift-ci Bot changed the title Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal OCPBUGS-111057: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal Aug 14, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 14, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: This pull request references Jira Issue OCPBUGS-111057, which is invalid:

  • expected the bug to target the "5.1.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Fix for broken python:latest tag

PR #695 ("Periodic sync of supported OCP samples") removed the python:3.12-ubi8 imagestream tag but did not update python:latest, which still referenced 3.12-ubi8 via ImageStreamTag. This caused a dangling reference, breaking the samples import test and rejecting payload 5.1.0-0.nightly-2026-08-14-101332.

Changes

Updates the python:latest tag in all 4 architecture-specific imagestream files to reference 3.12-ubi9 instead of 3.12-ubi8:

  • assets/operator/ocp-x86_64/python/imagestreams/python-rhel.json
  • assets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.json
  • assets/operator/ocp-ppc64le/python/imagestreams/python-rhel.json
  • assets/operator/ocp-s390x/python/imagestreams/python-rhel.json

In each file:

  • from.name: 3.12-ubi83.12-ubi9
  • Description annotation: "UBI 8" → "UBI 9"

Context

This is a companion to the revert PR #705. The revert unblocks the payload immediately by restoring the 3.12-ubi8 tag. This PR is the forward fix — it can re-land PR #695's tag removals with the latest pointer corrected.

References


AI-generated. Review for accuracy.

@neisw requested in Slack thread

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@aroyoredhat

Copy link
Copy Markdown
Contributor

/verified by aroyoredhat

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Aug 14, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@aroyoredhat: This PR has been marked as verified by aroyoredhat.

Details

In response to this:

/verified by aroyoredhat

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@aroyoredhat

aroyoredhat commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

/retitle TRT-2905: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal

@openshift-ci openshift-ci Bot changed the title OCPBUGS-111057: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal TRT-2905: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal Aug 14, 2026
@aroyoredhat

Copy link
Copy Markdown
Contributor

/jira refresh

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Aug 14, 2026
@openshift-ci-robot

openshift-ci-robot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: This pull request references TRT-2905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.1.0" version, but no target version was set.

Details

In response to this:

Fix for broken python:latest tag

PR #695 ("Periodic sync of supported OCP samples") removed the python:3.12-ubi8 imagestream tag but did not update python:latest, which still referenced 3.12-ubi8 via ImageStreamTag. This caused a dangling reference, breaking the samples import test and rejecting payload 5.1.0-0.nightly-2026-08-14-101332.

Changes

Updates the python:latest tag in all 4 architecture-specific imagestream files to reference 3.12-ubi9 instead of 3.12-ubi8:

  • assets/operator/ocp-x86_64/python/imagestreams/python-rhel.json
  • assets/operator/ocp-aarch64/python/imagestreams/python-rhel-aarch64.json
  • assets/operator/ocp-ppc64le/python/imagestreams/python-rhel.json
  • assets/operator/ocp-s390x/python/imagestreams/python-rhel.json

In each file:

  • from.name: 3.12-ubi83.12-ubi9
  • Description annotation: "UBI 8" → "UBI 9"

Context

This is a companion to the revert PR #705. The revert unblocks the payload immediately by restoring the 3.12-ubi8 tag. This PR is the forward fix — it can re-land PR #695's tag removals with the latest pointer corrected.

References


AI-generated. Review for accuracy.

@neisw requested in Slack thread

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot

openshift-ci-robot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@aroyoredhat: This pull request references TRT-2905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.1.0" version, but no target version was set.

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@neisw

neisw commented Aug 14, 2026

Copy link
Copy Markdown

/test e2e-aws-ovn-image-ecosystem

Update the default NODEJS_VERSION parameter in all 4 ocp architecture
variants of the nodejs-postgresql-example template to use Node.js 22
(22-ubi8) instead of the previous Node.js 20 (20-ubi8).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Aug 14, 2026
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2026
@aroyoredhat

Copy link
Copy Markdown
Contributor

/lgtm

@aroyoredhat

Copy link
Copy Markdown
Contributor

/verified by aroyoredhat

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws
/test e2e-aws-operator
/test e2e-aws-ovn-image-ecosystem
/test e2e-aws-ovn-upgrade

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Aug 14, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@aroyoredhat: This PR has been marked as verified by aroyoredhat.

Details

In response to this:

/verified by aroyoredhat

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aroyoredhat, neisw, redhat-chai-bot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@redhat-chai-bot redhat-chai-bot changed the title TRT-2905: Fix python:latest tag to reference 3.12-ubi9 after UBI 8 tag removal TRT-2905: Fix python:latest and nodejs template references after UBI 8 tag removal Aug 14, 2026
@neisw

neisw commented Aug 14, 2026

Copy link
Copy Markdown

/payload-job periodic-ci-openshift-release-main-ci-5.1-e2e-aws-ovn-techpreview

@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@neisw: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.1-e2e-aws-ovn-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/4a559c20-9831-11f1-99d4-9a860501f301-0

@neisw

neisw commented Aug 15, 2026

Copy link
Copy Markdown

/unhold

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 15, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 88b9454 into openshift:main Aug 15, 2026
11 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown

@aroyoredhat: new pull request created: #707

Details

In response to this:

/cherry-pick release-5.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants