Symptoms
Task "Cleanup packages on host" fails with the following output preventing the corresponding node deprovisioning from Operations Automation:
Command '/bin/rpm -e PACI-agent' execution failed with code 1: error: package PACI-agent is not installed
Cause
The issue is caused by the second attempt to delete packages on the host in scope of the same task. This behaviour is recognized as software-related issue #CCU-10409.
Resolution
#CCU-10409 has been fixed in Operations Automation version 7.0.
In order to work around it, install PACI-agent on the node manually using yum install PACI-agent
and rerun the task.