[CRIU] p. haul pycriu problem

Pavel Emelyanov xemul at virtuozzo.com
Tue Apr 19 07:50:41 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
> 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

I've also Cc-ed Hui and Ross as currently Docker C/R is an ongoing thing
and the p.haul doc may not be 100% up-to-date.

-- Pavel



More information about the CRIU mailing list