OpenVZ Forum


Home » International » Russian » После перезагрузки сервера один контейнер завис (Cannot lock the Container)
После перезагрузки сервера один контейнер завис [message #52806] Sat, 08 April 2017 17:29
scriptracer is currently offline  scriptracer
Messages: 3
Registered: April 2017
Junior Member
From: *bb.netbynet.ru
Перезагрузили сервер
shutdown -r now
Один из все контейнров завис

# prlctl status ct-name
CT ct-name exist running

# prlctl enter ct-name
enter into CT failed

# prlctl stop ct-name
Stopping the CT...
Failed to stop the CT: PRL_ERR_VZCTL_OPERATION_FAILED (Details: Cannot lock the Container)

# ls -alh /vz/lock
-rw------- 1 root root 14 апр 8 17:36 39df2dba-a9fa-45ee-bf9c-0a351fbeade9.lck

# tail /vz/lock/39df2dba-a9fa-45ee-bf9c-0a351fbeade9.lck
2762
resuming

# ps aux | grep 2762
root 2762 0.0 0.0 69572 3560 ? S 17:36 0:00 /usr/sbin/vzctl resume 39df2dba-a9fa-45ee-bf9c-0a351fbeade9


Смотрим логи:
/var/log/vzctl.log:2017-04-04T14:16:55+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Can't open /sys/fs/cgroup/pids/machine.slice/39df2dba-a9fa-45ee-bf9c-0a 351fbeade9/tasks for writing: No such file or directory
/var/log/vzctl.log:2017-04-04T16:16:01+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Unable to restore term attr: Input/output error
/var/log/vzctl.log:2017-04-08T14:34:31+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Setting up checkpoint...
/var/log/vzctl.log:2017-04-08T14:36:38+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Failed to checkpoint the Container
/var/log/vzctl.log:2017-04-08T14:36:38+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : All dump files and logs were saved to /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/dump/Dump.f ail
/var/log/vzctl.log:2017-04-08T14:36:38+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Checkpointing failed
/var/log/vzctl.log:2017-04-08T14:45:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Stopping the Container ...
/var/log/vzctl.log:2017-04-08T14:45:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : The Container is in the suspended state
/var/log/vzctl.log:2017-04-08T14:45:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : unfreeze
/var/log/vzctl.log:2017-04-08T14:45:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Can't open /sys/fs/cgroup/pids/machine.slice/39df2dba-a9fa-45ee-bf9c-0a 351fbeade9/tasks for writing: No such file or directory
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Wait CT state stopped timed out
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container stop timeout has expired
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Got signal 9
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Forcibly stop the Container...
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : freeze
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : unfreeze
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : vcmmd: failed to unregister Container: Failed to connect to VCMMD service
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container was stopped
/var/log/vzctl.log:2017-04-08T14:46:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Unmount image: /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd
/var/log/vzctl.log:2017-04-08T14:46:08+0300 : Unmounting file system at /vz/root/39df2dba-a9fa-45ee-bf9c-0a351fbeade9
/var/log/vzctl.log:2017-04-08T14:46:09+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T14:46:09+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container is unmounted
/var/log/vzctl.log:2017-04-08T14:46:09+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : vcmmd: failed to unregister Container: Failed to connect to VCMMD service
/var/log/vzctl.log:2017-04-08T15:36:58+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Starting Container ...
/var/log/vzctl.log:2017-04-08T15:36:58+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Mount image: /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd
/var/log/vzctl.log:2017-04-08T15:36:58+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T15:36:58+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T15:36:58+0300 : Adding delta dev=/dev/ploop27793 img=/vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hd d/root.hds (rw)
/var/log/vzctl.log:2017-04-08T15:37:00+0300 : Mounted /dev/ploop27793p1 at /vz/root/39df2dba-a9fa-45ee-bf9c-0a351fbeade9 fstype=ext4 data=',pfcache_csum,balloon_ino=12'
/var/log/vzctl.log:2017-04-08T15:37:00+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container is mounted
/var/log/vzctl.log:2017-04-08T15:37:00+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Setting permissions for image=/vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root. hdd
/var/log/vzctl.log:2017-04-08T15:37:00+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Os release: 3.10.0
/var/log/vzctl.log:2017-04-08T15:37:01+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Configure memguarantee: 0%
/var/log/vzctl.log:2017-04-08T15:37:01+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Setting permissions for image=/vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root. hdd
/var/log/vzctl.log:2017-04-08T15:37:01+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Adding ip address(es): 10.37.130.8
/var/log/vzctl.log:2017-04-08T15:37:04+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : vz-net_add WARNING: ! /sbin/arping -f -c 1 -q -w 1 -I br0 10.37.130.8 FAILED
/var/log/vzctl.log:2017-04-08T15:37:07+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : File resolv.conf was modified
/var/log/vzctl.log:2017-04-08T15:37:07+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container start in progress...
/var/log/vzctl.log:2017-04-08T17:24:32+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Setting up checkpoint...
/var/log/vzctl.log:2017-04-08T17:24:57+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Checkpointing finished successfully
/var/log/vzctl.log:2017-04-08T17:24:57+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : vcmmd: failed to unregister Container: Failed to connect to VCMMD service
/var/log/vzctl.log:2017-04-08T17:24:57+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Unmount image: /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd
/var/log/vzctl.log:2017-04-08T17:24:57+0300 : Unmounting file system at /vz/root/39df2dba-a9fa-45ee-bf9c-0a351fbeade9
/var/log/vzctl.log:2017-04-08T17:24:59+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T17:24:59+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container is unmounted
/var/log/vzctl.log:2017-04-08T17:24:59+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : vcmmd: failed to unregister Container: Failed to connect to VCMMD service
/var/log/vzctl.log:2017-04-08T17:24:59+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Checkpointing completed successfully
/var/log/vzctl.log:2017-04-08T17:36:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Restoring the Container ...
/var/log/vzctl.log:2017-04-08T17:36:08+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Mount image: /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd
/var/log/vzctl.log:2017-04-08T17:36:08+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T17:36:08+0300 : Opening delta /vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hdd/ro ot.hds
/var/log/vzctl.log:2017-04-08T17:36:08+0300 : Adding delta dev=/dev/ploop13339 img=/vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root.hd d/root.hds (rw)
/var/log/vzctl.log:2017-04-08T17:36:09+0300 : Mounted /dev/ploop13339p1 at /vz/root/39df2dba-a9fa-45ee-bf9c-0a351fbeade9 fstype=ext4 data=',pfcache_csum,balloon_ino=12'
/var/log/vzctl.log:2017-04-08T17:36:09+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Container is mounted
/var/log/vzctl.log:2017-04-08T17:36:10+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Setting permissions for image=/vz/private/39df2dba-a9fa-45ee-bf9c-0a351fbeade9/root. hdd
/var/log/vzctl.log:2017-04-08T18:39:42+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : enter into CT failed
/var/log/vzctl.log:2017-04-08T18:39:52+0300 vzctl : CT 39df2dba-a9fa-45ee-bf9c-0a351fbeade9 : Cannot lock the Container


В чем проблема? Что делать?
Previous Topic: page cache и vswap
Next Topic: venet0... failed
Goto Forum:
  


Current Time: Mon Jul 24 02:45:56 GMT 2017