Failed Online Migrations on CTs destroyed MySQL

hotwired007

Member
Sep 19, 2011
533
7
16
UK
I tried to migrate a couple of CTs from one Proxmox host:

Code:
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a) 
running kernel: 2.6.32-12-pve 
proxmox-ve-2.6.32: 2.1-68 
pve-kernel-2.6.32-11-pve: 2.6.32-66 
pve-kernel-2.6.32-12-pve: 2.6.32-68 
lvm2: 2.02.95-1pve2 
clvm: 2.02.95-1pve2 
corosync-pve: 1.4.3-1 
openais-pve: 1.1.4-2 
libqb: 0.10.1-2 
redhat-cluster-pve: 3.1.8-3 
resource-agents-pve: 3.9.2-3 
fence-agents-pve: 3.1.7-2 
pve-cluster: 1.0-26 
qemu-server: 2.0-39 
pve-firmware: 1.0-16 
libpve-common-perl: 1.0-27 
libpve-access-control: 1.0-21 
libpve-storage-perl: 2.0-18 
vncterm: 1.0-2 
vzctl: 3.0.30-2pve5 
vzprocps: 2.0.11-2 
vzquota: 3.0.12-3 
pve-qemu-kvm: 1.0-9 
ksm-control-daemon: 1.1-1

to a new updated server and the two containers failed on the migration and when they was turned on the two individual MySQL DBs were trashed.

Not sure whether to class this as advice not to do it or a bug!
 
Last edited:
migrate offline - I assume you have different kernel? after you got both updated, test again and see if its better. also post the migration log.
 
all my servers are updated and restarted now but live migrations are not stable now. any suggestions?

Code:
Aug 06 14:48:17 starting migration of CT 117 to node 'voyager' (192.168.100.91)
Aug 06 14:48:17 container is running - using online migration
Aug 06 14:48:17 container data is on shared storage 'STARFLEET-NFS'
Aug 06 14:48:17 start live migration - suspending container
Aug 06 14:48:17 dump container state
Aug 06 14:48:20 dump 2nd level quota
Aug 06 14:48:21 initialize container on remote node 'voyager'
Aug 06 14:48:21 initializing remote quota
Aug 06 14:48:35 turn on remote quota
Aug 06 14:48:35 load 2nd level quota
Aug 06 14:48:35 starting container on remote node 'voyager'
Aug 06 14:48:35 restore container state
Aug  06 14:48:35 # /usr/bin/ssh -c blowfish -o 'BatchMode=yes'  root@192.168.100.91 vzctl restore 117 --undump --dumpfile  /mnt/pve/STARFLEET-NFS/dump/dump.117 --skip_arpdetect
Aug 06 14:48:35 Restoring container ...
Aug 06 14:48:35 Starting container ...
Aug 06 14:48:35 Container is mounted
Aug 06 14:48:35 	undump...
Aug 06 14:48:35 Adding IP address(es): 192.168.100.43
Aug 06 14:48:35 Setting CPU units: 1000
Aug 06 14:48:35 Setting CPUs: 1
Aug 06 14:48:35 vzquota : (warning) Quota is running for id 117 already
Aug 06 14:48:35 Error: undump failed: No such file or directory
Aug 06 14:48:35 Restoring failed:
Aug 06 14:48:35 Error: rst_open_file: failed to lookup path '/tmp/.nfs000000000088808100000026': -2
Aug 06 14:48:35 Error: can't open file /tmp/.nfs000000000088808100000026
Aug 06 14:48:35 Error: rst_file: -2 93080
Aug 06 14:48:35 Error: rst_files: -2
Aug 06 14:48:35 Error: make_baby: -2
Aug 06 14:48:35 Error: rst_clone_children
Aug 06 14:48:35 Error: make_baby: -2
Aug 06 14:48:35 Error: rst_clone_children
Aug 06 14:48:35 Container is unmounted
Aug 06 14:48:35 ERROR: online migrate failure - Failed to restore container: Container start failed
Aug 06 14:48:35 start final cleanup
Aug 06 14:48:36 ERROR: migration finished with problems (duration 00:00:19)
TASK ERROR: migration problems