Failed to register VRMS - Provided credentials are not valid
search cancel

Failed to register VRMS - Provided credentials are not valid

book

Article ID: 312688

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms:

unable to register vSphere Replication with vCenter. 

ERROR
Operation Failed
A general system error occurred: Failed to register VRMS.
Operation ID: dee1b7a7-a555-4ab5-82b0-34a2783dccf4
12/14/23, 2:29:21 PM -0500


/var/log/vmware/dr/drconfig.log

--> Caused by: java.lang.RuntimeException: Provided credentials are not valid.
-->
-->   at com.vmware.hms.apps.util.util.SrmH5UiConfigAction$1.run(SrmH5UiConfigAction.java:138)
-->   at com.vmware.jvsl.run.ExceptionHandlerRunnable$1.run(ExceptionHandlerRunnable.java:47)
-->   at com.vmware.jvsl.run.CheckedRunnable.withoutChecked(CheckedRunnable.java:19)
-->   at com.vmware.jvsl.run.ExceptionHandlerRunnable.withExceptionHandler(ExceptionHandlerRunnable.java:43)
-->   at com.vmware.hms.apps.util.util.SrmH5UiConfigAction.registerWebSso(SrmH5UiConfigAction.java:105)
-->   at com.vmware.hms.apps.util.util.SrmH5UiConfigAction.updateSRMProp(SrmH5UiConfigAction.java:78)
-->   at com.vmware.hms.apps.util.util.SrmH5UiConfigAction.run(SrmH5UiConfigAction.java:167)
-->   at com.vmware.hms.apps.util.VrcCommit.run(VrcCommit.java:198)
-->   ... 19 more
--> ]
-->   at com.vmware.hms.config.error.VrConfigExceptionMapper.buildVrConfigException(VrConfigExceptionMapper.java:95)
-->   at com.vmware.hms.config.vo.CurrentApplianceSettings.<init>(CurrentApplianceSettings.java:73)
-->   at com.vmware.hms.config.VrConfig.commitApplianceConfiguration(VrConfig.java:693)
-->   at com.vmware.hms.config.VrConfig.expressSetup(VrConfig.java:328)
-->   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)

 

var/log/vmware/vmdird/vmdird-syslog.log :

18-02-28T13:52:12.965331-05:00 err vmdird t@140245530842880: Bind Request Failed (x.x.x.x) error 49: Protocol version: 3, Bind DN: "cn=vcsa1,ou=Domain Controllers,dc=domain,dc=local", Method: SASL
18-02-28T13:52:13.078809-05:00 err vmdird t@140245530842880: SASLSessionStep: sasl error (-13)(SASL(-13): authentication failure: client evidence does not match what we calculated. Probably a password error)
​​Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vmware.cis.core.authz.accesscontrol.impl.LotusInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: com.vmware.identity.interop.ldap.InvalidCredentialsLdapException: Invalid credentials LDAP error [code: 49]

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

 

Environment

VMware vSphere Replication 8.x

Cause

vSphere Replication fails to register with vCenter due to invalid credential of machine account in VMware Directory Service (vmdird) database

Resolution

Please refer the below kb article to reset the vmdird password, post that reconfiguration with vCenter should be successful. 

"LDAP Error Code 49"/Error (49) error in vmdird logs in vCenter Server (2147280)

 

Additional Information

Impact/Risks:


We cannot configure new replications or reconfigure existing replications until we register VR with vCenter.