[CRIU] p. haul pycriu problem

Pavel Emelyanov xemul at virtuozzo.com
Tue Apr 19 07:00:51 PDT 2016


On 04/19/2016 04:30 PM, Sharmin Sultana Sheuly wrote:
> Hi
> I was trying migrating docker container following website: https://github.com/xemul/p.haul/blob/master/test/docker/HOWTO
> However it returns: ImportError: No module named pycriu
> for installing criu I installed additional libraries and I followed the below steps:
> 1. git clone https://github.com/xemul/criu
> 2. cd criu
> 3. make install
> It did not returned any error. And I checked it with criu check command , which returned looks good. that implies it is installed correctly.
> I dont know where the problem lies. AT the time of migration it still returns
> ImportError: No module named pycriu

Cyrill, I run make install, but the pycriu happens to be not in /usr/...,
but in $criu_sources/lib/usr/...

Why?

-- Pavel

> I was folowing the wbsite https://github.com/xemul/p.haul/blob/master/test/docker/HOWTO , where I did not do the below steps as I don t understand them. Is this the problem?
> * Make _local_ directory for service ($csdir)
> * Start CRIU service by root user
> ote that this step is mandatory. Although runC will start criu in swrk
> mode, p.haul needs to connect to criu service for validating CPU.
> # criu service -o $csdir/log -v4 --daemon
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list