Skip to content

[oadp-1.6] OADP-7868: Skip CLI/VMDP download setup when Console CRD is absent#2173

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift:oadp-1.6from
openshift-cherrypick-robot:cherry-pick-2170-to-oadp-1.6
Apr 22, 2026
Merged

[oadp-1.6] OADP-7868: Skip CLI/VMDP download setup when Console CRD is absent#2173
openshift-merge-bot[bot] merged 2 commits intoopenshift:oadp-1.6from
openshift-cherrypick-robot:cherry-pick-2170-to-oadp-1.6

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #2170

/assign Joeavaikath

On OCP 4.22 clusters without Console capability (e.g. SNO), the
ConsoleCLIDownload CRD does not exist. The CLIDownloadSetup and
VMDPDownloadSetup runnables crash with a REST mapper error because
the code only handles errors.IsNotFound, not CRD-level absence.

Check CRD availability via RESTMapper before proceeding. When the
CRD is missing, skip all resource creation gracefully.

Signed-off-by: Joseph <jvaikath@redhat.com>
Signed-off-by: Joseph <jvaikath@redhat.com>
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Apr 22, 2026

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: OADP-7868

Details

In response to this:

This is an automated cherry-pick of #2170

/assign Joeavaikath

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
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 22, 2026

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: Pro Plus

Run ID: cb40bb55-21dd-4fef-b473-0332a83d9598

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 and usage tips.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 22, 2026

@openshift-cherrypick-robot: 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.

@mpryc
Copy link
Copy Markdown
Contributor

mpryc commented Apr 22, 2026

/lgtm

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 22, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 22, 2026
Copy link
Copy Markdown
Contributor

@weshayutin weshayutin left a comment

Choose a reason for hiding this comment

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

/LGTM

@openshift-merge-bot openshift-merge-bot Bot merged commit d0a3121 into openshift:oadp-1.6 Apr 22, 2026
18 checks passed
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 22, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mpryc, openshift-cherrypick-robot, weshayutin

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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants