RSA Authentication Manager 8.1 primary instance fails to upgrade to 8.2 with error: Replication flush failed
Originally Published: 2016-09-27
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.1.1
Issue
246589 2016-09-26 20:15:05,363 INFO: Processing all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply...(18)
256591 2016-09-26 20:15:15,365 INFO: Processing all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply...(19)
266596 2016-09-26 20:15:25,370 FATAL: Replication flush failed. Unable to process all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply.
266641 2016-09-26 20:15:25,415 FATAL:
Replication flush failed. Unable to process all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply.
java.lang.AssertionError: Replication flush failed. Unable to process all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply.
at com.rsa.plugins.install.CommandLineInstallEngine.fail(CommandLineInstallEngine.groovy:282)
at com.rsa.plugins.install.CommandLineInstallEngine$fail.call(Unknown Source)
at com.rsa.plugins.install.GroovyInstallEngine.fail(GroovyInstallEngine.groovy:31)
at com.rsa.plugins.install.GroovyInstallEngine$_buildScriptEnvironment_closure5.doCall(GroovyInstallEngine.groovy:159)
at PatchUtils.flushReplication(PatchUtils.groovy:953)
at PatchUtils$flushReplication.call(Unknown Source)
at UpdateRollback.preUpdate_ServiceControl_Stop_All_Services(UpdateRollback.groovy:247)
at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy:22)
at UpdateRollback$_preUpdate_closure1.doCall(UpdateRollback.groovy)
at Utils.withArtifacts(Utils.groovy:48)
at Utils$withArtifacts.call(Unknown Source)
at UpdateRollback.preUpdate(UpdateRollback.groovy:11)
at com.rsa.plugins.install.GroovyInstallEngine.invokeScript(GroovyInstallEngine.groovy:68)
at com.rsa.plugins.install.GroovyInstallEngine$_runTask_closure2.doCall(GroovyInstallEngine.groovy:57)
at com.rsa.plugins.install.GroovyInstallEngine.runTask(GroovyInstallEngine.groovy:56)
at com.rsa.plugins.install.GroovyInstallEngine$_runTasks_closure3.doCall(GroovyInstallEngine.groovy:106)
at com.rsa.plugins.install.GroovyInstallEngine.runTasks(GroovyInstallEngine.groovy:105)
at com.rsa.plugins.install.GroovyInstallEngine$runTasks.call(Unknown Source)
at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40)
Exception in thread "Main Thread" java.lang.AssertionError:
Replication flush failed. Unable to process all pending changesets from: /opt/rsa/am/replication/r2p_chgsets_to_apply.
at com.rsa.plugins.install.CommandLineInstallEngine.fail(CommandLineInstallEngine.groovy:287)
at com.rsa.plugins.install.CommandLineInstallEngine$fail$0.call(Unknown Source)
at com.rsa.plugins.install.GroovyInstallEngine.fail(GroovyInstallEngine.groovy:35)
at com.rsa.plugins.install.GroovyInstallEngine$fail.callCurrent(Unknown Source)
at com.rsa.plugins.install.GroovyInstallEngine.invokeScript(GroovyInstallEngine.groovy:88)
at com.rsa.plugins.install.GroovyInstallEngine$_runTask_closure2.doCall(GroovyInstallEngine.groovy:57)
at com.rsa.plugins.install.GroovyInstallEngine.runTask(GroovyInstallEngine.groovy:56)
at com.rsa.plugins.install.GroovyInstallEngine$_runTasks_closure3.doCall(GroovyInstallEngine.groovy:106)
at com.rsa.plugins.install.GroovyInstallEngine.runTasks(GroovyInstallEngine.groovy:105)
at com.rsa.plugins.install.GroovyInstallEngine$runTasks.call(Unknown Source)
at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40)
Configuration step UpdateRollback:preUpdate [FAILED] [ERROR] Error: Failed to invoke update engine: Failed to prepare the update.
java.lang.Exception: Failed to prepare the update.
at com.rsa.am.updateengine.tasks.BaseUpdateEngineTask.doExecute(BaseUpdateEngineTask.java:56)
at com.rsa.am.updateengine.tasks.Task.execute(Task.java:136)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.doExecuteTask(TaskManagerImpl.java:86)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.execute(TaskManagerImpl.java:41)
at com.rsa.am.updateengine.components.impl.UpdateInstallerImpl.run(UpdateInstallerImpl.java:30)
[INFO] Invoking config engine goal UpdateRollback:postUpdate
1 2016-09-26 20:15:26,808 INFO: Arguments: [UpdateRollback.postUpdate]
Cause
- The working primary should show, as in the example below, in /opt/rsa/am/replication/r2p_chgsets_to_apply/. Note the changeset value then look for that specific value, as shown.
rsaadmin@am81p:~>ll /opt/rsa/am/replication/r2p_chgsets_to_apply/ total 4 drwx------ 3 rsaadmin rsaadmin 4096 Aug 20 09:24 5cb5f3fdd41f3e0a080173ac11da7bb9 rsaadmin@am81p:~>ll /opt/rsa/am/replication/r2p_chgsets_to_apply/5cb5f3fdd41f3e0a080173ac11da7bb9 total 4
- The working replica should show the changesets referencing the same value in /opt/rsa/am/replication/process/:
rsaadmin@am81r:~>ll /opt/rsa/am/replication/progress total 4 -rw-r--r-- 1 rsaadmin rsaadmin 10 Jul 8 12:16 5cb5f3fdd41f3e0a080173ac11da7bb9_progress.txt rsaadmin@am81r:~>cat /opt/rsa/am/replication/progress/5cb5f3fdd41f3e0a080173ac11da7bb9_progress.txt DONE,falsersaadmin@am81r:~>
- The failing primary instance shows a pending item and its error in /opt/rsa/am/replication/r2p_chgsets_to_apply/<chgsets>/error/:
rsaadmin@am81p:/opt/rsa/am/replication>cd r2p_chgsets_to_apply
rsaadmin@am81p:/opt/rsa/am/replication>cd r2p_chgsets_to_apply>ls
e1338af513c0100a0801c134008285ca efa34d990a80000a0801733469fa9576
e2ef65c012c0100a0801740805724d35
rsaadmin@am81p:/opt/rsa/am/replication/r2p_chgsets_to_apply> cd efa34d990a80000a0801733469fa9576
rsaadmin@am81p:/opt/rsa/am/replication/r2p_chgsets_to_apply/efa34d990a80000a0801733469fa9576>ls
error r2p_chgset__838176.sql.gz r2p_chgset__838176.sql.gz.sha256
- The cause is unknown as of the writing of this article.
Workaround
- Delete the problematic replica instance and apply RSA Authentication Manager 8.2 to the primary instance.
- In the primary's Operations Console select Deployment Configuration > Instances > Status Report.
- From the replica context menu, select Delete. This will enable to apply the RSA Authentication Manager 8.2 upgrade successfully. Note: Stopping all the replica services does not correct the issue. It is required to explicitly delete the replica to clear the relevant tables in the database.
- Redeploy the problem instance.
Related Articles
Applying patch or upgrade fails after hardening RSA Authentication Manager appliance 814Number of Views Authentication Manager 8.5 upgrade to 8.6 fails with error: Unactivated changes are present in the WebLogic Server config.xml 1.26KNumber of Views Replication Showing Internal Replication Error During Upgrade to RSA Authentication Manager 8.2 984Number of Views Database reindex required after applying Authentication Manager 8.7 SP1 and Authentication Manager 8.7 SP1 patch 1 due to … 687Number of Views Authentication Manager 8.x upgrade fails with error "Failed to launch the update installer to apply the update" 513Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?