issue #14: allow users to skip quiesce via Backup or VM - #51
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 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. Comment |
|
This needs update to handle auto-detect behavior once migtools/kubevirt-datamover-controller#218 merges. |
|
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. |
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>
|
Tested with the latest controller and operator code and ready for review. |
Signed-off-by: Scott Seago <sseago@redhat.com>
|
/lgtm |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick oadp-1.6 |
|
@kaovilai: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
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. |
|
/test virt-kdm-e2e-test-aws |
|
@kaovilai: #51 failed to apply on top of branch "oadp-1.6": DetailsIn response to this:
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. |
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>
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>
This is the plugin companion PR to migtools/kubevirt-datamover-controller#205
Setting the
oadp.openshift.io/skip-quiesceannotation to "true" on the Velero Backup CR results settingoadp.openshift.io/skip-quiesce=trueon 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, settingoadp.openshift.io/skip-quiesce=falseon 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.