[CRIU] p.haul pycriu problem

Pavel Emelyanov xemul at virtuozzo.com
Tue Apr 19 06:00:45 PDT 2016


On 04/19/2016 12:56 PM, Sharmin Sultana Sheuly wrote:
> Hi
> I was trying to migrate docker container from one host to another.
> Both my source host and destination have docker 1.10.0 -dev, CRIU 2.1 and P.haul.  I ran /1.python setup.py install /command on both node.
> 
> 2. I created a container of id: 89c01ef15fba  in the source host
> 3. in the destination host ./p.haul-wrap service is ran showing waiting for connection.
> 4. In the source host I ran the  command: ./p.haul-wrap client 192.168.0.9 docker 89c01ef15fba
> The output is below (source host):
> 
> root at sharmin-HP-15-Notebook-PC:~/p.haul# ./p.haul-wrap client 192.168.0.9 docker 89c01ef15fba
> Establish connection...
> Exec p.haul: ./p.haul docker 89c01ef15fba --to 192.168.0.9 --fdrpc 3 --fdmem 4
> Traceback (most recent call last):
>   File "./p.haul", line 5, in <module>
>     import phaul.args_parser
>   File "/home/sharmin/p.haul/phaul/args_parser.py", line 8, in <module>
>     import images
>   File "/home/sharmin/p.haul/phaul/images.py", line 13, in <module>
>     import criu_api
>   File "/home/sharmin/p.haul/phaul/criu_api.py", line 11, in <module>
>     import pycriu
> ImportError: No module named pycriu

This is a python module that comes with criu itself. You can either get criu installed
(get the sources and make install) or put symlink named pycriu to point to criu/lib/py
directory.

-- Pavel

> root at sharmin-HP-15-Notebook-PC:~/p.haul#
> 
> Destination host also shows the error :ImportError: No module named pycriu
> Did I missed any command? How can I get module pycriu?
> Any help will be highly appreciated.
> 
> 
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list