OpenVZ Forum


Home » General » Support » Online migration "Error: undump failed: Invalid argument"
Online migration "Error: undump failed: Invalid argument" [message #15099] Thu, 19 July 2007 07:45 Go to previous message
whity is currently offline  whity
Messages: 5
Registered: July 2007
Location: Switzerland
Junior Member
I did some tests with OpenVZ this week. Now im testing the online migration and run into a problem i could not solve yet.

Both systems have the same OS:
- System: CentOS 5 (x86_64)
- Kernel: 2.6.18-8.1.4.el5.028stab035.1 (from yum repo)

- Source: 172.30.101.24 (00:1B:24:1D:EA:F4)
- Target: 172.30.101.96 (00:16:36:D2:F0:FE)

Output of vzmigration:
[root@ovz02 ~]# vzmigrate -r yes --online -v 172.30.101.96 1001
OPT:-r
OPT:--online
OPT:-v
OPT:172.30.101.96
Starting online migration of VE 1001 on 172.30.101.96
OpenVZ is running...
    Loading /etc/vz/vz.conf and /etc/vz/conf/1001.conf files
    Check IPs on destination node: 172.30.101.26
Preparing remote node
    Copying config file
1001.conf                                                                                                                          100% 1809     1.8KB/s   00:00
Saved parameters for VE 1001
    Creating remote VE root dir
    Creating remote VE private dir
Initializing remote quota
    Quota init
    Turning remote quota on
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
    Dumping VE
Setting up checkpoint...
        join context..
        dump...
Checkpointing completed succesfully
    Copying dumpfile
dump.1001                                                                                                                          100%  127MB  11.5MB/s   00:11
    Syncing private (2nd pass)
Syncing 2nd level quota
    Dumping 2nd level quota
    Copying 2nd level quota
quotadump.1001                                                                                                                     100%   21     0.0KB/s   00:00
    Load 2nd level quota
    Undumping VE
Restoring VE ...
Starting VE ...
vzquota : (warning) Quota is running for id 1001 already
VE is mounted
        undump...
Adding IP address(es): 172.30.101.26
Setting CPU units: 36185
Configure meminfo: 262144
Error: undump failed: Invalid argument
Restoring failed:
do_rst_mm 64331744
rst_mm: -22
make_baby: -22
rst_clone_children
Stopping VE ...
VE start failed
VE was stopped
VE is unmounted
Error:  Failed to undump VE
Resuming...
arpsend: 172.30.101.26 is detected on another computer : 00:16:36:d2:f0:fe
vps-net_add WARNING: arpsend -c 1 -w 1 -D  -e 172.30.101.26 eth0 FAILED
vzquota : (error) Quota is not running for id 1001


Kernel log:
Jul 19 09:20:21 ovz02 kernel: CPT DBG: ffff81010618f000,1001: cpt_dump_vm: 1750 shared private anon pages
Jul 19 09:20:21 ovz02 kernel: CPT DBG: ffff81010618f000,1001: cpt_dump_vm: 12857 anon pages are cloned
Jul 19 09:20:21 ovz02 kernel: CPT DBG: ffff81010618f000,1001: cpt_dump_vm: 6 silly pages canceled
Jul 19 09:20:23 ovz02 kernel: CPT DBG: cpt itimer 12667,13691(syslogd) 10002626000
Jul 19 09:20:23 ovz02 kernel: CPT DBG: ffff81010618f000,1001: 12800,13824(pcscd) 104919000
Jul 19 09:20:23 ovz02 kernel: CPT DBG: cpt itimer 13056,14080(mysqld) 27997593863000
Jul 19 09:20:23 ovz02 kernel: CPT DBG: cpt itimer 13151,14175(httpsd) 315268800184000
Jul 19 09:20:23 ovz02 kernel: CPT DBG: ffff81010618f000,1001: 13174,14198(crond) 41725421000
Jul 19 09:20:23 ovz02 kernel: CPT DBG: ffff81010618f000,1001: 13193,14217(atd) 230325730000


vzctl.log (Source):
2007-07-19T09:34:34+0200 vzctl : VE 1001 : Setting up checkpoint...
2007-07-19T09:34:34+0200 vzctl : VE 1001 :      suspend...
2007-07-19T09:34:34+0200 vzctl : VE 1001 :      get context...
2007-07-19T09:34:34+0200 vzctl : VE 1001 : Checkpointing completed succesfully
2007-07-19T09:34:34+0200 vzctl : VE 1001 : Setting up checkpoint...
2007-07-19T09:34:34+0200 vzctl : VE 1001 :      join context..
2007-07-19T09:34:34+0200 vzctl : VE 1001 :      dump...
2007-07-19T09:34:35+0200 vzctl : VE 1001 : Running: /usr/lib64/vzctl/scripts/vps-net_del
2007-07-19T09:34:35+0200 vzctl : VE 1001 : Checkpointing completed succesfully
2007-07-19T09:34:47+0200 vzctl : VE 1001 : Resuming...
2007-07-19T09:34:47+0200 vzctl : VE 1001 : Running: /usr/lib64/vzctl/scripts/vps-net_add
2007-07-19T09:34:48+0200 vzctl : VE 1001 :      put context


vzctl.log (Target):
2007-07-19T09:33:59+0200 vzctl : VE 1001 : Saved parameters for VE 1001
2007-07-19T09:34:00+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota init 1001 -b 10485760 -B 12582912 -i 200000 -I 220000 -p /vz/private/1001 -e 0 -n 0 -s 0
2007-07-19T09:34:00+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota show 1001
2007-07-19T09:34:00+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota on 1001 -r 0 -b 10485760 -B 12582912 -i 200000 -I 220000 -e 0 -n 0 -s 0
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Restoring VE ...
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Starting VE ...
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota show 1001
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota on 1001 -r 0 -b 10485860 -B 12583012 -i 200100 -I 220100 -e 0 -n 0 -s 0
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Running: vzquota setlimit 1001 -p /vz/private/1001 -b 10485860 -B 12583012 -i 200100 -I 220100 -e 0 -n 0
2007-07-19T09:37:12+0200 vzctl : VE 1001 : Mounting root: /vz/root/1001 /vz/private/1001
2007-07-19T09:37:12+0200 vzctl : VE 1001 : VE is mounted
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Adding IP address(es): 172.30.101.26
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: /usr/lib64/vzctl/scripts/vps-net_add
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Setting CPU units: 36185
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Configure meminfo: 262144
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota stat 1001 -f
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: vzquota setlimit 1001 -b 10485760 -B 12582912 -i 200000 -I 220000 -e 0 -n 0
2007-07-19T09:37:13+0200 vzctl : VE 1001 : VE start failed
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Stopping VE ...
2007-07-19T09:37:13+0200 vzctl : VE 1001 : VE was stopped
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota stat 1001 -f
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: vzquota setlimit 1001 -b 10485760 -B 12582912 -i 200000 -I 220000 -e 0 -n 0
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota stat 1001 -f
2007-07-19T09:37:13+0200 vzctl : VE 1001 : Running: /usr/sbin/vzquota off 1001
2007-07-19T09:37:14+0200 vzctl : VE 1001 : VE is unmounted


Any ideas??

Thank you very much
Urs
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* NFS again: ls: reading directory .: Input/output error
Next Topic: *DISCUSSED* Does OpenVZ have support for GrSecurity?
Goto Forum:
  


Current Time: Fri Jul 12 06:19:33 GMT 2024

Total time taken to generate the page: 0.02314 seconds