[CRIU] p. haul pycriu problem

Sharmin Sultana Sheuly sharmin.sultana.sheuly90 at gmail.com
Wed Apr 20 00:39:11 PDT 2016


Hi
to solve pycriu module problem I did just like other environmental variable
(I changed the path then you told) in the terminal: export
PYTHONPATH=/home/sharmin/criu/lib/usr/local/lib/python2.7/dist-packages/
the pycriu problem is no more visible.
Then It  was showing error : No module named google.protobuf.internal . I
downloaded protobuf from

https://pypi.python.org/pypi/protobuf/3.0.0b2.post2

After extracting I ran  python setup.py install. the error is no more there.
<https://pypi.python.org/pypi/protobuf/3.0.0b2.post2>

However now it is showing the error in the source host:
<https://pypi.python.org/pypi/protobuf/3.0.0b2.post2>

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
09:25:26.376: Starting p.haul
09:25:26.376: Use existing connections, fdrpc=3 fdmem=4 fdfs=None
09:25:26.417: Setting up local
09:25:26.417: [Errno 2] No such file or directory:
'/var/lib/docker/containers'
Traceback (most recent call last):
  File "./p.haul", line 45, in <module>
    worker = phaul.iters.phaul_iter_worker(ph_type, args.mode, connection)
  File "/home/sharmin/p.haul/phaul/iters.py", line 58, in __init__
    self.htype = htype.get_src(p_type)
  File "/home/sharmin/p.haul/phaul/htype.py", line 35, in get_src
    ht.init_src()
  File "/home/sharmin/p.haul/phaul/p_haul_docker.py", line 36, in init_src
    self.full_ctid = self.get_full_ctid()
  File "/home/sharmin/p.haul/phaul/p_haul_docker.py", line 83, in
get_full_ctid
    dir_name_list = os.listdir(os.path.join(docker_dir, "containers"))
OSError: [Errno 2] No such file or directory: '/var/lib/docker/containers'

<https://pypi.python.org/pypi/protobuf/3.0.0b2.post2>

Where is the problem in this case?
<https://pypi.python.org/pypi/protobuf/3.0.0b2.post2>

+sharmin
<https://pypi.python.org/pypi/protobuf/3.0.0b2.post2>

On Wed, Apr 20, 2016 at 6:58 AM, Pavel Emelyanov <xemul at virtuozzo.com>
wrote:

> On 04/19/2016 06:11 PM, Cyrill Gorcunov wrote:
> > On Tue, Apr 19, 2016 at 06:06:57PM +0300, Pavel Emelyanov wrote:
> >> Works, thank you.
> >>
> >> Now my question is -- how to uninstall it back? %)
> >
> > :-) Use rpm. Actually we can implement own uninstall method,
> > but this would require that one who has been installing
> > it must remember the PREFIX and such he passed on install
> > procedure.
>
> Please :)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160420/8b5e5dae/attachment.html>


More information about the CRIU mailing list