Symptoms
Install PA agent on node task fails with the following error:
Host #0 does not exist.
Previously, there were attempts to install OA Agent manually on the node getting registered.
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SWsoft\PEM\slave.example.com
registry key contains host_id
value that is not present in the list of servers in PCP.
Cause
There is no information about the slave node in OA MN database after a series of actions with the host, therefore a discrepancy appears.
Resolution
- Uninstall OA Agent from the slave host.
- Run the task again, it will install the Agent from scratch.