[CRIU] [PATCH] p.haul: Repairing WebGUI

Adrian Reber adrian at lisas.de
Fri Jun 3 07:04:11 PDT 2016


Thanks Arthur for looking into the webgui and fixing it.

Acked-by: Adrian Reber <areber at redhat.com>

On Fri, Jun 03, 2016 at 09:38:40AM -0400, Arthur Lockman wrote:
> From: Arthur Lockman <hello at rthr.me>
> 
> Previously the WebGUI had a redundant --fdmem parameter,
> causing process migration to fail. This is now removed.
> 
> Signed-off-by: Arthur Lockman <alockman at redhat.com>
> ---
>  webgui/p_haul_web_gui.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/webgui/p_haul_web_gui.py b/webgui/p_haul_web_gui.py
> index 22aabec..e06da34 100644
> --- a/webgui/p_haul_web_gui.py
> +++ b/webgui/p_haul_web_gui.py
> @@ -77,7 +77,7 @@ def migrate():
>  
>      dest_host = partner, rpc_port
>  
> -    connection_sks = [None, None, None]
> +    connection_sks = [None, None]
>  
>      for i in range(len(connection_sks)):
>          connection_sks[i] = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> @@ -87,8 +87,7 @@ def migrate():
>      target_args = ['./p.haul', 'pid', pid, '-v', '4', '-j']
>      target_args.extend(["--to", partner,
>                          "--fdrpc", str(connection_sks[0].fileno()),
> -                        "--fdmem", str(connection_sks[1].fileno()),
> -                        "--fdfs", str(connection_sks[2].fileno())])
> +                        "--fdmem", str(connection_sks[1].fileno())])
>  
>      # Call p.haul
>      print "Exec p.haul: {0}".format(" ".join(target_args))
> -- 
> 2.5.5
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list