Online migration fails

Norman Uittenbogaart

Renowned Member
Feb 28, 2012
155
6
83
Rotterdam, Netherlands, Netherlands
I am trying to do a online migration but getting a strange error on the chkpoint part.
Does anyone know why it does this ?

Code:
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 starting migration of CT 100 to node 'nod19' (193.47.XX.XX)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 container is running - using online migration[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 container data is on shared storage 'OpenVZ'[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 start live migration - suspending container[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 # vzctl --skiplock chkpnt 100 --suspend[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 Setting up checkpoint...[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:54:58 	suspend...[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 Can not suspend container: Interrupted system call[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 Error: interrupted or timed out.[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 ERROR: Failed to suspend container: Checkpointing failed[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 aborting phase 1 - cleanup resources[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 start final cleanup[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Apr 02 21:55:08 ERROR: migration aborted (duration 00:00:10): Failed to suspend container: Checkpointing failed[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: migration aborted[/FONT][/COLOR]
 
Not sure if this is a bug aswell, but when trying todo a offline migration with HA enabled, a error occurs aswel.

Code:
[COLOR=#000000][FONT=tahoma]Executing HA migrate for CT 100 to node nod19[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]Trying to migrate pvevm:100 to nod19...Temporary failure; try again[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: command 'clusvcadm -M pvevm:100 -m nod19' failed: exit code 250[/FONT][/COLOR]
 
Why is the VM offline? Should be online because it is HA enabled? Or did you stop (disabled) the service?