If xen (4.4.1) VM has dynamically attached disk and do live migration, then attached disk is lost in VM.
If we detach disk and do live migration, then VM fails (go to UNKNOWN state).
The cause of problem is that attach/detach doesn't update VM config file deployment.X - live migration use it when restoring.
If we poweroff and resume VM before live migration, then it works as expected, because VM config file deployment.X is updated/regenerated.
The same problem could be for NICs and cold migration and suspend/resume.
Imported from: http://dev.opennebula.org/issues/3750
Contains patch
If xen (4.4.1) VM has dynamically attached disk and do live migration, then attached disk is lost in VM. If we detach disk and do live migration, then VM fails (go to UNKNOWN state).
The cause of problem is that attach/detach doesn't update VM config file deployment.X - live migration use it when restoring.
If we poweroff and resume VM before live migration, then it works as expected, because VM config file deployment.X is updated/regenerated.
The same problem could be for NICs and cold migration and suspend/resume.