Skip to content

Instantly share code, notes, and snippets.

@boucher
Last active August 28, 2016 19:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boucher/fff79381474b6b59da435bc7416da1b1 to your computer and use it in GitHub Desktop.
Save boucher/fff79381474b6b59da435bc7416da1b1 to your computer and use it in GitHub Desktop.
root@ip-172-31-59-139:/home/ubuntu/p.haul# ./p.haul-wrap service
Waiting for connection...
Exec p.haul-service: ./p.haul-service --fdrpc 4 --fdmem 5
14:40:14.336: 20737:
14:40:14.336: 20737:
14:40:14.336: 20737:
14:40:14.336: 20737: Starting p.haul service
14:40:14.336: 20737: Use existing connections, fdrpc=4 fdmem=5 fdfs=None
14:40:14.337: 20737: Connected
14:40:14.340: 20737: Setting up service side ('docker', '9e40')
14:40:14.340: 20737: Passing (ctl:10, data:7) pair to CRIU
14:40:14.345: 20737: Started images server
14:40:14.347: 20737: Waiting for images to unpack
14:40:14.349: 20737: Checking cpuinfo
14:40:14.350: 20737: `- True
14:40:14.352: 20737: Checking criu version
14:40:14.355: 20737: `- 2.2 -> 2.2
14:40:14.355: 20737: `- True
14:40:14.758: 20737: Disconnected
Error (cr-service.c:887): Can't recv request: Connection reset by peer
14:40:14.758: 20737: Closing images
14:40:14.758: 20737: Keeping images
14:40:14.758: 20737: Images are kept in /var/local/p.haul-fs/rst-HR93Ua-16.06.10-14.40
root@ip-172-31-59-140:/home/ubuntu/p.haul# ./p.haul-wrap client <ip> docker 9e40
Establish connection...
Exec p.haul: ./p.haul docker 9e40 --to <ip> --fdrpc 3 --fdmem 4
14:40:19.186: 27620:
14:40:19.186: 27620:
14:40:19.186: 27620:
14:40:19.186: 27620: Starting p.haul
14:40:19.187: 27620: Use existing connections, fdrpc=3 fdmem=4 fdfs=None
14:40:19.188: 27620: Setting up local
14:40:19.188: 27620: Container rootfs: /var/lib/docker/aufs/mnt/9e40c8ada8e8c12ca44283781b57bc2988600f4aa19675355307a60f52de916f
14:40:19.188: 27620: Container config: /var/lib/docker/containers/9e40c8ada8e8c12ca44283781b57bc2988600f4aa19675355307a60f52de916f
14:40:19.188: 27620: Container meta: /var/run/docker/execdriver/native/9e40c8ada8e8c12ca44283781b57bc2988600f4aa19675355307a60f52de916f
14:40:19.188: 27620: Initialized subtree FS hauler (/var/lib/docker/aufs/mnt/9e40c8ada8e8c12ca44283781b57bc2988600f4aa19675355307a60f52de916f)
14:40:19.188: 27620: Initialized subtree FS hauler (/var/lib/docker/containers/9e40c8ada8e8c12ca44283781b57bc2988600f4aa19675355307a60f52de916f)
14:40:19.189: 27620: Passing (ctl:7, data:6) pair to CRIU
14:40:19.190: 27620: Setting up remote
14:40:19.194: 27620: Start migration in live mode
14:40:19.194: 27620: Checking CPU compatibility
14:40:19.194: 27620: `- Dumping CPU info
14:40:19.195: 27620: `- Sending CPU info
14:40:19.199: 27620: `- Checking CPU info
14:40:19.201: 27620: Checking criu version
14:40:19.206: 27620: Checking for Dirty Tracking
14:40:19.206: 27620: `- Auto disabled
14:40:19.206: 27620: Preliminary FS migration
14:40:19.207: 27620: Starting FS migration
14:40:19.596: 27620: Rsync failed
Traceback (most recent call last):
File "./p.haul", line 47, in <module>
worker.start_migration()
File "/home/ubuntu/p.haul/phaul/iters.py", line 159, in start_migration
self.__start_live_migration()
File "/home/ubuntu/p.haul/phaul/iters.py", line 184, in __start_live_migration
fsstats = self.fs.start_migration()
File "/home/ubuntu/p.haul/phaul/fs_haul_subtree.py", line 47, in start_migration
self.__run_rsync()
File "/home/ubuntu/p.haul/phaul/fs_haul_subtree.py", line 43, in __run_rsync
raise Exception("Rsync failed")
Exception: Rsync failed
Error (cr-service.c:887): Can't recv request: Connection reset by peer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment