Comment 3 for bug 1799152

Revision history for this message
sean mooney (sean-k-mooney) wrote :

i dont think i agree that we should retry as if the vm has been killed its unlikely that we woudl be able to recover.

as noted on the review, if you are doing a post copy migration and either vm is killed in the post copy phase then you will lose the contentce of the guest ram.

if we are doing a pre copy migration and the dest vm is killed before we pause the source vm we could revert the migiration, mark it as faild and allow the vm to continue to execute on the source node.
the alternitve woudl be to catach the invalid operation and restart the live migratrion unless libvirt internally will detect the dest vm exited and recreate it? i doubt it will do that so if we get an invalid operation when we get the job stats i dont think a retry will ever succeed.