SYMPTOMS
Virtuozzo related task fails with the following error messageERRCODE 5000 ERRCODE_MINOR -4 VZALib error, code: -4, msg: Connection to vzagent was closed CAUSE
Most probably there are some network issues between PSA management node and SVE of the Virtuozzo node, mentioned in the task.RESOLUTION
PSA Management Node communicates with SVE (VE with id 1 on a registered node) using ssh protocol on port 22/tcp.One may perform the following actions to investigate/fix such kind of issues:
1. Check connection between the Management Node and the SVE. Execute the following on the Management Node:
$ telnet <sve_ip> 22 2. Try to restart VZAgent:
login to the node as root and run
# vzagent_ctl restart 3. If the problem persists, try to login as vzagent0 user from the Management Mode to the SVE:
$ ssh vzagent0@<sve_ip> -i /usr/local/pem/etc/ssh-keys/vem.key.sec Additional information
1. It is recommended to have Virtuozzo Tools updated on the hardware node. Please install available updates for Virtuozzo Tools using vzup2date utility.WARNING: Do not upgrade Virtuozzo to the next major version (4.x), it is not supported by PSA yet.
See the following article for details about vzup2date usage:
1170 How do I keep Virtuozzo installation up-to-date?
2. To determine ip address of the SVE, one may execute vzlist -a 1 command on the node., also it could be taken from the PCP interface: Top > Service Director > Virtuozzo Manager > VPS Hardware Nodes > (node) > IP Address of Service VPS.
Keywords: vzagent vps