Negative Restore a backup while VM is restoring
- Related issues: #2559 [BUG] Backup unable to be restored and the VM can’t be deleted
Category:
Verification Steps
- Install Harvester with any nodes
- Login to Dashboard then navigate to Advanced/Settings, setup backup-target with NFS or S3
- Create Image for VM creation
- Create VM vm1
- Take backup from vm1 as vm1b
- Take backup from vm1 as vm1b2
- Click Edit YAML of vm1b, update field status.source.spec.spec.domain.cpu.cores, increase 1
- Stop VM vm1
- Restore backup vm1b2 with Replace Existing
- Restore backup vm1b with Replace Existing when the VM vm1 still in state restoring
Expected Results
- You should get an error when trying to restore.