CPM - Account Discovery in Pending - PVWA with Load Balancer
Symptom
Account Discovery process stays in Pending Status and doesn't finish.
Environment
11.4;11.6;12.0;12.2;12.4;12.6;13.0;14.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Discovery;Discovery and Accounts Feed All versions affected if multiple PVWAs / Load Balancer
Cause
When you try to run account discovery and status keeps in "Pending" , no accounts are discovered.
From CACPMScanner.logs, no errors showing up, but process doesn't finish as expected, example:
Resolution
1- cleanup PasswordManager_Pending Safe
(-If backing up the original object is required, move the account from the PasswordManager_Pending safe into another safe.
-If backing up the original object is not required, delete the account from the PasswordManager_Pending safe)
2- Make sure API CredFile is Valid, as per:
https://community.cyberark.com/s/article/How-do-you-re-sync-the-api-cred-file-for-the-CPM-Scanner-service-from-v10-7
3- When multiple PVWA servers / Load balancer are involved:
- PasswordManager\vault\vault.ini [API] Addresses section, ensure this is linked directly to a comma separated list of PVWA servers and that they have ssl certificates that are valid
- make sure you can browse from CPM to each of the individual PVWA servers and that you do not get any ssl certificate errors
Restart CPM service and test again Discovery Process
Client can try directly to perform directly step 3 as first step if above are ok.