Skip to content

issue #14: allow users to skip quiesce via Backup or VM - #51

Merged
openshift-merge-bot[bot] merged 5 commits into
migtools:oadp-devfrom
sseago:skipquiesce
Sep 10, 2026
Merged

openshift-merge-bot[bot] merged 5 commits into
migtools:oadp-devfrom
sseago:skipquiesce

Conversation

@sseago

@sseago sseago commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

This is the plugin companion PR to migtools/kubevirt-datamover-controller#205

Setting the oadp.openshift.io/skip-quiesce annotation to "true" on the Velero Backup CR results setting oadp.openshift.io/skip-quiesce=true on all DataUploads for the backup. Setting it on the VirtualMachine CR sets it for just that one DataUpload. In addition, when skipping quiesce on all DataUploads in a backup, setting oadp.openshift.io/skip-quiesce=false on a single VM overrides the default skip quiesce and will quiesce just that one VM.

Setting as draft now until the controller PR merges and this PR gets go.mod updates.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 876e7272-ea2e-4ce4-bd6d-41a64726146a


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sseago
sseago marked this pull request as draft August 26, 2026 15:56
@sseago

sseago commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

This needs update to handle auto-detect behavior once migtools/kubevirt-datamover-controller#218 merges.

@sseago

sseago commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

Updated to handle the auto-detect logic from migtools/kubevirt-datamover-controller#218

Still draft, and not yet tested since that PR still needs some changes first.

sseago and others added 4 commits September 9, 2026 15:24
Co-authored-by: aider (vertex_ai/gemini-3.1-pro-preview) <aider@aider.chat>
… auto

Co-authored-by: aider (vertex_ai/gemini-3.1-pro-preview) <aider@aider.chat>
Signed-off-by: Scott Seago <sseago@redhat.com>
@sseago
sseago marked this pull request as ready for review September 9, 2026 19:26
@sseago

sseago commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

Tested with the latest controller and operator code and ready for review.

Signed-off-by: Scott Seago <sseago@redhat.com>
@kaovilai

kaovilai commented Sep 9, 2026

Copy link
Copy Markdown
Member

/lgtm
/approve

@openshift-ci

openshift-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaovilai, shubham-pampattiwar, sseago

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:
  • OWNERS [kaovilai,shubham-pampattiwar,sseago]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kaovilai

kaovilai commented Sep 9, 2026

Copy link
Copy Markdown
Member

/cherry-pick oadp-1.6

@openshift-cherrypick-robot

Copy link
Copy Markdown

@kaovilai: once the present PR merges, I will cherry-pick it on top of oadp-1.6 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick oadp-1.6

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.

@weshayutin

Copy link
Copy Markdown

/test virt-kdm-e2e-test-aws

@openshift-merge-bot
openshift-merge-bot Bot merged commit ad9867c into migtools:oadp-dev Sep 10, 2026
4 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown

@kaovilai: #51 failed to apply on top of branch "oadp-1.6":

Applying: feat: add SkipQuiesce annotation logic to DataUpload creation
Applying: update go.mod/go.sum to controller PR branch
Using index info to reconstruct a base tree...
M	go.mod
M	go.sum
Falling back to patching base and 3-way merge...
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0002 update go.mod/go.sum to controller PR branch

Details

In response to this:

/cherry-pick oadp-1.6

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.

openshift-merge-bot Bot pushed a commit to openshift/oadp-operator that referenced this pull request Sep 10, 2026
RequireVEP25Support() ran before EnableCBTFeatureGate() in the virt
BeforeAll, but the backup.kubevirt.io CRDs (VirtualMachineBackup,
VirtualMachineBackupTracker) are feature-gated and only materialize
once EnableCBTFeatureGate enables incrementalBackup on HCO -- so the
pre-flight CRD check always failed, well before any backup/restore
code ran. Surfaced via a Prow CI failure-analysis on an unrelated PR
(migtools/kubevirt-datamover-plugin#51), which correctly identified
this as a test-harness sequencing bug, not a product regression.

RequireVEP25Support() now only checks the HCO version, which can
genuinely run early; CRD existence is verified once, after the
feature gate is enabled, by EnableCBTFeatureGate's own existing check.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
openshift-merge-bot Bot pushed a commit to openshift/oadp-operator that referenced this pull request Sep 10, 2026
RequireVEP25Support() ran before EnableCBTFeatureGate() in the virt
BeforeAll, but the backup.kubevirt.io CRDs (VirtualMachineBackup,
VirtualMachineBackupTracker) are feature-gated and only materialize
once EnableCBTFeatureGate enables incrementalBackup on HCO -- so the
pre-flight CRD check always failed, well before any backup/restore
code ran. Surfaced via a Prow CI failure-analysis on an unrelated PR
(migtools/kubevirt-datamover-plugin#51), which correctly identified
this as a test-harness sequencing bug, not a product regression.

RequireVEP25Support() now only checks the HCO version, which can
genuinely run early; CRD existence is verified once, after the
feature gate is enabled, by EnableCBTFeatureGate's own existing check.

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants