Failed to run vdcpromo
YYYY-MM-DDTHH:MM:SS Initializing Directory server instance ...Vdcpromo failed. Error 9107: Possible errors:LDAP crror: Already existsWin Error: Operation failed with error ERROR_TOO_MANY_NAMES (68) YYYY-MM-DDTHH:MM:SS <class cis.baseCISException. Base InstallException'> YYYY-MM-DDTHH:MM:SS Exception: Traceback (most recent call last): File "/usr/lib/vmuarc-vmafd/firstboot/umafd-firstboot.py", line 184, in main controller.firstboot() File "/usr/lib/unware-vmafd/firstboot/umafd-firstboot.py", line 55, in firstboot self.init() File "/usr/lib/umuarc-vmafd/firstboot/umafd-firstboot.py", linc 61, in init service.init() File "/usr/lib/umuare-vmafd/firstboot/identityinstall/umdir Install.py", line 406, in init self.setup_domain() File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirInstall.py", line 258, in setup_domain raise self.utils. createInstallException (cis.baseCISException. BaseInstallException: { "detail": [ { "id": "install. vmafd. vmdir_vdcpromo_error", "translatable": "Failed to run vdcpromo", "localized": "Failed to run vdcpromo" } ], "componentKey": "vmafd", "problemId": "install. vmafd. vmdir_vdcpromo_error", resolution": { "id": "install. vmafd. vmdir_vdcpromo_error.resolution", "translatable": "Please search of these symptoms in the VMware Knowledge Base for any known issues and possible workarounds. If none can be found, please collect a support bundle and open a support request.", "localized": "Please search of these symptoms in the VMware Knowledge Base for any known issues and possible workarounds. If none can be found, please collect a support bundle and open a support request." } }
Stale entry of the previous vCenter instance remains in the vSphere SSO database. When the new vCenter attempts to register itself using the same FQDN, the vdcpromo process fails because the entry already exists.
Clean Up the stale records by following the steps below:
cmsso-util unregister --node-pnid <FQDN_of_failed_VC> --username [email protected]/usr/lib/vmware-vmdir/bin/vdcrepadmin -f showservers -h localhost -u administrator