Unable to start the Recovery Data Aggregator after successful upgrade 21.2.2 to 21.2.4
Recovery DA karaf.log file shows:
"WARN | qtp1529960894-94 | 2021-11-03T12:41:55,613 | Encryption | m.portal.api.security.Encryption 215 | portal-api.common.util | | Couldn't complete encryption/decryption due to: Error finalising cipher data: pad block corrupted"
Have tried to cycle Data Aggregator dadaemon/activemq - no good, failed to start.
The dadaemon services are running and the systemctl command shows it is Active.
This is a Disaster Recovery environment where all databases and configuration information are replicated from Primary to Disaster Recovery on a daily basis.
The SsoEncryptionDecryptionKey for all systems MUST match or these errors are seen. When checking the values they match on all Primary systems and the Disaster Recover DA. But the Disaster Recovery Portal server has different keys.
The keys are checked as follows:
All supported DX NetOps Performance Management releases
A custom script in use is causing the problem. The script backups up the MySql DBs from Primary Portal, copies them to the Disaster Recovery Portal server and loads them.
The script was using the old insecure MySql user passwords where the current MySql DBs use new complex passwords.
Update the custom script to use the correct new MySql passwords.