{"action":"created","issue":{"url":"https://api.github.com/repos/xemul/criu/issues/222","repository_url":"https://api.github.com/repos/xemul/criu","labels_url":"https://api.github.com/repos/xemul/criu/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/xemul/criu/issues/222/comments","events_url":"https://api.github.com/repos/xemul/criu/issues/222/events","html_url":"https://github.com/xemul/criu/issues/222","id":179870038,"number":222,"title":"Fail to restore apache on different vms","user":{"login":"koliaskostas","id":9149137,"avatar_url":"https://avatars.githubusercontent.com/u/9149137?v=3","gravatar_id":"","url":"https://api.github.com/users/koliaskostas","html_url":"https://github.com/koliaskostas","followers_url":"https://api.github.com/users/koliaskostas/followers","following_url":"https://api.github.com/users/koliaskostas/following{/other_user}","gists_url":"https://api.github.com/users/koliaskostas/gists{/gist_id}","starred_url":"https://api.github.com/users/koliaskostas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koliaskostas/subscriptions","organizations_url":"https://api.github.com/users/koliaskostas/orgs","repos_url":"https://api.github.com/users/koliaskostas/repos","events_url":"https://api.github.com/users/koliaskostas/events{/privacy}","received_events_url":"https://api.github.com/users/koliaskostas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-28T19:46:31Z","updated_at":"2016-09-29T18:12:27Z","closed_at":null,"body":"**Goal**: Migrate a apache process from one vm to another.\r\n**Settings**: Two identical (cloned) vms running ubuntu 16.04 with 4.6.0 kernel (patched) and criu v2.6\r\n\r\n**Methodology**: \r\nOn VM_A I do:\r\n\r\n`sudo ./criu dump --tree $pid --images-dir $images_dir --work-dir $work_dir --log-file $log_dir\"/log.dat\" `--leave-stopped -vvv\r\n\r\n`scp -r images_dir/ costas@192.168.56.109:/home/costas/`\r\n\r\nthe checkpoint is successful. Note that for this simple test case I have noone connected or trying to access content on the server.\r\n\r\non VM_B I do:\r\n`sudo ./criu restore --tree $pid --images-dir $images_dir --work-dir $work_dir --log-file $log_dir\"/log.dat\" -d -vvv`\r\n\r\nI get this error:\r\n[restore-fail.log.tar.gz](https://github.com/xemul/criu/files/499110/restore-fail.log.tar.gz)\r\n\r\nAlso, note that a slightly modified version of the commands above is able to checkpoint and restore successfully a dummy counter script. So, to my understanding I most probably miss some flag. Finally, more flags will be used next (--skip-in-flight etc.) but for this experiment I tried to keep things simple.\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xemul/criu/issues/comments/250546955","html_url":"https://github.com/xemul/criu/issues/222#issuecomment-250546955","issue_url":"https://api.github.com/repos/xemul/criu/issues/222","id":250546955,"user":{"login":"koliaskostas","id":9149137,"avatar_url":"https://avatars.githubusercontent.com/u/9149137?v=3","gravatar_id":"","url":"https://api.github.com/users/koliaskostas","html_url":"https://github.com/koliaskostas","followers_url":"https://api.github.com/users/koliaskostas/followers","following_url":"https://api.github.com/users/koliaskostas/following{/other_user}","gists_url":"https://api.github.com/users/koliaskostas/gists{/gist_id}","starred_url":"https://api.github.com/users/koliaskostas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koliaskostas/subscriptions","organizations_url":"https://api.github.com/users/koliaskostas/orgs","repos_url":"https://api.github.com/users/koliaskostas/repos","events_url":"https://api.github.com/users/koliaskostas/events{/privacy}","received_events_url":"https://api.github.com/users/koliaskostas/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T18:12:27Z","updated_at":"2016-09-29T18:12:27Z","body":"That is very interesting however, trying to restore with:\r\n`./criu/scripts/criu-ns restore --tree $pid --images-dir $images_dir --work-dir $work_dir --log-file $log_file -d -vvv`\r\ngives:\r\n```\r\nFile \"./criu/scripts/criu-ns\", line 233, in <module>\r\n   res = wrap_restore()\r\n...\r\n...\r\nFile \"/usr/lib/python2.7/os.py\", line 382, in _execvpe\r\n   func(fullname, *argrest)\r\nOSError: [Errno 2] No such file or directory\r\n```\r\n"}}
{"actor":{"display_login":"koliaskostas"}}