CherryPicked: [cnv-4.19] [4.21] Remove DataSource storage class fallback from DV template helper#5358
Conversation
…er (#5228) ##### What this PR does / why we need it: When calling `data_volume_template_with_source_ref_dict` we should either use it with explicit `storage_class` field, or omit the field and use the default storage class. Relying on the storage class of the DataSources can cause miss interpretations, while also causing issues since it is not possible to match the storage class to the DataSource, if a snap shot storage class is used. ##### Which issue(s) this PR fixes: Failing tests when snapshot storage classes are set. ##### Special notes for reviewer: Cherry-pick from main branch, original PR: #4985 ##### jira-ticket: <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> https://redhat.atlassian.net/browse/CNV-88988 Signed-off-by: Roni Kishner <rkishner@redhat.com>
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/verified |
|
/lgtm |
|
/approve |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:cnv-4.19 published |
|
/cherry-pick cnv-4.18 |
|
Cherry-pick conflicts were resolved by AI Cherry-picked PR CherryPicked: [cnv-4.19] [4.21] Remove DataSource storage class fallback from DV template helper into cnv-4.18: #5384 @cnv-tests-github-webhook-dollierp[bot] Manual verification is required — please review the changes and test before merging. |
…ource storage class fallback from DV template helper (#5384) Cherry-pick from `cnv-4.19` branch, original PR: #5358, PR owner: cnv-tests-github-webhook-dollierp[bot] Signed-off-by: cnv-tests-github-webhook-dollierp[bot] <rkishner@redhat.com> Co-authored-by: cnv-tests-github-webhook-dollierp[bot] <rkishner@redhat.com>
Cherry-pick from
cnv-4.21branch, original PR: #5228, PR owner: RoniKishner