Skip to content

fix(hypershift): remove unused VolumeSnapshotLocation in OADP setup for Agent/Kubevirt - #83883

Open
mgencur wants to merge 1 commit into
openshift:mainfrom
mgencur:remove_volume_snapshot_location
Open

fix(hypershift): remove unused VolumeSnapshotLocation in OADP setup for Agent/Kubevirt#83883
mgencur wants to merge 1 commit into
openshift:mainfrom
mgencur:remove_volume_snapshot_location

Conversation

@mgencur

@mgencur mgencur commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Removes VolumeSnapshotLocation resource creation from OADP v2 setup step for hypershift, simplifying the configuration.

Related to discussion in this thread

Summary by CodeRabbit

The Hypershift Agent/Kubevirt OADP v2 CI setup no longer creates the unused VolumeSnapshotLocation resource. The setup now creates the BackupStorageLocation and waits for the required resources to become ready.

Removes VolumeSnapshotLocation resource creation from OADP v2 setup step
for hypershift, simplifying the configuration.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 44030ee1-f932-4186-a8cc-406708aeb341

📥 Commits

Reviewing files that changed from the base of the PR and between 2bd2e2a and 1507a88.

📒 Files selected for processing (1)
  • ci-operator/step-registry/hypershift/mce/agent/oadp/v2/setup/hypershift-mce-agent-oadp-v2-setup-commands.sh
💤 Files with no reviewable changes (1)
  • ci-operator/step-registry/hypershift/mce/agent/oadp/v2/setup/hypershift-mce-agent-oadp-v2-setup-commands.sh

Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review.


Walkthrough

The OADP v2 setup script no longer creates or applies a VolumeSnapshotLocation. The flow proceeds from BackupStorageLocation creation to readiness checks.

Changes

OADP v2 setup

Layer / File(s) Summary
Remove VolumeSnapshotLocation setup
ci-operator/step-registry/hypershift/mce/agent/oadp/v2/setup/hypershift-mce-agent-oadp-v2-setup-commands.sh
Removes the VolumeSnapshotLocation resource, including AWS/Minio credentials and configuration.

Estimated code review effort: 2 (Simple) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 1507a

This is a localized configuration simplification that removes an unused resource from the OADP setup; no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: removing the unused VolumeSnapshotLocation from Hypershift OADP setup for Agent and Kubevirt.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
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 commit changes only a shell setup script and deletes VolumeSnapshotLocation YAML; it introduces no Ginkgo test titles or dynamic test-name values.
Test Structure And Quality ✅ Passed The commit changes only a shell setup script and removes a VolumeSnapshotLocation manifest; it adds no Ginkgo It block or test code, so this check is not applicable.
Microshift Test Compatibility ✅ Passed The diff changes only one shell script and deletes a VolumeSnapshotLocation manifest; it adds no Ginkgo e2e tests or MicroShift-incompatible test usage.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The PR only deletes a VolumeSnapshotLocation block from a shell setup script; it adds no Ginkgo tests or multi-node test assumptions.
Topology-Aware Scheduling Compatibility ✅ Passed The PR only deletes a VolumeSnapshotLocation manifest from a setup script; it adds no deployment, controller, node-selection, affinity, spread, replica, taint, or PDB scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The patch changes only one shell setup script and deletes VolumeSnapshotLocation YAML plus its echo; it adds no OTE binary or process-level stdout code.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR only deletes a VolumeSnapshotLocation block from a shell setup script; it adds no Ginkgo e2e tests, IPv4 assumptions, or external connectivity requirements.
No-Weak-Crypto ✅ Passed The only change removes a VolumeSnapshotLocation manifest; the patch adds no MD5, SHA1, DES, RC4, Blowfish, ECB, custom crypto, or secret comparisons.
Container-Privileges ✅ Passed The commit only deletes the VolumeSnapshotLocation YAML block; no privileged, host namespace, SYS_ADMIN, root, or allowPrivilegeEscalation setting is added.
No-Sensitive-Data-In-Logs ✅ Passed The PR only deletes the VolumeSnapshotLocation manifest and its creation message; it adds no logging or sensitive-data exposure.
✨ 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 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mgencur

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

@openshift-ci
openshift-ci Bot requested review from avishayt and sjenning August 24, 2026 09:45
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 24, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@mgencur: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-hypershift-main-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.2-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.1-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.0-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.23-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.22-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.21-e2e-agent-connected-ovn-ipv4-metal-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-main-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.2-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.1-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-5.0-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.23-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.22-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
pull-ci-openshift-hypershift-release-4.21-e2e-kubevirt-metal-ovn-backuprestore openshift/hypershift presubmit Registry content changed
periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.20-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.19-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.18-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.21-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore N/A periodic Registry content changed
periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore N/A periodic Registry content changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@mgencur

mgencur commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

@mgencur: 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/rehearse/periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore 1507a88 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore
ci/rehearse/periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore 1507a88 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore

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.

@mgencur

mgencur commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Setup failing due to https://redhat.atlassian.net/browse/OCPBUGS-112342 , need to re-run after merging the related PR with the fix.

@mgencur

mgencur commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-backuprestore

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@mgencur

mgencur commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-agent-connected-ovn-ipv4-metal-backuprestore

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@mgencur: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant