Search Engine: Elastic

Article ID: 131458, created on Sep 14, 2017, last review on Sep 14, 2017

  • Applies to:
  • Operations Automation 7.1

Symptoms

  1. Task "Provisioning "Panel_6_1" for APS application Plesk in VPS Panel" fails with error:

    APS Application Error:
    500 Internal Server Error
    [ApplicationUnknownError] Command execution failed.
    Command: bash
    Code: 127
    stdout: null
    stderr: bash: mkdir -p /usr/local/aps/699bf7ee-1aca-4230-9b0a-c277f1221bbd: No such file or directory
    bash: chmod -R 755 /usr/local/aps/: No such file or directory
    .
    
    Body: {
    "message": "Command execution failed.\nCommand: bash\nCode: 127\nstdout: null\nstderr: bash: mkdir -p /usr/local/aps/699bf7ee-1aca-4230-9b0a-c277f1221bbd: No such file or directory\nbash: chmod -R 755 /usr/local/aps/: No such file or directory\n",
    "command": "bash",
    "code": "127",
    "stderr": "bash: mkdir -p /usr/local/aps/699bf7ee-1aca-4230-9b0a-c277f1221bbd: No such file or directory\nbash: chmod -R 755 /usr/local/aps/: No such file or directory\n",
    "error": "ApplicationUnknownError",
    "http_request": "POST /vps/api/environments/de178bed-cd99-4518-86a8-1f37c66f6dba/application"
    }
    
  2. The system log (/var/log/messages) on target VM contains the attempt to create folder registered:

    Sep 11 04:41:26 server-1000310-1 qemu-ga: info: guest-exec called: "bash -c bash -c "rm\ -rf\ /usr/local/aps/699bf7ee-1aca-4230-9b0a-c277f1221bbd""
    

Cause

When OACI issues the command to create folder, it makes it with spaces escaped. Such command cannot be executed.

The situation will be fixed in the scope of the software issue #CCU-17133 in future product updates.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 8c199f0ee4305da1a577740620df4a51 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF