Difference between revisions of "Templates"

From CRIU
Jump to navigation Jump to search
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Note| This information is heavily outdated as it was last time checked years ago.}}
 +
 
Here is a list of results in attempts to checkpoint/resume containers with vzctl + criu bundle running on vanilla 3.13 kernel. Note the tests were done with Andrey Vagin patches applied to vzctl: "hook_ct: remove the non-working with devpts", "hook_ct: bind mount the host /dev directory in CT". Also the vz configs require LOCAL_UID="0" and LOCAL_GID="0" (also no net features were used).
 
Here is a list of results in attempts to checkpoint/resume containers with vzctl + criu bundle running on vanilla 3.13 kernel. Note the tests were done with Andrey Vagin patches applied to vzctl: "hook_ct: remove the non-working with devpts", "hook_ct: bind mount the host /dev directory in CT". Also the vz configs require LOCAL_UID="0" and LOCAL_GID="0" (also no net features were used).
  
Line 37: Line 39:
 
|-
 
|-
 
! template
 
! template
! start<br/>/stop
+
! start<br/>/enter<br>/stop
 
! suspend<br/>/resume
 
! suspend<br/>/resume
! status
 
 
! comments
 
! comments
 
|-
 
|-
| centos-6 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/centos-6-x86_64-devel.tar.gz] || +/+ || -/? || done || with userns
+
| centos-6 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/centos-6-x86_64-devel.tar.gz] || +/+/+ || +/+ || local-uid/gid = 0
 +
|-
 +
| debian-7 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/debian-7.0-x86_64.tar.gz] || +/-/- || -/? || with userns (dump: Error (mount.c:352): 47:/lib/x86_64-linux-gnu/security/pam_loginuid.so doesn't have a proper root mount, enter: Unable to open pty: No such file or directory)
 
|-
 
|-
| centos-6 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/centos-6-x86_64-devel.tar.gz] || +/+ || +/+ || done || local-uid/gid = 0
+
| debian-7 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/debian-7.0-x86_64.tar.gz] || +/+/+ || -/? || local-uid/gid = 0 (Error (mount.c:548): Can't bind-mount 52:/run to /tmp/cr-tmpfs.wYvT1r: No such file or directory)
 
|-
 
|-
| debian-7 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/debian-7.0-x86_64.tar.gz] || ? || ? || ? || untested
+
| fedora-20 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/fedora-20-x86_64.tar.gz] || +/+/+ || -/? || local-uid/gid = 0 (Error (namespaces.c:155): Can't dump nested mnt namespace for 14590)
 
|-
 
|-
| fedora-20 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/fedora-20-x86_64.tar.gz] || ? || ? || ? || untested
+
| scientific-6 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/scientific-6-x86_64.tar.gz] || ? || ? || untested
 
|-
 
|-
| scientific-6 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/scientific-6-x86_64.tar.gz] || ? || ? || ? || untested
+
| suse-12.3 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/suse-12.3-x86_64.tar.gz] || ? || ? || untested
 
|-
 
|-
| suse-12.3 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/suse-12.3-x86_64.tar.gz] || ? || ? || ? || untested
+
| ubuntu-10.04 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/ubuntu-10.04-x86_64.tar.gz] || +/+/+ || +/+ || local-uid/gid = 0
 
|-
 
|-
| ubuntu-13.10 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/ubuntu-13.10-x86_64.tar.gz] || ? || ? || ? || untested
+
| ubuntu-13.10 [http://mirror.yandex.ru/mirrors/download.openvz.org/template/precreated/ubuntu-13.10-x86_64.tar.gz] || ? || ? || untested
 
|}
 
|}
  
 
[[Category:Development]]
 
[[Category:Development]]

Latest revision as of 17:33, 26 September 2016

Note.svg Note: This information is heavily outdated as it was last time checked years ago.

Here is a list of results in attempts to checkpoint/resume containers with vzctl + criu bundle running on vanilla 3.13 kernel. Note the tests were done with Andrey Vagin patches applied to vzctl: "hook_ct: remove the non-working with devpts", "hook_ct: bind mount the host /dev directory in CT". Also the vz configs require LOCAL_UID="0" and LOCAL_GID="0" (also no net features were used).

template start
/stop
suspend
/resume
status comments
centos-6 [1] + +/- drop udev as "rpm -e udev --nodeps" in container (as Andrew explained, because we don't support user-namespace the udev might generate ADD events which do not reach container but hit the node itself causing weird effects on host system
fedora-20 [2] + - (00.037318) Error (namespaces.c:155): Can't dump nested mnt namespace for 2640
ubuntu-10.04-minimal [3] + + -
arch [4] + - starts with warning "Failed to get D-Bus connection: No connection to service manager", suspend fails with "Error (files-reg.c:529): Unaccessible path opened 5:5354, need 64257:311335"
debian-7-minimal [5] + - in-progress (00.187218) Error (mount.c:548): Can't bind-mount 47:/run to /tmp/cr-tmpfs.L1kDQI: No such file or directory
oracle-6 [6] + + -
owl-3 [7] + - (00.082286) Error (sk-unix.c:173): Unix socket 0x9071 not found
scientific-6-x86_64-20131201 [8] + + -
slackware-13.37-x86_64-minimal [9] + - (00.079770) Error (sk-unix.c:220): Unix socket 0xb914 without peer 0xb4ac
suse-9.3 [10] - - Failed to mount /sys: No such file or directory. Can't rmdir vzctl-old-root.9eSTPo: Device or resource busy

Precreated official templates[edit]

Testing with https://github.com/avagin/vzctl @master

template start
/enter
/stop
suspend
/resume
comments
centos-6 [11] +/+/+ +/+ local-uid/gid = 0
debian-7 [12] +/-/- -/? with userns (dump: Error (mount.c:352): 47:/lib/x86_64-linux-gnu/security/pam_loginuid.so doesn't have a proper root mount, enter: Unable to open pty: No such file or directory)
debian-7 [13] +/+/+ -/? local-uid/gid = 0 (Error (mount.c:548): Can't bind-mount 52:/run to /tmp/cr-tmpfs.wYvT1r: No such file or directory)
fedora-20 [14] +/+/+ -/? local-uid/gid = 0 (Error (namespaces.c:155): Can't dump nested mnt namespace for 14590)
scientific-6 [15] ? ? untested
suse-12.3 [16] ? ? untested
ubuntu-10.04 [17] +/+/+ +/+ local-uid/gid = 0
ubuntu-13.10 [18] ? ? untested