Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-v1.43] Manual fix for clone without source pvc but target pvc already populated #2405

Conversation

ShellyKa13
Copy link
Contributor

What this PR does / why we need it:
This PR takes part of PR: #2306
and PR: #2375
to fix this issue with minimal changes.
In case the target pvc exists and populated we should allow the clone to complete successfully without doing anything

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 #
BZ #2109406
https://bugzilla.redhat.com/show_bug.cgi?id=2109406

Special notes for your reviewer:

Release note:

Fix for clone without source pvc but target pvc already populated

Signed-off-by: Shelly Kagan <skagan@redhat.com>
@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/L labels Aug 22, 2022
In case the target pvc exists and populated we should allow the clone
to complete successfully without doing anything.
Adjust the code and add a test for that case.

Signed-off-by: Shelly Kagan <skagan@redhat.com>
@ShellyKa13 ShellyKa13 force-pushed the clone-of-populated-pvc-release-v1.43 branch from 2f7f21e to 5686b4f Compare August 22, 2022 13:50
@brybacki
Copy link
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 25, 2022
@mhenriks
Copy link
Member

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mhenriks

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 25, 2022
@kubevirt-bot kubevirt-bot merged commit 4e7114d into kubevirt:release-v1.43 Aug 25, 2022
@mhenriks
Copy link
Member

/hold

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 25, 2022
mhenriks added a commit that referenced this pull request Aug 25, 2022
…arget pvc already populated (#2405)"

This reverts commit 4e7114d.
mhenriks added a commit to mhenriks/containerized-data-importer that referenced this pull request Aug 25, 2022
…arget pvc already populated (kubevirt#2405)"

This reverts commit 4e7114d.

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
mhenriks added a commit to mhenriks/containerized-data-importer that referenced this pull request Aug 25, 2022
…vc but target pvc already populated (kubevirt#2405)""

This reverts commit 4e20397.

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
kubevirt-bot pushed a commit that referenced this pull request Aug 29, 2022
…vc but target pvc already populated (#2405)"" (#2412)

This reverts commit 4e20397.

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants