online migrate of CT fails

mir

Famous Member
Apr 14, 2012
3,585
142
133
Copenhagen, Denmark
Hi,

What does the following error message mean?
Aug 21 03:09:37 starting migration of CT 103 to node 'esx1' (192.168.2.8)
Aug 21 03:09:37 container is running - using online migration
Aug 21 03:09:37 container data is on shared storage 'qnap_nfs'
Aug 21 03:09:37 start live migration - suspending container
Aug 21 03:09:40 # vzctl --skiplock chkpnt 103 --suspend
Aug 21 03:09:37 Setting up checkpoint...
Aug 21 03:09:37 suspend...
Aug 21 03:09:40 Can not suspend container: Resource temporarily unavailable
Aug 21 03:09:40 Error: foreign process 436/195724(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Aug 21 03:09:40 Error: suspend is impossible now.
Aug 21 03:09:40 Error: foreign process 436/195724(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Aug 21 03:09:40 Error: suspend is impossible now.
Aug 21 03:09:40 Error: foreign process 436/195724(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Aug 21 03:09:40 Error: suspend is impossible now.
Aug 21 03:09:40 ERROR: Failed to suspend container: Checkpointing failed
Aug 21 03:09:40 aborting phase 1 - cleanup resources
Aug 21 03:09:40 start final cleanup
Aug 21 03:09:40 ERROR: migration aborted (duration 00:00:03): Failed to suspend container: Checkpointing failed
TASK ERROR: migration aborted
 
Maybe you have and open console and run something inside the container - or you have done 'vzctl exec' or 'vzctl enter'?
 
Maybe you have and open console and run something inside the container - or you have done 'vzctl exec' or 'vzctl enter'?
You are partly right. I did have an open console but nothing was running inside the console, nor did I have done 'vzctl exec' or 'vzctl enter'. If I close the console it migrate as expected. A bid strange since I don't recall an open console preventing migration of a VM?