[release-4.22] OCPBUGS-140048: Propagate management-cluster provisioning failures from CreateVolume #128
Pipeline controller notification
This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.
Use /test ? to list jobs and /pipeline help for commands.
<!-- coderabbit-ai-generated:v1 -->
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->
[!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.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.
> <details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>
<dl>
<dd>
<br>
> - Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Central YAML; Path: .coderabbit.yaml- Review profile: CHILL
- Plan: Advanced
- Run ID: c4d872ef-18e1-4184-8144-9b97c5beebe5> </dd>
</dl>
</details>
> You can disable this status message by setting thereviews.review_statustofalsein the CodeRabbit configuration file.
> Use the checkbox below for a quick retry:
- [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> Trigger review
<!-- end of auto-generated comment: skip review by coderabbit.ai -->
@dsanatar: This pull request references Jira Issue OCPBUGS-140048, which is invalid:
- release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
- expected Jira Issue OCPBUGS-140048 to depend on a bug targeting a version in 5.0.0, 5.0.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found
Comment <code>/jira refresh</code> 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:
><!-- Thanks for sending a pull request! Here are some tips for you:
>1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
>-->
>What this PR does / why we need it:
>Cherry-pick of kubevirt/csi-driver#383 / openshift/kubevirt-csi-driver#126 into release-4.22.
>When CreateVolume creates a DataVolume on the management cluster it now polls the DV status for a configurable period (default 30s) to detect definitive provisioning failures before returning success.
>Adapted for pre-refactor driver construction on release-4.22 (no config.go / WithControllerService builder).
>Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):>Fixes #
>Special notes for your reviewer:
>Release note:
><!-- Write your release note:
>1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
>2. If no release note is required, just write "NONE".
>-->
>``
release-note
>Detect failures in infra provisioning and propagate them to tenant cluster provisioning
>``>
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.
</details>
/cc @awels
backport did not merge cleanly due to a refactor of the driver initialization that was introduced post 4.22. I had AI help me resolve the conflicts, so would appreciate some human eyes on this
/approve
/test e2e-kubevirt-aws-csi
/test e2e-kubevirt-aws-csi
Hi @orenc1 there seems to be an issue with the aws credentials in this failing ci job. would you be able to take a look?
/jira refresh
@openshift-merge-robot: This pull request references Jira Issue OCPBUGS-140048, which is valid. The bug has been moved to the POST state.
<details><summary>7 validation(s) were run on this bug</summary>
bug is open, matching expected state (open)
bug target version (4.22.0) matches configured target version for branch (4.22.0)
bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
release note text is set and does not match the template
dependent bug Jira Issue OCPBUGS-140045 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
dependent Jira Issue OCPBUGS-140045 targets the "5.0" version, which is one of the valid target versions: 5.0.0, 5.0.z
<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.
</details>
/test e2e-kubevirt-aws-csi
/label backport-risk-assessed
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/openshift/kubevirt-csi-driver/pull/128#issuecomment-6991019958" title="LGTM">awels</a>
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
</details>
<!-- META={"approvers":[]} -->
@dsanatar: 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.
</details>
<!-- test report -->
Hi @orenc1 there seems to be an issue with the aws credentials in this failing ci job. would you be able to take a look?
This has been fixed yesterday.
You need to comment "/verified by @dsanatar" to get it merged
/verified by "e2e-kubevirt-aws-csi"
@awels: This PR has been marked as verified by "e2e-kubevirt-aws-csi".
<details>
In response to this:
>/verified by "e2e-kubevirt-aws-csi"
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.
</details>
@dsanatar: Jira Issue Verification Checks: Jira Issue OCPBUGS-140048
:heavy_check_mark: This pull request was pre-merge verified.
:heavy_check_mark: All associated pull requests have merged.
:heavy_check_mark: All associated, merged pull requests were pre-merge verified.
Jira Issue OCPBUGS-140048 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. :clock4:
<details>
In response to this:
><!-- Thanks for sending a pull request! Here are some tips for you:
>1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
>-->
>What this PR does / why we need it:
>Cherry-pick of kubevirt/csi-driver#383 / openshift/kubevirt-csi-driver#126 into release-4.22.
>When CreateVolume creates a DataVolume on the management cluster it now polls the DV status for a configurable period (default 30s) to detect definitive provisioning failures before returning success.
>Adapted for pre-refactor driver construction on release-4.22 (no config.go / WithControllerService builder).
>Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):>Fixes #
>Special notes for your reviewer:
>Release note:
><!-- Write your release note:
>1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
>2. If no release note is required, just write "NONE".
>-->
>``
release-note
>Detect failures in infra provisioning and propagate them to tenant cluster provisioning
>``>
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.
</details>
Fix included in release 4.22.0-0.nightly-2026-11-23-123312
awels
dsanatar
<!-- Thanks for sending a pull request! Here are some tips for you:
1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
What this PR does / why we need it:
Cherry-pick of kubevirt/csi-driver#383 / openshift/kubevirt-csi-driver#126 into release-4.22.
When CreateVolume creates a DataVolume on the management cluster it now polls the DV status for a configurable period (default 30s) to detect definitive provisioning failures before returning success.
Adapted for pre-refactor driver construction on release-4.22 (no config.go / WithControllerService builder).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note:
<!-- Write your release note:
1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
2. If no release note is required, just write "NONE".
-->
``
release-note
``Detect failures in infra provisioning and propagate them to tenant cluster provisioning