Skip to content

NO-ISSUE: [master] Bump OCP versions: 4.18, 4.20, 4.22#10128

Open
danmanor wants to merge 1 commit intoopenshift:masterfrom
danmanor:bump/ocp-releases-6b091323-20e9-411e-aa80-d15298920e9d
Open

NO-ISSUE: [master] Bump OCP versions: 4.18, 4.20, 4.22#10128
danmanor wants to merge 1 commit intoopenshift:masterfrom
danmanor:bump/ocp-releases-6b091323-20e9-411e-aa80-d15298920e9d

Conversation

@danmanor
Copy link
Copy Markdown
Contributor

OpenShift updates: 4.22.0-ec.4 -> 4.22.0-ec.5, 4.20.17-multi -> 4.20.18-multi, 4.18.36 -> 4.18.37, 4.20.17 -> 4.20.18, 4.22.0-ec.4-multi -> 4.22.0-ec.5-multi, 4.18.36-multi -> 4.18.37-multi
RHCOS updates: 4.22.0-ec.3 -> 4.22.0-ec.5

/test edge-e2e-metal-assisted-4-18 edge-e2e-metal-assisted-4-20 edge-e2e-metal-assisted-4-22
/cc @rccrdpccl @gamli75

@openshift-ci openshift-ci bot requested review from gamli75 and rccrdpccl April 12, 2026 04:31
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 12, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@danmanor: This pull request explicitly references no jira issue.

Details

In response to this:

OpenShift updates: 4.22.0-ec.4 -> 4.22.0-ec.5, 4.20.17-multi -> 4.20.18-multi, 4.18.36 -> 4.18.37, 4.20.17 -> 4.20.18, 4.22.0-ec.4-multi -> 4.22.0-ec.5-multi, 4.18.36-multi -> 4.18.37-multi
RHCOS updates: 4.22.0-ec.3 -> 4.22.0-ec.5

/test edge-e2e-metal-assisted-4-18 edge-e2e-metal-assisted-4-20 edge-e2e-metal-assisted-4-22
/cc @rccrdpccl @gamli75

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 added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 12, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 12, 2026

Walkthrough

This pull request updates RHCOS (Red Hat Enterprise Linux CoreOS) OS image references and OpenShift release image versions across configuration, data, and deployment manifest files. Changes include bumping OpenShift 4.18 from 4.18.36 to 4.18.37, 4.20 from 4.20.17 to 4.20.18, updating 4.22 pre-release from ec.4 to ec.5, and adjusting RHCOS pre-release ISO URLs from ec.3 to ec.5.

Changes

Cohort / File(s) Summary
Configuration Files
config/manager/manager.yaml, config/samples/agent-install.openshift.io_v1beta1_agentserviceconfig.yaml
Updated OS image metadata environment variables and RHCOS pre-release ISO URLs for OpenShift 4.22 (ec.3 → ec.5) and adjusted configuration for OpenShift 4.19–4.22 variants.
JSON Data Defaults
data/default_os_images.json, data/default_release_images.json
Updated RHCOS pre-release OS image URLs (4.22 ec.3 → ec.5 for x86_64/ppc64le/s390x) and bumped release image versions (4.18.36 → 4.18.37, 4.20.17 → 4.20.18, 4.22.0-ec.4 → 4.22.0-ec.5).
Deployment Manifests
deploy/olm-catalog/manifests/assisted-service-operator.clusterserviceversion.yaml, deploy/podman/configmap.yml, openshift/template.yaml
Updated OS and release image references in OLM catalog manifest, podman ConfigMap, and OpenShift template parameters to reflect new RHCOS ISO URLs and release image versions across all affected architectures.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
data/default_os_images.json (1)

239-257: ⚠️ Potential issue | 🟠 Major

Keep the 4.22 RHCOS EC aligned across architectures.

x86_64 / ppc64le / s390x moved to ec.5, but the adjacent arm64 entry is still ec.3. That leaves 4.22 arm64 on a different RHCOS build than the rest of the 4.22 OS-image set and the 4.22 arm64 release-image bump in data/default_release_images.json. The same stale arm64 URL is still mirrored in the sample/operator/template blobs, so the fix needs to be propagated there too.

Patch suggestion
     {
         "openshift_version": "4.22",
         "cpu_architecture": "arm64",
-        "url": "https://mirror.openshift.com/pub/openshift-v4/aarch64/dependencies/rhcos/pre-release/4.22.0-ec.3/rhcos-4.22.0-ec.3-aarch64-live-iso.aarch64.iso",
+        "url": "https://mirror.openshift.com/pub/openshift-v4/aarch64/dependencies/rhcos/pre-release/4.22.0-ec.5/rhcos-4.22.0-ec.5-aarch64-live-iso.aarch64.iso",
         "version": "9.6.20251023-0"
     },
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@data/default_os_images.json` around lines 239 - 257, The arm64 RHCOS entry
for openshift_version "4.22" (cpu_architecture "arm64") uses the old ec.3
URL/version; update its "url" and "version" to match the ec.5 build used by
x86_64/ppc64le/s390x (replace the ec.3 path segment with ec.5 and bump the
version string to the same "9.6.20251023-0"), and then propagate the identical
ec.5 arm64 URL change to the corresponding sample/operator/template blobs that
still reference the stale arm64 URL so all 4.22 architectures and release-image
entries are consistent.
🧹 Nitpick comments (1)
openshift/template.yaml (1)

20-23: Make the image catalogs single-sourced.

OS_IMAGES and RELEASE_IMAGES are being hand-maintained in multiple manifests plus data/default_os_images.json / data/default_release_images.json. That duplication already made the 4.22 arm64 OS-image drift easy to miss; generating these template values from the default JSON files would reduce recurring version skew.

As per coding guidelines, "Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@openshift/template.yaml` around lines 20 - 23, The template currently
hardcodes OS_IMAGES and RELEASE_IMAGES JSON arrays, causing duplication with
data/default_os_images.json and data/default_release_images.json; change the
template generation so OS_IMAGES and RELEASE_IMAGES are populated from those
single-source JSON files instead of being hand-edited: update the template build
step (or template renderer) to read data/default_os_images.json and
data/default_release_images.json and inject their contents into the template
value fields for OS_IMAGES and RELEASE_IMAGES so the manifest no longer contains
duplicated, manually maintained arrays.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@data/default_os_images.json`:
- Around line 239-257: The arm64 RHCOS entry for openshift_version "4.22"
(cpu_architecture "arm64") uses the old ec.3 URL/version; update its "url" and
"version" to match the ec.5 build used by x86_64/ppc64le/s390x (replace the ec.3
path segment with ec.5 and bump the version string to the same
"9.6.20251023-0"), and then propagate the identical ec.5 arm64 URL change to the
corresponding sample/operator/template blobs that still reference the stale
arm64 URL so all 4.22 architectures and release-image entries are consistent.

---

Nitpick comments:
In `@openshift/template.yaml`:
- Around line 20-23: The template currently hardcodes OS_IMAGES and
RELEASE_IMAGES JSON arrays, causing duplication with data/default_os_images.json
and data/default_release_images.json; change the template generation so
OS_IMAGES and RELEASE_IMAGES are populated from those single-source JSON files
instead of being hand-edited: update the template build step (or template
renderer) to read data/default_os_images.json and
data/default_release_images.json and inject their contents into the template
value fields for OS_IMAGES and RELEASE_IMAGES so the manifest no longer contains
duplicated, manually maintained arrays.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 05080c11-4e6f-4f9d-8096-1911284dd706

📥 Commits

Reviewing files that changed from the base of the PR and between 866e3ab and 6249a92.

📒 Files selected for processing (7)
  • config/manager/manager.yaml
  • config/samples/agent-install.openshift.io_v1beta1_agentserviceconfig.yaml
  • data/default_os_images.json
  • data/default_release_images.json
  • deploy/olm-catalog/manifests/assisted-service-operator.clusterserviceversion.yaml
  • deploy/podman/configmap.yml
  • openshift/template.yaml

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.28%. Comparing base (866e3ab) to head (6249a92).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #10128   +/-   ##
=======================================
  Coverage   44.28%   44.28%           
=======================================
  Files         415      415           
  Lines       72709    72709           
=======================================
+ Hits        32196    32199    +3     
+ Misses      37601    37599    -2     
+ Partials     2912     2911    -1     

see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 12, 2026

@danmanor: 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.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 12, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danmanor, gamli75

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

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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants