undump failed: Invalid argument [message #30701] |
Wed, 04 June 2008 09:32  |
ebasley
Messages: 14 Registered: February 2008
|
Junior Member |
|
|
Hello,
I compiled a kernel to add fuse module (see howto for debian, using .config from openvz) on HN bleuet.
Everythings sounds good, I can start, stop , suspend, dump VEs, many VEs are running for many days, BUT I can't vzmigrate online from other HN.
I receive 'Error: undump failed: Invalid argument' and no message on target HN !
How can I debug, I can guess this is due to new kernel ?
I saw older topics, checked vz.conf : all my HN config are similars.
Thanks
Eric
using debian, vzctl vers 3.0.22-1dso1
bleuet:/etc/vz/conf# cat /proc/version
Linux version 2.6.18-1-openvz (Version:) (root@bleuet) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Tue Jun 3 17:07:57 CEST 2008
iris:/var/lib/vzquota# vzmigrate -v --online bleuet 115
OPT:-v
OPT:--online
OPT:bleuet
Starting online migration of VE 115 on bleuet
==> ssh -o BatchMode=yes root@bleuet /bin/true
==> ssh -o BatchMode=yes root@bleuet /etc/init.d/vz status
OpenVZ is running...
==> ssh -o BatchMode=yes root@bleuet test -f /proc/rst
Loading /etc/vz/vz.conf and /etc/vz/conf/115.conf files
Check IPs on destination node: 10.1.60.115
Preparing remote node
Copying config file
==> scp /etc/vz/conf/115.conf root@bleuet:/etc/vz/conf/115.conf
115.conf 100% 1782 1.7KB/s 00:00
==> ssh root@bleuet vzctl set 115 --applyconfig_map name --save
Name emcf assigned
Saved parameters for VE 115
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
==> vzctl chkpnt 115 --suspend
Setting up checkpoint...
suspend...
get context...
Checkpointing completed succesfully
Dumping VE
==> vzctl chkpnt 115 --dump --dumpfile /var/tmp/dump.115
Setting up checkpoint...
join context..
dump...
Running: /usr/lib/vzctl/scripts/vps-net_del
Checkpointing completed succesfully
Copying dumpfile
==> scp /var/tmp/dump.115 root@bleuet:/var/tmp/dump.115
dump.115 100% 3321KB 3.2MB/s 00:00
Syncing private (2nd pass)
Syncing 2nd level quota
Dumping 2nd level quota
Copying 2nd level quota
==> scp /var/tmp/quotadump.115 root@bleuet:/var/tmp/quotadump.115
quotadump.115 100% 21 0.0KB/s 00:00
Load 2nd level quota
Undumping VE
==> ssh root@bleuet vzctl restore 115 --undump --dumpfile /var/tmp/dump.115 --skip_arpdetect
Restoring VE ...
Starting VE ...
VE is mounted
undump...
VE is unmounted
vzquota : (warning) Quota is running for id 115 already
Error: undump failed: Invalid argument
Restoring failed:
VE start failed
Error: Failed to undump VE
==> vzctl chkpnt 115 --resume
Resuming...
Running: /usr/lib/vzctl/scripts/vps-net_add
put context
vzquota : (error) Quota is not running for id 115
is:/var/lib/vzquota# vzmigrate -v --online bleuet 115
OPT:-v
OPT:--online
OPT:bleuet
Starting online migration of VE 115 on bleuet
==> ssh -o BatchMode=yes root@bleuet /bin/true
==> ssh -o BatchMode=yes root@bleuet /etc/init.d/vz status
OpenVZ is running...
==> ssh -o BatchMode=yes root@bleuet test -f /proc/rst
Loading /etc/vz/vz.conf and /etc/vz/conf/115.conf files
Check IPs on destination node: 10.1.60.115
Preparing remote node
Copying config file
==> scp /etc/vz/conf/115.conf root@bleuet:/etc/vz/conf/115.conf
115.conf 100% 1782 1.7KB/s 00:00
==> ssh root@bleuet vzctl set 115 --applyconfig_map name --save
Name emcf assigned
Saved parameters for VE 115
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
==> vzctl chkpnt 115 --suspend
Setting up checkpoint...
suspend...
get context...
Checkpointing completed succesfully
Dumping VE
==> vzctl chkpnt 115 --dump --dumpfile /var/tmp/dump.115
Setting up checkpoint...
join context..
dump...
Running: /usr/lib/vzctl/scripts/vps-net_del
Checkpointing completed succesfully
Copying dumpfile
==> scp /var/tmp/dump.115 root@bleuet:/var/tmp/dump.115
dump.115 100% 3321KB 3.2MB/s 00:00
Syncing private (2nd pass)
Syncing 2nd level quota
Dumping 2nd level quota
Copying 2nd level quota
==> scp /var/tmp/quotadump.115 root@bleuet:/var/tmp/quotadump.115
quotadump.115 100% 21 0.0KB/s 00:00
Load 2nd level quota
Undumping VE
==> ssh root@bleuet vzctl restore 115 --undump --dumpfile /var/tmp/dump.115 --skip_arpdetect
Restoring VE ...
Starting VE ...
VE is mounted
undump...
VE is unmounted
vzquota : (warning) Quota is running for id 115 already
Error: undump failed: Invalid argument
Restoring failed:
VE start failed
Error: Failed to undump VE
==> vzctl chkpnt 115 --resume
Resuming...
Running: /usr/lib/vzctl/scripts/vps-net_add
put context
vzquota : (error) Quota is not running for id 115
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: undump failed: Invalid argument [message #31093 is a reply to message #31048] |
Wed, 18 June 2008 07:26  |
Andrey Mirkin
Messages: 193 Registered: May 2006
|
Senior Member |
|
|
BTW, can you please give an access to your nodes? It will be much easier to investigate this problem then.
If you can, then please send me credentials via private message, if not, then please increase log level (echo 3 > /proc/sys/debug/cpt, echo 3 > /proc/sys/debug/rst) on both servers (source and destination), try migration and attach here /var/log/messages files from both servers.
Andrey Mirkin
|
|
|