- Related issues: #2662 [BUG] VM label names should be consistent before and after the restore task is done
Category:
- Network
Verification Steps
- Create a VM named
ubuntu
- Check the label name in virtual machine yaml content, label marked with
harvesterhci.io/vmName
- Setup the S3 backup target
- Take a S3 backup with name
- After the backup task is done, delete the current VM
- Restore VM from the backup with the same name
ubuntu
(Create New) - Check the yaml content after VM fully operated
Expected Results
The vm lable name is consistent to display harvesterhci.io/vmName
after restore from the backup.
-
When created a new VM, the vm label name marked with
harvesterhci.io/vmName
-
After new VM restored from backup with the same name, the vm label name still marked with
harvesterhci.io/vmName