[CRIU] [PATCH] p.haul: prevent VZ CT ARP ping on destination restore

Alexander Burluka aburluka at virtuozzo.com
Fri Apr 15 08:48:06 PDT 2016


vzctl mades address detection before ARP announce
--skip_arpdetect option is undocumented that prevents
detection. Adding this option will decrease container
downtime.

Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
---
 phaul/p_haul_vz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
index b867477..578e5e8 100644
--- a/phaul/p_haul_vz.py
+++ b/phaul/p_haul_vz.py
@@ -175,7 +175,7 @@ class p_haul_type:
 			# Run vzctl restore
 			logging.info("Starting vzctl restore")
 			proc = subprocess.Popen([vzctl_bin, "--skipowner", "--skiplock", "restore",
-				self._ctid, "--dumpfile", img.image_dir()],
+				self._ctid, "--skip_arpdetect", "--dumpfile", img.image_dir()],
 				stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
 			proc_output = proc.communicate()[0]
 			logging.info(proc_output)
-- 
1.8.3.1



More information about the CRIU mailing list