OpenVZ Forum - RDF feed
type: channel
items: Live Migration Fails
items: Re: Live Migration Fails

Live Migration Fails
type: item
description: Hello guys, does anyone knows why while trying to migrate a VE I get this error? root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 OPT:-r OPT:--online OPT:--keep-dst OPT:-v OPT:10.0.10.251 Starting online migration of VE 111 on 10.0.10.251 OpenVZ is running... Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files Check IPs on destination node: 190.2.55.204 10.0.10.204 Preparing remote node Copying config file 111.conf 100% 882 0.9KB/s 00:00 Saved parameters for VE 111 /usr/sbin/vzmigrate: line 382: [: missing `]' Creating remote VE root dir Creating remote VE private dir VZ disk quota disabled -- skipping quota migration Syncing private Live migrating VE Suspending VE Setting up checkpoint... suspend... get context... Checkpointing completed succesfully Dumping VE Setting up checkpoint... join context.. dump... Can not dump VE: Invalid argument iptables-save exited with 255 Checkpointing failed Error: Failed to dump VE Resuming... Running: /usr/lib/vzctl/scripts/vps-net_add put context The migration is from root@localhost to root@ovz98 This is HWN configurations: [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun 9 12:15:32 MSD 2007 i686 i686 i386 GNU/Linux [root@localhost ~]# rpm -qa | grep vz vzrpm44-4.4.1-22.5 vzrpm43-python-4.3.3-7_nonptl.6 vzyum-2.4.0-11 vzpkg-2.7.0-18 vztmpl-fedora-core-3-2.0-2 vztmpl-fedora-core-5-2.0-2 vzctl-3.0.22-1 ovzkernel-smp-2.6.9-023stab032.1 ovzkernel-smp-2.6.16-026test020.1 vzrpm44-python-4.4.1-22.5 vzrpm43-4.3.3-7_nonptl.6 vztmpl-centos-4-2.0-2 vztmpl-fedora-core-4-2.0-2 kernel-smp-2.6.18-ovz028stab035.1 vzctl-lib-3.0.22-1 vzquota-3.0.11-1 [root@ovz98 ~]# uname -a Linux ovz98.dnsba.com 2.6.18-53.el5.028stab051.1 #1 SMP Fri Nov 30 03:05:22 MSK 2007 i686 athlon i386 GNU/Linux [root@ovz98 ~]# rpm -qa | grep vz ovzkernel-2.6.18-8.1.4.el5.028stab035.1 vzrpm44-4.4.1-22.5 vzrpm43-python-4.3.3-7_nonptl.6 vzyum-2.4.0-11 vztmpl-centos-4-2.0-2 vztmpl-fedora-core-4-2.0-…
creator: parturi
date: 2007-12-22T14:53:35-00:00

Re: Live Migration Fails
type: item
description: Hi Pablo, yep, since the last git commit to vzmigrate (-> http://git.openvz.org/?p=vzctl;a=commitdiff;h=ebd5fb00a4eb0134d7ef4ebfdc0b6ae43d07d8fd ), the extended test command was removed, so change at line 382: if [ $? != 20 && $? != 21 && $? != 0 ]; then to: if [[ $? != 20 && $? != 21 && $? != 0 ]]; then Bye, Thorsten Pablo L. Arturi wrote: > Hello guys, does anyone knows why while trying to migrate a VE I get this > error? > > root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 > OPT:-r > OPT:--online > OPT:--keep-dst > OPT:-v > OPT:10.0.10.251 > Starting online migration of VE 111 on 10.0.10.251 > OpenVZ is running... > Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files > Check IPs on destination node: 190.2.55.204 10.0.10.204 > Preparing remote node > Copying config file > 111.conf 100% 882 0.9KB/s 00:00 > Saved parameters for VE 111 > /usr/sbin/vzmigrate: line 382: [: missing `]' > Creating remote VE root dir > Creating remote VE private dir > VZ disk quota disabled -- skipping quota migration > Syncing private > Live migrating VE > Suspending VE > Setting up checkpoint... > suspend... > get context... > Checkpointing completed succesfully > Dumping VE > Setting up checkpoint... > join context.. > dump... > Can not dump VE: Invalid argument > iptables-save exited with 255 > Checkpointing failed > Error: Failed to dump VE > Resuming... > Running: /usr/lib/vzctl/scripts/vps-net_add > put context > The migration is from root@localhost to root@ovz98 > > This is HWN configurations: > > [root@localhost ~]# uname -a > Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun 9 > 12:15:32 MSD 2007 i686 i686 i386 GNU/Linux > > > [root@localhost ~]# rpm -qa | grep vz > vzrpm44-4.4.1-22.5 > vzrpm43-python-4.3.3-7_nonptl.6 > vzyum-2.4.0-11 > vzpkg-2.7.0-18 > vztmpl-fedora-core-3-2.0-2 > vztmpl-fedora-core-5-2.0-2 > vzctl-3.0.22-1 > ovzkernel-smp-2.6.9-023stab032.1 > ovzkernel-smp-2.6.16-026test020.1 > vzrpm44-python-4.4.1-22.5 > vzrpm…
creator: Thorsten Schifferdeck
date: 2007-12-22T20:27:02-00:00

Re: Live Migration Fails
type: item
description: > Pablo L. Arturi wrote: > > Hello guys, does anyone knows why while trying to migrate a VE I get this > > error? > > > > root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 > > OPT:-r > > OPT:--online > > OPT:--keep-dst > > OPT:-v > > OPT:10.0.10.251 > > Starting online migration of VE 111 on 10.0.10.251 > > OpenVZ is running... > > Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files > > Check IPs on destination node: 190.2.55.204 10.0.10.204 > > Preparing remote node > > Copying config file > > 111.conf 100% 882 0.9KB/s 00:00 > > Saved parameters for VE 111 > > /usr/sbin/vzmigrate: line 382: [: missing `]' > > Creating remote VE root dir > > Creating remote VE private dir > > VZ disk quota disabled -- skipping quota migration > > Syncing private > > Live migrating VE > > Suspending VE > > Setting up checkpoint... > > suspend... > > get context... > > Checkpointing completed succesfully > > Dumping VE > > Setting up checkpoint... > > join context.. > > dump... > > Can not dump VE: Invalid argument > > iptables-save exited with 255 > > Checkpointing failed > > Error: Failed to dump VE > > Resuming... > > Running: /usr/lib/vzctl/scripts/vps-net_add > > put context > > The migration is from root@localhost to root@ovz98 > > > > This is HWN configurations: > > > > [root@localhost ~]# uname -a > > Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun 9 > > 12:15:32 MSD 2007 i686 i686 i386 GNU/Linux > > > > > > [root@localhost ~]# rpm -qa | grep vz > > vzrpm44-4.4.1-22.5 > > vzrpm43-python-4.3.3-7_nonptl.6 > > vzyum-2.4.0-11 > > vzpkg-2.7.0-18 > > vztmpl-fedora-core-3-2.0-2 > > vztmpl-fedora-core-5-2.0-2 > > vzctl-3.0.22-1 > > ovzkernel-smp-2.6.9-023stab032.1 > > ovzkernel-smp-2.6.16-026test020.1 > > vzrpm44-python-4.4.1-22.5 > > vzrpm43-4.3.3-7_nonptl.6 > > vztmpl-centos-4-2.0-2 > > vztmpl-fedora-core-4-2.0-2 > > kernel-smp-2.6.18-ovz028stab035.1 > > vzctl-lib-3.0.22-1 > > vzquota-3.0.11-1 > > > > [root@ovz98 ~]# uname -a > > Li…
creator: parturi
date: 2007-12-23T21:25:13-00:00

Re: Live Migration Fails
type: item
description: > > Pablo L. Arturi wrote: > > > Hello guys, does anyone knows why while trying to migrate a VE I get > this > > > error? > > > > > > root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 > 111 > > > OPT:-r > > > OPT:--online > > > OPT:--keep-dst > > > OPT:-v > > > OPT:10.0.10.251 > > > Starting online migration of VE 111 on 10.0.10.251 > > > OpenVZ is running... > > > Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files > > > Check IPs on destination node: 190.2.55.204 10.0.10.204 > > > Preparing remote node > > > Copying config file > > > 111.conf 100% 882 0.9KB/s > 00:00 > > > Saved parameters for VE 111 > > > /usr/sbin/vzmigrate: line 382: [: missing `]' > > > Creating remote VE root dir > > > Creating remote VE private dir > > > VZ disk quota disabled -- skipping quota migration > > > Syncing private > > > Live migrating VE > > > Suspending VE > > > Setting up checkpoint... > > > suspend... > > > get context... > > > Checkpointing completed succesfully > > > Dumping VE > > > Setting up checkpoint... > > > join context.. > > > dump... > > > Can not dump VE: Invalid argument > > > iptables-save exited with 255 > > > Checkpointing failed > > > Error: Failed to dump VE > > > Resuming... > > > Running: /usr/lib/vzctl/scripts/vps-net_add > > > put context > > > The migration is from root@localhost to root@ovz98 > > > > > > This is HWN configurations: > > > > > > [root@localhost ~]# uname -a > > > Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun 9 > > > 12:15:32 MSD 2007 i686 i686 i386 GNU/Linux > > > > > > > > > [root@localhost ~]# rpm -qa | grep vz > > > vzrpm44-4.4.1-22.5 > > > vzrpm43-python-4.3.3-7_nonptl.6 > > > vzyum-2.4.0-11 > > > vzpkg-2.7.0-18 > > > vztmpl-fedora-core-3-2.0-2 > > > vztmpl-fedora-core-5-2.0-2 > > > vzctl-3.0.22-1 > > > ovzkernel-smp-2.6.9-023stab032.1 > > > ovzkernel-smp-2.6.16-026test020.1 > > > vzrpm44-python-4.4.1-22.5 > > > vzrpm43-4.3.3-7_nonptl.6 > > > vztmpl-centos-4-2.0-2 > > > vztmpl-fedora-co…
creator: parturi
date: 2007-12-23T23:41:05-00:00

Re: Live Migration Fails
type: item
description: Can you post output of dmesg here plz? Looks like your installation somehow broken. I can hardly imagine why sed should normally catch SIGSEGV. Maybe it is compiled for some more modern CPU than you use on destinaton machine? Or vice versa - maybe you use ancient distribution in VE? So plz provide more info like what OS distribution is running inside VE, dmesg output, and what other error you experienced during online migration after fixed vzmigrate as Thorsten suggested? Kirill Pablo L. Arturi wrote: >>>Pablo L. Arturi wrote: >>> >>>>Hello guys, does anyone knows why while trying to migrate a VE I get >> >>this >> >>>>error? >>>> >>>>root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 >> >>111 >> >>>>OPT:-r >>>>OPT:--online >>>>OPT:--keep-dst >>>>OPT:-v >>>>OPT:10.0.10.251 >>>>Starting online migration of VE 111 on 10.0.10.251 >>>>OpenVZ is running... >>>> Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files >>>> Check IPs on destination node: 190.2.55.204 10.0.10.204 >>>>Preparing remote node >>>> Copying config file >>>>111.conf 100% 882 0.9KB/s >> >>00:00 >> >>>>Saved parameters for VE 111 >>>>/usr/sbin/vzmigrate: line 382: [: missing `]' >>>> Creating remote VE root dir >>>> Creating remote VE private dir >>>> VZ disk quota disabled -- skipping quota migration >>>>Syncing private >>>>Live migrating VE >>>> Suspending VE >>>>Setting up checkpoint... >>>> suspend... >>>> get context... >>>>Checkpointing completed succesfully >>>> Dumping VE >>>>Setting up checkpoint... >>>> join context.. >>>> dump... >>>>Can not dump VE: Invalid argument >>>>iptables-save exited with 255 >>>>Checkpointing failed >>>>Error: Failed to dump VE >>>>Resuming... >>>>Running: /usr/lib/vzctl/scripts/vps-net_add >>>> put context >>>>The migration is from root@localhost to root@ovz98 >>>> >>>>This is HWN configurations: >>>> >>>>[root@localhost ~]# uname -a >>>>Linux localhost.localdomain 2.6.18-ovz028stab035.1-smp #1 SMP Sat Jun > > 9 > >>>>12:15:32 MSD 2007 i686 i6…
creator: dev
date: 2007-12-24T09:05:10-00:00

Re: Live Migration Fails
type: item
description: Thanks Kirilll, this is the detailed information about the issue: ** After making changes suggested by Thorsten I got the following error: /////////////////// VZMIGRATE OUTPUT START /////////////////////// root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 OPT:-r OPT:--online OPT:--keep-dst OPT:-v OPT:10.0.10.251 Starting online migration of VE 111 on 10.0.10.251 OpenVZ is running... Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files Check IPs on destination node: 190.2.55.204 10.0.10.204 Preparing remote node Copying config file 111.conf 100% 882 0.9KB/s 00:00 Saved parameters for VE 111 /usr/sbin/vzmigrate: line 382: [: missing `]' Creating remote VE root dir Creating remote VE private dir VZ disk quota disabled -- skipping quota migration Syncing private Live migrating VE Suspending VE Setting up checkpoint... suspend... get context... Checkpointing completed succesfully Dumping VE Setting up checkpoint... join context.. dump... Can not dump VE: Invalid argument iptables-save exited with 255 Checkpointing failed Error: Failed to dump VE Resuming... Running: /usr/lib/vzctl/scripts/vps-net_add put context /////////////////// VZMIGRATE OUTPUT END /////////////////////// After this I tried changing the tmpve var inside vz.conf, just in case I didn't have the proper user's rights in /tmp folder. Nothing changed, the same errores came up. Then, I tried an offline migration, and it did the migration but the VE never started (because of networking not bein started). Actually there are 41 process running, but there is not networking configuration running. The same happens if I just rsync the VE private area and ve.cofig file. Exactly the same networking problem. ///////////////////////// VZCTL START 111 ///////////////////////////// [root@ovz98 ~]# vzctl restart 111 Restarting VE Stopping VE ... VE was stopped Running: /usr/lib/vzctl/scripts/vps-net_del Running: /usr/sbin/vzquota stat 111 -f VE is unmounted Running: /usr/lib/vzctl/scripts/vps-…
creator: parturi
date: 2007-12-24T16:16:05-00:00

Re: Live Migration Fails
type: item
description: I could make it work manually, at least to pass chrismast at home :) creating venet0:* devices and running ifup-route venet0. It just make it work. I know the probably better way to fix this would be installing the VE in a new template, but I cound't think of anything I could do wrong regarding only this VE. Thanks and Merry Christmas to everyone. Pablo > Thanks Kirilll, this is the detailed information about the issue: > > ** After making changes suggested by Thorsten I got the following error: > > /////////////////// VZMIGRATE OUTPUT START /////////////////////// > root@hostbw-253 ~]# vzmigrate -r no --online --keep-dst -v 10.0.10.251 111 > OPT:-r > OPT:--online > OPT:--keep-dst > OPT:-v > OPT:10.0.10.251 > Starting online migration of VE 111 on 10.0.10.251 > OpenVZ is running... > Loading /etc/vz/vz.conf and /etc/vz/conf/111.conf files > Check IPs on destination node: 190.2.55.204 10.0.10.204 > Preparing remote node > Copying config file > 111.conf 100% 882 0.9KB/s 00:00 > > Saved parameters for VE 111 > /usr/sbin/vzmigrate: line 382: [: missing `]' > Creating remote VE root dir > Creating remote VE private dir > VZ disk quota disabled -- skipping quota migration > Syncing private > Live migrating VE > Suspending VE > Setting up checkpoint... > suspend... > get context... > Checkpointing completed succesfully > Dumping VE > Setting up checkpoint... > join context.. > dump... > Can not dump VE: Invalid argument > iptables-save exited with 255 > Checkpointing failed > Error: Failed to dump VE > Resuming... > Running: /usr/lib/vzctl/scripts/vps-net_add > put context > /////////////////// VZMIGRATE OUTPUT END /////////////////////// > > After this I tried changing the tmpve var inside vz.conf, just in case I > didn't have the proper user's rights in /tmp folder. Nothing changed, the > same errores came up. > > Then, I tried an offline migration, and it did the migration but the VE > never started (because of networking not bein started). Actually there are > 41 proce…
creator: parturi
date: 2007-12-24T16:39:34-00:00