<div dir="ltr"><div>Sorry, I forgot to attach the criu_pre_dump.log:<br><div style="margin-left:40px"><br></div><div style="margin-left:40px">Error (files.c:424): can't fstatfs file: Bad file descriptor<br></div><div style="margin-left:40px">
Error /cr-dump.c:1356): Pre-dumping files failed (pid: 1390)<br></div><div style="margin-left:40px">Error (cr-dump.c:1687): Pre-dumping FAILED.<br></div><br></div>Thanks!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-27 17:47 GMT+01:00 Oscar Fernández <span dir="ltr"><<a href="mailto:oscarfernandz@gmail.com" target="_blank">oscarfernandz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello and congratulations for your great work.<br><br></div><div>I'm interested in p.haul and I wanted to see how it works. I found the mtouch test as a process live migration example ( <a href="https://github.com/xemul/p.haul/blob/master/test/mtouch/HOWTO" target="_blank">https://github.com/xemul/p.haul/blob/master/test/mtouch/HOWTO</a> ), I follow all the steps but I get an error when executing the command<br>
<pre># ./p.haul pid $test_pid $destination_node_ip</pre>at the source node.<br><br></div><div>I'm trying to do the migration between two Ubuntu server 13.10 VMs, should I try with other distro?<br></div><div><br></div>
<div>The output at the SRC node is:<br><br><div style="margin-left:40px">Connecting to target host<br></div><div style="margin-left:40px">Initialized shared FS hauler<br>Connecting to CRIU service<br></div><div style="margin-left:40px">
Preliminary FS migration<br></div><div style="margin-left:40px">Starting iterations<br></div><div style="margin-left:40px">* Iteration 0<br></div><div style="margin-left:40px"><div style="margin-left:40px">making directory /var/local/p.haul-fs/14.03.27-15.35-bvrTFM/img/1<br>
</div></div><div style="margin-left:40px"><div style="margin-left:40px">Issuing pre-dump command to service<br></div></div><div style="margin-left:40px">Traceback (most recent call last):<br></div><div style="margin-left:40px">
File "p.haul/p.haul", line 39, in <module><br></div><div style="margin-left:40px"> worker.start_migration()<br></div><div style="margin-left:40px"> File "/home/test/p.haul/p_haul_iters.py", line 100, in start_migration<br>
</div><div style="margin-left:40px"> raise Exception("Pre-dump failed")<br></div><div style="margin-left:40px">Exception: Pre-dump failed<br></div><br></div><div>The output at the DST node is:<br><br><div style="margin-left:40px">
Connected<br></div><div style="margin-left:40px">Selecting htype to ('pid', '1403')<br></div><div style="margin-left:40px"><div style="margin-left:40px">Making directory /var/local/p.haul-fs/14.03.27-15.35-lI4_j3/img/1<br>
</div></div><div style="margin-left:40px">Starting page server for iter 1<br></div><div style="margin-left:40px"><div style="margin-left:40px">Sending criu rpc req<br></div></div><div style="margin-left:40px"><div style="margin-left:40px">
Page server started at 1613<br></div></div><div style="margin-left:40px">Disconnected<br></div><div style="margin-left:40px">Stopping page server 1613<br></div><br></div><div>The criu service log file at SRC node is:<br>
<br>
<div style="margin-left:40px">(00.017306) The service socket is bound to /var/run/criu_service.socket<br></div><div style="margin-left:40px">(00.018764) Waiting for connection...<br></div><div style="margin-left:40px">(3032.36109 Connected.<br>
</div><div style="margin-left:40px">(3032.36131 Waiting for connection...<br></div><div style="margin-left:40px">(3032.37836 Restrict C/R with 0:0 uid<br></div><div style="margin-left:40px">(3032.39072 Worker(pid 1505) exited with 1<br>
</div></div><div><br></div><div>The criu service log file at DST node is:<br><br><div style="margin-left:40px">(00.012570) The service socket is bound to /var/run/criu_service.socket<br>(00.014230) Waiting for connection...<br>
</div><div style="margin-left:40px">(2995.80278 Connected.<br></div><div style="margin-left:40px">(2995.80293 Waiting for connection...<br></div><div style="margin-left:40px">(2995.80455 Restrict C/R with 0:0 uid<br></div>
<div style="margin-left:40px">(2995.80500 Worker(pid 1556) exited with 0<br></div><br></div><div>I checked the source code and found that in p_haul_iters.py line 99, the value of resp.success is False, so an Exception is raised. I tried to find the reason of that failure without success. I'm running all comands in test as root and the NFS has all permissions to everybody (777).<br>
<br></div><div>Any idea of what can be the reason? What distro did you use to make the test work?<br><br></div><div>Thank you<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<br>-- <br>Óscar Fernández<br><br></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Óscar Fernández<br>
</div>