Symptoms

A task like below fails with the "couldn't connect to host" message:

Task name       Install set of VZTemplates on VPS HW node <HN_ID>
Last execution output   Internal error: Can not install Virtuozzo template from http://<HOST_IP>/tarballs/templates/poa-5.4-1504/pa54-mysql5-server-centos-5-x86_64-ez-20090616-1.noarch.rpm : 7 : http://<HOST_IP>/tarballs/templates/poa-5.4-1504/pa54-mysql5-server-centos-5-x86_64-ez-20090616-1.noarch.rpm : couldn't connect to host.

Cause

On the remote host (identified by <HOST_IP>, likely the OA core) the HTTP or FTP service(depending on the URLs in last execution in output) is not running or firewall rules are preventing the connection.

Resolution

Check the state of the corresponding service and make sure that no firewall rules are blocking the connection.

In case the OA core was migrated recently using backup.sh and restore.sh and tasks fail with this error pointing to FTP service, please contact Odin technical support.

Internal content

Link on internal Article