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

Nikita Spiridonov nspiridonov at virtuozzo.com
Fri Apr 15 08:25:11 PDT 2016


Acked-by: Nikita Spiridonov <nspiridonov at virtuozzo.com>

On Fri, 2016-04-15 at 18:48 +0300, Alexander Burluka wrote:
> 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)




More information about the CRIU mailing list