OpenVZ Forum


Home » General » Support » [SOLVED] live migration checkpointing/dump error: iptables-save exited with 255
[SOLVED] live migration checkpointing/dump error: iptables-save exited with 255 [message #29169] Tue, 08 April 2008 02:29 Go to next message
wolvesled is currently offline  wolvesled
Messages: 6
Registered: April 2008
Junior Member
hi,

I had encounter error in live migration, after some search (solve the problem in line 382 of vzmigrate), I locate that problem is with checkpoint, because live migration will create a dump (i.e. checkpoint) of the running ve, then restore in the destination ve.

here is the error:

# vzctl chkpnt 2000201
Setting up checkpoint...
        suspend...
        dump...
Can not dump VE: Invalid argument
Error: iptables-save exited with 255
Checkpointing failed


also I have read in some post that it is the bug of one previous kernel ( http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=6507 23f83a8685111fb3dee7073454861c446193).

my configuration:

platform: gentoo, well maintained
kernel version: 2.6.18-028stab053-r2
vzctl: 3.0.22
vzquota:3.0.11

it will be thankful if anyone could point me out.

[Updated on: Mon, 14 April 2008 03:14]

Report message to a moderator

Re: iptables-save exited with 255 [message #29170 is a reply to message #29169] Tue, 08 April 2008 02:35 Go to previous messageGo to next message
wolvesled is currently offline  wolvesled
Messages: 6
Registered: April 2008
Junior Member
same problem in this one:

http://forum.openvz.org/index.php?t=tree&goto=26872& &srch=can+not+dump+ve#msg_26872
Re: checkpointing error: iptables-save exited with 255 [message #29349 is a reply to message #29169] Fri, 11 April 2008 06:51 Go to previous messageGo to next message
wolvesled is currently offline  wolvesled
Messages: 6
Registered: April 2008
Junior Member
I'm wondering if I did not name this thread correct, but that's the only thing I have with dump/checkpointing now.

Is that I should post this into the development section?

thanks for any advice.
Re: checkpointing error: iptables-save exited with 255 [message #29355 is a reply to message #29169] Fri, 11 April 2008 08:03 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

During the checkpointing phase, kernel tries to execute /sbin/iptables-save (or /usr/sbin/iptables-save) to save the iptables rules and stats. During the restore phase, it runs /sbin/iptables-restore.

If you do use iptables in your container, make sure these scripts exist and working.

If you do not use iptables, make sure these scripts exist and return 0 exit code. The simplest way to do that is
ln -sf /bin/true /sbin/iptables-save
ln -sf /bin/true /sbin/iptables-restore

Hope that helps.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: checkpointing error: iptables-save exited with 255 [message #29460 is a reply to message #29355] Mon, 14 April 2008 03:13 Go to previous message
wolvesled is currently offline  wolvesled
Messages: 6
Registered: April 2008
Junior Member
hi kir,

thank you very much of the tip, I thought the iptables was with the virtual server, was trying to looking problems in kernel...

now the problem is solved, and I'm happy with the live migration.

thanks again!
Previous Topic: ztdummy accuracy worse in VE compared to HE
Next Topic: Porting old server inside VE
Goto Forum:
  


Current Time: Tue Apr 23 11:59:53 GMT 2024

Total time taken to generate the page: 0.01303 seconds