OpenVZ Forum


Home » General » Support » vzctl stop freezing after update OVZ 7 (Probably bug in latest updates)
vzctl stop freezing after update OVZ 7 [message #53228] Wed, 04 April 2018 23:58 Go to next message
bacarrdy is currently offline  bacarrdy
Messages: 4
Registered: March 2015
Location: Lithuania
Junior Member
From: *static.zebra.lt
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

Re: vzctl stop freezing after update OVZ 7 [message #53232 is a reply to message #53228] Sun, 08 April 2018 18:04 Go to previous message
vaverin is currently offline  vaverin
Messages: 682
Registered: September 2005
Senior Member
From: *2com.net
Just for information: it was reported as OVZ-7005
it was a bug in libvzctl-7.0.474 and it was fixed in ibvzctl-7.0.475
Previous Topic: How to fix: cannot assign requested address (VNC)
Next Topic: possible to run Virtuozzo 7 CTs?
Goto Forum:
  


Current Time: Mon Oct 15 10:31:31 GMT 2018