Difference between revisions of "Templates"
Jump to navigation
Jump to search
m |
|||
(14 intermediate revisions by 3 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 4: | Line 6: | ||
|- | |- | ||
! template | ! template | ||
− | ! | + | ! start<br/>/stop |
− | ! start/stop | + | ! suspend<br/>/resume |
− | ! suspend/resume | + | ! status |
+ | ! comments | ||
+ | |- | ||
+ | | centos-6 [http://download.openvz.org/template/precreated/centos-6-x86_64-devel.tar.gz] || + || +/- || || 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 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/fedora-20-x86-20131202.tar.xz] || + || - || || (00.037318) Error (namespaces.c:155): Can't dump nested mnt namespace for 2640 | ||
+ | |- | ||
+ | | ubuntu-10.04-minimal [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/ubuntu-10.04-minimal_10.04_amd64.tar.gz] || + || + || || - | ||
+ | |- | ||
+ | | arch [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/arch-20131014-x86_64.tar.xz] || + || - || || 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 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/debian-7.0-amd64-minimal.tar.xz] || + || - || 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 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/oracle-6-x86_64-20131201.tar.xz] || + || + || || - | ||
+ | |- | ||
+ | | owl-3 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/owl-3.0-release-x86_64.tar.gz] || + || - || || (00.082286) Error (sk-unix.c:173): Unix socket 0x9071 not found | ||
+ | |- | ||
+ | | scientific-6-x86_64-20131201 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/scientific-6-x86_64-20131201.tar.xz] || + || + || || - | ||
+ | |- | ||
+ | | slackware-13.37-x86_64-minimal [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/slackware-13.37-x86_64-minimal.tar.gz] || + || - || || (00.079770) Error (sk-unix.c:220): Unix socket 0xb914 without peer 0xb4ac | ||
+ | |- | ||
+ | | suse-9.3 [http://mirror.yandex.ru/mirrors/download.openvz.org/contrib/template/precreated/suse-9.3-x86_64.tar.gz] || - || - || || Failed to mount /sys: No such file or directory. Can't rmdir vzctl-old-root.9eSTPo: Device or resource busy | ||
+ | |} | ||
+ | |||
+ | == Precreated official templates == | ||
+ | |||
+ | Testing with https://github.com/avagin/vzctl @master | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | ! template | ||
+ | ! start<br/>/enter<br>/stop | ||
+ | ! suspend<br/>/resume | ||
! comments | ! comments | ||
|- | |- | ||
− | | centos-6 | + | | 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) |
|- | |- | ||
− | | | + | | 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) |
|- | |- | ||
− | | | + | | 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) |
|- | |- | ||
− | | | + | | 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 |
|- | |- | ||
− | | | + | | 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 |
|} | |} | ||
[[Category:Development]] | [[Category:Development]] |
Latest revision as of 17:33, 26 September 2016
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 |