OpenVZ Forum - RDF feed
type: channel
items: [SOLVED] live migration checkpointing/dump error: iptables-save exited with 255
items: Re: iptables-save exited with 255
items: Re: checkpointing error: iptables-save exited with 255

[SOLVED] live migration checkpointing/dump error: iptables-save exited with 255
type: item
description: 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.
creator: wolvesled
date: 2008-04-08T02:29:56-00:00

Re: iptables-save exited with 255
type: item
description: same problem in this one: http://forum.openvz.org/index.php?t=tree&goto=26872& &srch=can+not+dump+ve#msg_26872
creator: wolvesled
date: 2008-04-08T02:35:27-00:00

Re: checkpointing error: iptables-save exited with 255
type: item
description: 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.
creator: wolvesled
date: 2008-04-11T06:51:07-00:00

Re: checkpointing error: iptables-save exited with 255
type: item
description: 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.
creator: kir
date: 2008-04-11T08:03:40-00:00

Re: checkpointing error: iptables-save exited with 255
type: item
description: 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!
creator: wolvesled
date: 2008-04-14T03:13:13-00:00