vzctl can not start container in legacy kernel [message #52730] |
Tue, 07 February 2017 21:11  |
thadden
Messages: 3 Registered: February 2017
|
Junior Member |
|
|
Hi,
I am using vzctl on a normal lagacy kernel on Fedora 25. Since FC25 I can not start any containers any more:
[root@jo-laptop ~]# vzctl start rhel-7.2
Directory /proc/vz not found, assuming non-OpenVZ kernel
Starting container...
Mounting root: /var/lib/vz/root/999 /var/lib/vz/private/999
Container is mounted
WARNING: Running container unprivileged. USER_NS not supported, or runtime disabled
Setting iptables mask 0x1c000007
Setting features mask 0000000000000001/0000000000000001
Running container script: /etc/vz/dists/scripts/redhat-add_ip.sh
Running container script: /etc/vz/dists/scripts/redhat-set_hostname.sh
Running container script: /etc/vz/dists/scripts/prestart.sh
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
Killing container ...
Container was stopped
Container is unmounted
The return code is 79 which should mean "Container action script returned an error", but the above scripts all run without an error. Also an strace of the process did not result in any ideas what happens.
Until some half year ago (was Fedora 24, then) it worked fluently and I used it quiet frequently - which I wanted to do again with the above results. So my question is: Is that error known? Are there any changes I can make to the config to get better results or debug deeper?
[root@jo-laptop ~]# uname -r
4.9.6-200.fc25.x86_64
[root@jo-laptop ~]# rpm -q vzctl-core
vzctl-core-4.8-1.fc24.3.x86_64
Thanks,
Joachim
|
|
|
|
Re: vzctl can not start container in legacy kernel [message #52883 is a reply to message #52730] |
Fri, 30 June 2017 19:38  |
thadden
Messages: 3 Registered: February 2017
|
Junior Member |
|
|
Unfortunately this does not help in any way. Seems to be essentially broken in newer kernels:
[root@jo-laptop ~]# uname -r
4.11.7-200.fc25.x86_64
[root@jo-laptop ~]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch:cxx-4.1-amd64: cxx-4.1-ia32:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-ia 32:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noar ch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 25 (Twenty Five)
Release: 25
Codename: TwentyFive
Thanks,
Joachim
|
|
|