CPM password change fail with error "CASTM006E Transaction failed because logon was not called with this Session Instance"
Symptom
CPM fail to change the password with the following error:
Error in changepass to user <ObjectName> on vault CASTM006E Transaction failed because logon was not called with this Session Instance. The CPM is trying to change this password because its status matches the following search criteria: ExpirationPeriod
When checking on the vault's ITALOG the following error occur during the same period of time:
28/11/2020 07:57:57 ITATS309E Database deadlock occurred, Transaction cannot be restarted, Transaction will rollback. (Diagnostic information = 1,<ObjetName>
Environment
11.1;14.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) Central Policy Manager (CPM) Idira Vault
Resolution
The workaround is to reduce the MaxConcurrentConnections to 1. To do that:
1. In PVWA, go to Administration | Option. Click on Platform Management. Locate the Platform.
2. Go to Automatic Password Management | General.
3. Change the MaxConcurrentConnections value to 1.