Symptoms

You cannot install/remove packages on a node in the Operations Automation (OA) Provider Control Panel (PCP), or you are unable to remove the node from OA as the corresponding task keeps failing with this error:

Output  : Other packaging operation is already in progress on host <hostname>

Cause

  • The necessary package operations on the host have not completed yet. Once they do, the task will complete successfully.
  • The install/remove operation has finished on the destination node, but POA did not receive a callback saying that the job is done. As a result, it still reports that the "package operations on the host have not completed yet."

Resolution

Wait for the task to complete successfully. It may take from several minutes to an hour, depending on server load.

To check if there are any active package operations running on the node, log in to the destination node and run the following:

# ps aux | egrep 'yum|dpkg|apt' | grep -v 'grep'

On a Windows target node, open Task Manager and check for msiexec processes.

If there are no such processes, it means that the package operation completed but OA did not receive the callback. As a result, the package operation is stuck in the OA queue and a restart of the PEM service on the OA management node is required.

# service pem restart
Stopping pleskd:                                           [  OK  ]
Starting pleskd:                                           [  OK  ]

See KB #4642 regarding restarts of POA services.

After restarting pem service, it will be possible to install/remove the package, or to finish the cleanup packages task on the host.

Internal content