Symptoms

Provisioning "Panel_6_1" for APS application Plesk in VPS Panel task fails with the following error:

APS Application Error:
406 Not Acceptable
[ApplicationUnknownError] P100001: Operation failed; details: [null].

The following message can be found in /var/log/pa/vps.vm2vf.log on the hardware node, where VE is provisioned:

2016-09-01 09:22:28,104 (web_64bb9b3e-3f05-4056-968f-00da4fa6cbc4 put_file_cb callback) ERROR SimpleCallbackProxy [Thread-57] - ERR exec_pipeline({1a8964be-a5d3-4a96-9d62-f0b27b04832d}): execvpe failure: Operation not permitted @[exec.c][769][wget_thread][158468])

Port 22 is closed on localhost on this node:

[root@vz01 ~]# telnet localhost 22
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

Cause

vm2vf component of Cloud Infrastructure module, installed on the Virtuozzo hardware node, uses SSH connection on localhost address for certain operations. Closed port 22 may interfere and cause task failures. The behavior will be improved in scope of CCU-13213.

Resolution

Make sure port 22 is open for local connections.

  1. Add the following ListenAddress line in /etc/ssh/sshd_config and restart SSH:

    # grep ListenAddress /etc/ssh/sshd_config
    ListenAddress 192.0.2.2
    ListenAddress 127.0.0.1 <--- should be added
    
    # service sshd restart
    
  2. Open port 22 for localhost in the local firewall.

Internal content