<div dir="ltr"><div><div><div>Hello Andrew, thanks for your answer.<br><br></div>I'm using the latest version of CRIU ( <a href="https://github.com/xemul/criu">https://github.com/xemul/criu</a> ).<br><br></div>Find attached the logs you ask for.<br>
<br></div>Thanks for your help.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-28 9:41 GMT+01:00 Andrew Vagin <span dir="ltr"><<a href="mailto:avagin@parallels.com" target="_blank">avagin@parallels.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, Mar 27, 2014 at 05:47:32PM +0100, Oscar Fernández wrote:<br>
> Hello and congratulations for your great work.<br>
><br>
> I'm interested in p.haul and I wanted to see how it works. I found the mtouch<br>
> test as a process live migration example ( <a href="https://github.com/xemul/p.haul/blob" target="_blank">https://github.com/xemul/p.haul/blob</a><br>
> /master/test/mtouch/HOWTO ), I follow all the steps but I get an error when<br>
> executing the command<br>
><br>
> # ./p.haul pid $test_pid $destination_node_ip<br>
<br>
</div>Which version of CRIU do you use?<br>
<br>
Could you provide more info?<br>
<br>
$ lsof -p $test_pid > mem-touch.lsof<br>
$ strace -fo criu.predump.log ./criu pre-dump -v4 -o pd.log -D tmp -t 945<br>
<br>
and send criu.predump.log, mem-touch.lsof, tmp/pd.log to us.<br>
<br>
Thanks.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> at the source node.<br>
><br>
> I'm trying to do the migration between two Ubuntu server 13.10 VMs, should I<br>
> try with other distro?<br>
><br>
> The output at the SRC node is:<br>
><br>
> Connecting to target host<br>
> Initialized shared FS hauler<br>
> Connecting to CRIU service<br>
> Preliminary FS migration<br>
> Starting iterations<br>
> * Iteration 0<br>
> making directory /var/local/p.haul-fs/14.03.27-15.35-bvrTFM/img/1<br>
> Issuing pre-dump command to service<br>
> Traceback (most recent call last):<br>
> File "p.haul/p.haul", line 39, in <module><br>
> worker.start_migration()<br>
> File "/home/test/p.haul/p_haul_iters.py", line 100, in start_migration<br>
> raise Exception("Pre-dump failed")<br>
> Exception: Pre-dump failed<br>
><br>
> The output at the DST node is:<br>
><br>
> Connected<br>
> Selecting htype to ('pid', '1403')<br>
> Making directory /var/local/p.haul-fs/14.03.27-15.35-lI4_j3/img/1<br>
> Starting page server for iter 1<br>
> Sending criu rpc req<br>
> Page server started at 1613<br>
> Disconnected<br>
> Stopping page server 1613<br>
><br>
> The criu service log file at SRC node is:<br>
><br>
> (00.017306) The service socket is bound to /var/run/criu_service.socket<br>
> (00.018764) Waiting for connection...<br>
> (3032.36109 Connected.<br>
> (3032.36131 Waiting for connection...<br>
> (3032.37836 Restrict C/R with 0:0 uid<br>
> (3032.39072 Worker(pid 1505) exited with 1<br>
><br>
> The criu service log file at DST node is:<br>
><br>
> (00.012570) The service socket is bound to /var/run/criu_service.socket<br>
> (00.014230) Waiting for connection...<br>
> (2995.80278 Connected.<br>
> (2995.80293 Waiting for connection...<br>
> (2995.80455 Restrict C/R with 0:0 uid<br>
> (2995.80500 Worker(pid 1556) exited with 0<br>
><br>
> I checked the source code and found that in p_haul_iters.py line 99, the value<br>
> of resp.success is False, so an Exception is raised. I tried to find the reason<br>
> of that failure without success. I'm running all comands in test as root and<br>
> the NFS has all permissions to everybody (777).<br>
><br>
> Any idea of what can be the reason? What distro did you use to make the test<br>
> work?<br>
><br>
> Thank you<br>
><br>
> --<br>
> Óscar Fernández<br>
><br>
<br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> CRIU mailing list<br>
> <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Óscar Fernández<br>
</div>