In the C:\ProgramData\VMware\vCenterServer\logs\firstboot\vmafd-firstboot.py_ xxxx_stderr.log file, You see entries similar to:
C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\vmafdInstall.py:35: RuntimeWarning: to-Python converter for struct client already registered; second conversion method ignored. import vmafd <YYYY-MM-DD>T<time> AFD Join Domain Failed <YYYY-MM-DD>T<time> password: Error 19: Possible errors: LDAP error: Constraint violation Win Error: The media is write protected. <YYYY-MM-DD>T<time> Exception: Traceback (most recent call last): File "C:\Program Files\VMware\vCenter Server\firstboot\vmafd-firstboot.py", line 112, in main controller.client_mode()File "C:\Program Files\VMware\vCenter Server\firstboot\vmafd-firstboot.py", line 75, in client_mode service.client_mode()File "C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\vmafdInstall.py", line 684, in client_mode self.join_domain() File "C:\Program Files\VMware\vCenter Server\firstboot\identityinstall\vmafdInstall.py", line 381, in join_domain problemId = "install.vmafd.join_vmdir_failed") BaseInstallException: { "resolution": { "id": "install.vmafd.join_vmdir_failed.resolution", "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.", "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." }, "detail": [ { "args": [ 1 ], "id": "install.vmafd.join_vmdir_failed", "localized": "ERROR: 1, join vmdir failed", "translatable": "ERROR: %(0)d, join vmdir failed" } ], "componentKey": "vmafd", "problemId": "install.vmafd.join_vmdir_failed" } </time></time></time>
In the C:\ProgramData\VMware\vCenterServer\logs\vmdird\vmafdvmdirclient.log file, you see entries similar to:
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware vCenter Server 6.0.x
Cause
This issue occurs because of the stale data in the Platform Services Controller (PSC) due to old vCenter Single Sign-On installation data that existed at one time with the same fully qualified domain name as the failing vCenter Server 6.0 installation or upgrade. The vCenter Single Sign-On no longer exists but the references still exist in the running Platform Services Controller.
Resolution
To resolve this issue, clean the stale data from the Platform Service Controller.
Process to clean the stale data from the Platform Service Controller:
To clean the stale data from the Platform Service Controller:
Restore the failed vCenter Server 6.0 installation or upgrade to its previous state.
If you are upgrading from vCenter Server 5.x, stop the VMware VirtualCenter Server service and the VMwareVCMSDS services on the vCenter Server machine.
Log in to the Platform Services Controller machine.
Click Start > Run, type cmd, and press Enter.
Navigate to the C:\Program Files\VMware\vCenter Server\vmdird location by running this command:
cd C:\Program Files\VMware\vCenter Server\vmdird
Ensure that you provide the fully qualified domain name of the vCenter Server machine that is failing to install or upgrade by running this command:
vdcleavefed.exe -h vcenter_fqdn -u Administrator
Note: Enter the fully qualified domain name for vcenter_fqdn for vCenter Server that is currently failing to install or upgrade. This command prompts for the [email protected] password.
Start the VMware VirtualCenter Server service and the VMwareVCMSDS services on the vCenter Server machine, if applicable.
Retry the installation or upgrade of vCenter Server 6.0 again.