Skip to content

MGMT-24875: Backport #10527 disconnected ZTP/CAPI fixes - #10702

Open
andrej1991 wants to merge 1 commit into
openshift:release-ocm-2.15from
andrej1991:release-ocm-2.15-backport-10527
Open

MGMT-24875: Backport #10527 disconnected ZTP/CAPI fixes#10702
andrej1991 wants to merge 1 commit into
openshift:release-ocm-2.15from
andrej1991:release-ocm-2.15-backport-10527

Conversation

@andrej1991

Copy link
Copy Markdown
Contributor

Backport functional fixes from #10527:

  • OSImageStream source discovery and registries.conf mirror entries
  • Hypershift CLI podman --authfile for disconnected CAPI installs
  • ZTP install success checks and wait helper reliability
  • Treat empty image env vars as unset

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Backport functional fixes from openshift#10527:
- OSImageStream source discovery and registries.conf mirror entries
- Hypershift CLI podman --authfile for disconnected CAPI installs
- ZTP install success checks and wait helper reliability
- Treat empty image env vars as unset

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 24, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 24, 2026

Copy link
Copy Markdown

@andrej1991: This pull request references MGMT-24875 which is a valid jira issue.

Details

In response to this:

Backport functional fixes from #10527:

  • OSImageStream source discovery and registries.conf mirror entries
  • Hypershift CLI podman --authfile for disconnected CAPI installs
  • ZTP install success checks and wait helper reliability
  • Treat empty image env vars as unset

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

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.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 8f266405-da7d-47cc-a012-e78c35fbc8cc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

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

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

@openshift-ci openshift-ci Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 24, 2026
@openshift-ci
openshift-ci Bot requested review from rccrdpccl and romfreiman July 24, 2026 14:27
@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andrej1991
Once this PR has been reviewed and has the lgtm label, please assign adriengentil for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.64%. Comparing base (af6eb11) to head (e864c80).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-ocm-2.15   #10702   +/-   ##
=================================================
  Coverage             43.63%   43.64%           
=================================================
  Files                   408      408           
  Lines                 70640    70640           
=================================================
+ Hits                  30827    30832    +5     
+ Misses                37031    37028    -3     
+ Partials               2782     2780    -2     
Files with missing lines Coverage Δ
internal/controller/controllers/images.go 100.00% <100.00%> (ø)

... and 1 file 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

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

@andrej1991: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/mce-images e864c80 link true /test mce-images
ci/prow/ci-index e864c80 link true /test ci-index
ci/prow/images e864c80 link true /test images
ci/prow/e2e-ai-operator-ztp-disconnected e864c80 link true /test e2e-ai-operator-ztp-disconnected
ci/prow/e2e-ai-operator-ztp e864c80 link true /test e2e-ai-operator-ztp
ci/prow/e2e-ai-operator-disconnected-capi e864c80 link true /test e2e-ai-operator-disconnected-capi
ci/prow/verify-generated-code e864c80 link true /test verify-generated-code

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.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants