harvester
harvester copied to clipboard
[ENHANCEMENT] When failed to restore vm from backup should display well message on progress bar and volume percentage
Is your enhancement related to a problem? Please describe.
When restore backup to create new vm failed due to remote NFS service not working,
The relative restore progress bar and volume percentage on the vm did not well displayed for the actual state
It would stuck in restoring
state
https://github.com/harvester/harvester/assets/29251855/2cb5eabb-56d4-4c5e-98e8-b52d0d165716
Describe the solution you'd like
Perhaps we can have the enhancement to provide error message like unable to reach the service or the snapshot creation failed as we can see on the backup
To Reproduce Steps to reproduce the behavior:
- Setup NFS backup target
- Create a backup from a running vm
- Stop the NFS service on the remote server
- Restore the backup to create a new VM
- Check the restore status, progress bar and volume percentage
Additional context
Found when validating issue #4102