harvester icon indicating copy to clipboard operation
harvester copied to clipboard

[ENHANCEMENT] When failed to restore vm from backup should display well message on progress bar and volume percentage

Open TachunLin opened this issue 1 year ago • 2 comments

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 image

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

image

To Reproduce Steps to reproduce the behavior:

  1. Setup NFS backup target
  2. Create a backup from a running vm
  3. Stop the NFS service on the remote server
  4. Restore the backup to create a new VM
  5. Check the restore status, progress bar and volume percentage

Additional context

Found when validating issue #4102

TachunLin avatar Jan 26 '24 10:01 TachunLin