You are unable to Reconfigure vSphere Replication and receive "A general system error occurred: Failed to register VRMS"
ERROR
Operation Failed
A general system error occurred: Failed to register VRMS.
Operation ID: 1a2b3c4d-5e6f-7g8h-9a10-b11c12d13e14
1/13/22, 2:48:35 PM -0700
VR & vCenter logs shows the messages below.
drconfig.log:
--> Exception: vSphere Replication Appliance configuration error:vCenter Server extension configuration problem.
--> Details: Unable to register extension in vCenter Server.
--> [ msgId: com.vmware.vr.config.ext_config_failure; value: null; errorStacktrace : com.vmware.jvsl.cfg.ConfigException: Internal error.
--> at com.vmware.jvsl.cfg.RegisterExtensionCommand.execute(RegisterExtensionCommand.java:153)
--> at com.vmware.hms.config.helper.VcHelper.registerExtension(VcHelper.java:257)
--> at com.vmware.hms.config.VrConfig.expressSetup(VrConfig.java:332)
--> at com.vmware.hms.config.cli.command.ExpressSetup.run(ExpressSetup.java:58)
--> at com.vmware.hms.config.cli.command.CommandBase.run(CommandBase.java:305)
--> at com.vmware.hms.config.cli.App.run(App.java:151)
--> at com.vmware.hms.config.cli.App.main(App.java:209)
--> Caused by: (vim.fault.AlreadyExists) {
--> faultCause = null,
--> faultMessage = null,
--> name = null
--> }
vpxd.log:
2022-01-13T23:07:21.353Z info vpxd[07184] [Originator@6876 sub=vpxLro opID=73d3f128] [VpxLRO] -- BEGIN lro-15188940 -- AuthorizationManager -- vim.AuthorizationManager.updateRole -- 1a2b3c4d-5e6f-7g8h-9a10-b11c12d13e14(1a2b3c4d-5e6f-7g8h-9a10-b11c12d13e14)
2022-01-13T23:07:21.354Z warning vpxd[07184] [Originator@6876 sub=AuthorizeManager opID=73d3f128] Role with name 'HmsCloudAdmin' already exists
2022-01-13T23:07:21.354Z info vpxd[07184] [Originator@6876 sub=vpxLro opID=73d3f128] [VpxLRO] -- FINISH lro-15188940
2022-01-13T23:07:21.354Z info vpxd[07184] [Originator@6876 sub=Default opID=73d3f128] [VpxLRO] -- ERROR lro-15188940 -- AuthorizationManager -- vim.AuthorizationManager.updateRole: vim.
fault.AlreadyExists:
--> Result:
--> (vim.fault.AlreadyExists) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> name = <unset>
--> msg = ""
--> }
--> Args:
-->
--> Arg roleId:
--> -1440203378
--> Arg newName:
--> "HmsCloudAdmin" <------------
--> ...
--> ]
Duplicate VRM roles present in the ELM group.
NOTE: vSphere Replication 9.X also includes a "HmsDpxAgentUser" role:
Reconfigure vSphere Replication.