kubevirt / vm-import-operator

Operator for importing VMs from RHV to KubeVirt
Apache License 2.0
16 stars 23 forks source link

Fix warm import finalization edge case #474

Closed mansam closed 3 years ago

mansam commented 3 years ago

If a warm VirtualMachineImport's finalization date was already past before taking the first snapshot, then proceed as though a cold migration was requested. This fixes an issue I noticed where if the finalization date was already past before the first stage was created, it would attempt to find DataVolumes that hadn't been created yet.

Signed-off-by: Sam Lucidi slucidi@redhat.com

kubevirt-bot commented 3 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fdupont-redhat, mansam To complete the pull request process, please assign You can assign the PR to them by writing /assign in a comment when ready.

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

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubevirt/vm-import-operator/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment