Migrate VM from Restored backup

Ref: https://github.com/harvester/harvester/issues/1086

Verify Items

  • VM can be migrate to any node with any times

Case: Migrate a restored VM

  1. Install Harvester with at least 2 nodes
  2. setup backup-target with NFS
  3. Create image for VM creation
  4. Create VM a
  5. Add file with some data in VM a
  6. Backup VM a as a-bak
  7. Restore backup a-bak into VM b
  8. Start VM b then check added file should exist with same content
  9. Migrate VM b to another node, then check added file should exist with same content
  10. Migrate VM b again, then check added file should exist with same content