<div dir="ltr"><div><div><div><div>Hi <br></div>Thanks.<br></div>Actually there exists a directory: /var/lib/docker/0.0/containers where I containers are created. the only thing missing is that /0.0, . I dont know how to change phaul.p_haul_docket.docker_dir . <br></div>yes I agree with you.<br></div>+sharmin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 11:50 AM, Nikita Spiridonov <span dir="ltr"><<a href="mailto:nspiridonov@virtuozzo.com" target="_blank">nspiridonov@virtuozzo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2016-04-20 at 09:39 +0200, Sharmin Sultana Sheuly wrote:<br>
> Hi<br>
><br>
> to solve pycriu module problem I did just like other environmental<br>
> variable (I changed the path then you told) in the terminal: export<br>
> PYTHONPATH=/home/sharmin/criu/lib/usr/local/lib/python2.7/dist-packages/<br>
><br>
> the pycriu problem is no more visible.<br>
><br>
> Then It was showing error : No module named<br>
> google.protobuf.internal . I downloaded protobuf from<br>
><br>
><br>
> <a href="https://pypi.python.org/pypi/protobuf/3.0.0b2.post2" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/protobuf/3.0.0b2.post2</a><br>
><br>
> After extracting I ran python setup.py install. the error is no more<br>
> there.<br>
><br>
> However now it is showing the error in the source host:<br>
><br>
> root@sharmin-HP-15-Notebook-PC:~/p.haul# ./p.haul-wrap client<br>
> 192.168.0.9 docker 89c01ef15fba<br>
> Establish connection...<br>
> Exec p.haul: ./p.haul docker 89c01ef15fba --to 192.168.0.9 --fdrpc 3<br>
> --fdmem 4<br>
> 09:25:26.376: Starting p.haul<br>
> 09:25:26.376: Use existing connections, fdrpc=3 fdmem=4 fdfs=None<br>
> 09:25:26.417: Setting up local<br>
> 09:25:26.417: [Errno 2] No such file or directory:<br>
> '/var/lib/docker/containers'<br>
> Traceback (most recent call last):<br>
> File "./p.haul", line 45, in <module><br>
> worker = phaul.iters.phaul_iter_worker(ph_type, args.mode,<br>
> connection)<br>
> File "/home/sharmin/p.haul/phaul/iters.py", line 58, in __init__<br>
> self.htype = htype.get_src(p_type)<br>
> File "/home/sharmin/p.haul/phaul/htype.py", line 35, in get_src<br>
> ht.init_src()<br>
> File "/home/sharmin/p.haul/phaul/p_haul_docker.py", line 36, in<br>
> init_src<br>
> self.full_ctid = self.get_full_ctid()<br>
> File "/home/sharmin/p.haul/phaul/p_haul_docker.py", line 83, in<br>
> get_full_ctid<br>
> dir_name_list = os.listdir(os.path.join(docker_dir, "containers"))<br>
> OSError: [Errno 2] No such file or directory:<br>
> '/var/lib/docker/containers'<br>
><br>
><br>
><br>
> Where is the problem in this case?<br>
><br>
<br>
</div></div>As far as I can see, phaul scan /var/lib/docker/containers directory<br>
trying to find out full name of container. That directory is missing in<br>
your case.<br>
<br>
As temporary workaround you can create /var/lib/docker/containers<br>
directory and fill it with required data (it seems you can just move you<br>
container there but I am not familiar with docker and can't say for<br>
sure) or change that path in you local phaul repository<br>
(phaul.p_haul_docket.docker_dir) appropriately.<br>
<br>
Honestly saying, I have no information about docker module current<br>
status and not sure that somebody use it at the present moment.<br>
<span class="im HOEnZb"><br>
><br>
> +sharmin<br>
><br>
><br>
><br>
><br>
> On Wed, Apr 20, 2016 at 6:58 AM, Pavel Emelyanov <<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>><br>
> wrote:<br>
> On 04/19/2016 06:11 PM, Cyrill Gorcunov wrote:<br>
> > On Tue, Apr 19, 2016 at 06:06:57PM +0300, Pavel Emelyanov<br>
> wrote:<br>
> >> Works, thank you.<br>
> >><br>
> >> Now my question is -- how to uninstall it back? %)<br>
> ><br>
> > :-) Use rpm. Actually we can implement own uninstall method,<br>
> > but this would require that one who has been installing<br>
> > it must remember the PREFIX and such he passed on install<br>
> > procedure.<br>
><br>
><br>
> Please :)<br>
><br>
><br>
><br>
</span><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" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>