Vault - Getting error "ITADM112E Database Error (Operation ALTER USER failed for 'ReplicationUser'@'127.0.0.1')" on the DR replication after a version upgrade.

Vault - Getting error "ITADM112E Database Error (Operation ALTER USER failed for 'ReplicationUser'@'127.0.0.1')" on the DR replication after a version upgrade.

146
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM


Symptom


After performing an upgrade of the Disaster Recovery (DR) node, the DR fails to replicate with the following error in PADR.log:
 
[31/05/2023 06:16:44.997070] :: PADR0009I Replicate started.
[31/05/2023 06:16:44.997154] :: PADR0069I Resetting metadata backup environment.
[31/05/2023 06:16:44.997178] :: PADR0065I Replicating Backup key to E:\License and Keys\OperatorKeys\Backup.key.
[31/05/2023 06:16:45.479367] :: PADR0095I Refreshing Vault configuration files.
[31/05/2023 06:16:46.528514] :: Enter replication user change password method
[31/05/2023 06:16:46.547407] :: ITADM112E Database Error (Operation ALTER USER failed for 'ReplicationUser'@'127.0.0.1').
[31/05/2023 06:16:46.547475] :: ITATS155E Error setting ReplicationUser password. Reason: ITADM112E Database Error (Operation ALTER USER failed for 'ReplicationUser'@'127.0.0.1'). .
[31/05/2023 06:16:46.547503] :: PADR0005E Failed to refresh configuration files (Code 1)
[31/05/2023 06:16:46.547524] :: PADR0005E Failed to initalize replication (Code 1)
[31/05/2023 06:16:46.547543] :: PADR0011E Replicate failed.


Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) Disaster Recovery Vault;Vault Server
  • Vault
  • DR


Cause


There was a failure in the database upgrade process on the DR node that lead to a corrupted database.
The UpgradeDB.log shows the following entries:
 
ITADB495I FIPS Mode is disabled
ITADB399I Using encryption algorithms: Advanced Encryption Standard (AES), 256 bit, RSA (2048 bit), SHA2-512 (Protocol Integrity), SHA2-512 (Files Integrity).
ITADM114I Successfully connected to Database, Database id 0.
ITADB434S Error getting database creation date (Code 133, reason ITADM111E Database Deadlock detected for user (Table 'ca_vault.vault_system' doesn't exist) ).
ITADB369I utility terminated.


Resolution


In this scenario, the DR node has to be reinstalled without reusing the previous installation.
This means:
  • Installing the Operating System from scratch.
  • Installing the Vault Server software.
  • Installing the Disaster Recovery component.
  • Performing a full replication.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001DUgCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail