Hello,
Today i have update openvz 7 packages with default yum update command and after that i noticed that i cant stop containers.
Containers are created in bridged mode with following commands:
vzctl create 32 --ostemplate ubuntu-16.04-x86_64 --config SOME_CFG
prlctl set 32 --hostname HOSTNAME
prlctl set 32 --netif_add eth0
prlctl set 32 --ifname eth0 --ipadd IPADDRESS
prlctl set 32 --ifname eth0 --gw GATEWAY
prlctl set 32 --ifname eth0 --network network1
prlctl set 32 --onboot yes
vzctl set 32 --devices c:10:200:rw --devices c:108:0:rw --save
prlctl set 32 --features nfsd:on --features ppp:on --features bridge:on
prlctl start 32
prlctl set 32 --userpasswd root:somepassword
prlctl exec 32 mkdir -p /dev/net
prlctl exec 32 mknod /dev/net/tun c 10 200
prlctl exec 32 chmod 600 /dev/net/tun
prlctl exec 32 mknod /dev/ppp c 108 0
prlctl exec 32 chmod 600 /dev/ppp
prlctl exec 32 mknod /dev/fuse c 10 229
prlctl exec 32 chmod 600 /dev/fuse
Instantly after CT creation if i try to stop CT i`m getting this output:
vzctl stop 32
Stopping the Container ...
Wait CT state stopped timed out
Container stop timeout has expired
Forcibly stop the Container...
freeze
unfreeze
Wait CT state stopped timed out
Failed to stop Container: operation timed out
Forcibly stop the Container...
freeze
unfreeze
Wait CT state stopped timed out
Failed to stop Container: operation timed out
Forcibly stop the Container...
freeze
unfreeze
Wait CT state stopped timed out
Failed to stop Container: operation timed out
Unable to stop the Container: operation timed out
Container is still running after stop command, but processes count is -
vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
29 - running SOMEIPADDRESS SOMEHOSTNAME
30 - running SOMEIPADDRESS SOMEHOSTNAME
31 - running SOMEIPADDRESS SOMEHOSTNAME
32 - running SOMEIPADDRESS SOMEHOSTNAME
Latest installed packages are:
rpm -qa --last | grep "Thu 05 Apr 2018"
ebtables-2.0.10-15.vl7.x86_64 Thu 05 Apr 2018 02:33:10 AM EEST
prl-disp-service-tests-7.0.828-1.vz7.x86_64 Thu 05 Apr 2018 02:06:32 AM EEST
prl-disp-service-7.0.828-1.vz7.x86_64 Thu 05 Apr 2018 02:06:32 AM EEST
prl-disp-legacy-7.0.828-1.vz7.x86_64 Thu 05 Apr 2018 02:06:32 AM EEST
vzmigrate-7.0.102-1.vz7.x86_64 Thu 05 Apr 2018 02:06:31 AM EEST
abrt-console-notification-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:31 AM EEST
vzkernel-3.10.0-693.21.1.vz7.46.3.x86_64 Thu 05 Apr 2018 02:06:30 AM EEST
libvzctl-7.0.474-1.vz7.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-tui-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-retrace-client-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-python-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-libs-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-dbus-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-cli-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-addon-vmcore-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-addon-python-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-addon-pstoreoops-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-addon-kerneloops-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-addon-ccpp-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
abrt-2.1.11-51.vl7.9.x86_64 Thu 05 Apr 2018 02:06:25 AM EEST
Kernel: 3.10.0-693.21.1.vz7.46.3
vzctl: vzctl v.7.0.185-1.vz7
I beleave that there is some bug in latest update and hope it will be fixed.
Thank you very much.
[Updated on: Thu, 05 April 2018 00:00]
Report message to a moderator