Search Engine: Elastic

Article ID: 130846, created on May 21, 2017, last review on May 21, 2017

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0

Symptoms

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

APS Application Error:
406 Not Acceptable
[ApplicationUnknownError] Provisioning: resource 3d719827-9230-440c-9095-1b6e6b97f5b4 of type 'panels' (http://www.parallels.com/aps/plesk/panel/1.1) for APS application 'Parallels Plesk Panel-1.1-0': P100001: Operation failed; details: [null].

Body: {
"error": "ApplicationUnknownError",
"message": "P100001: Operation failed; details: [null]",
"http_request": "POST /environments/398a9150-ffad-47c6-b168-2a4b91e59588/application to     '192.0.2.1:4475'"

On attempt to restart the task 2-3 times the VE is busy message can be displayed in the task output:

Output  APS Application Error:
406 Not Acceptable
[ApplicationUnknownError] Provisioning: resource 3d719827-9230-440c-9095-1b6e6b97f5b4 of type 'panels' (http://www.parallels.com/aps/plesk/panel/1.1) for APS application 'Parallels Plesk Panel-1.1-0': [IM] P20006: VE is busy.

Body: {
"source": "IM",
"message": "[IM] P20006: VE is busy",
    "error": "ApplicationUnknownError",
"http_request": "POST /environments/398a9150-ffad-47c6-b168-2a4b91e59588/application to     '192.0.2.1:4475'"

Cause

SSH access from the Instance Manager (IM) node to the corresponding hardware virtualization node (HW node) by password does not work. In the PACI-vm2vf.log log file it is seen that IM tries to download package.zip from the OA Management Node:

2015-09-04 10:42:41,622 (2fa55759-fbfe-4c90-b75f-9f7be8d5bae2) INFO  NativeVm2VfCode [Thread-1127] - [107:5866] INF cmd: set -o pipefail ; wget --no-check-certificate --header 'Accept: application/aps' -O - 'https://192.0.2.1:6308//aps/2/packages/fdc8e057-841f-4645-b478-f91a28fbcd42' | prlctl exec {fdb876f6-3e4e-429e-aab3-c8163b468a57} bash -c "cat > '/usr/local/aps/e1c1f62d-0ef1-49db-bf82-420c38b77094/package.zip'" @[exec.c][728][wget_thread][7864])
2015-09-04 10:42:41,626 (2fa55759-fbfe-4c90-b75f-9f7be8d5bae2) DEBUG NativeVm2VfCode [Thread-1128] - [107:5866] DBG fd=0 @[exec.c][258][read_string][7864])
2015-09-04 10:42:41,690 (2fa55759-fbfe-4c90-b75f-9f7be8d5bae2) DEBUG NativeVm2VfCode [Thread-1129] - [107:5866] DBG fd=0 closed len=108 @[exec.c][281][read_string][7864])

and fails:

2015-09-04 10:42:41,690 (2fa55759-fbfe-4c90-b75f-9f7be8d5bae2) DEBUG NativeVm2VfCode [Thread-1130] - [107:5866] DBG stderr =
Warning: Permanently added '192.0.2.2' (RSA) to the list of known hosts.
Permission denied (publickey).         
 @[exec.c][759][wget_thread][7864])
...
2015-09-04 10:42:41,690 (2fa55759-fbfe-4c90-b75f-9f7be8d5bae2) ERROR NativeVm2VfCode [Thread-1131] - [107:5866] ERR exec_pipeline({fdb876f6-3e4e-429e-aab3-c8163b468a57}): execvpe failure: Operation not permitted @[exec.c][769][wget_thread][7864])

Note that HW nodes should be accessible from the IM node with a password. If login with password is restricted (e.g. only ssh via public key is available), provisioning will fail.

Resolution

Fix the issue with SSH access to the HW node and resubmit the task to provisioning.

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF