Symptoms:
- Deploying, upgrading, or migrating to the vCenter Server Appliance may fail when the vmafd is unable to start.
- The error 9127 indicates an intermittent network failure or high network latency situation.
- In vmafdvmdirclient.log file you may see entries similar to,
2018-10-23T15:55:14.620Z:t@139999458604800:ERROR: VmDirReadDCAccountPassword failed with error code: 40700
2018-10-23T15:55:14.655Z:t@139999458604800:INFO: Lotus server name: (name)
2018-10-23T15:55:15.750Z:t@139999458604800:INFO: VmDirLocalInitializeHost (vsphere.local)(default-site)() passed
2018-10-23T15:55:15.753Z:t@139999458604800:ERROR: VmDirAnonymousLDAPBindEx to (ldap://localhost:389) failed. (-1)(Can't contact LDAP server)
2018-10-23T15:55:25.753Z:t@139999458604800:WARNING: LDAP connect (ldap://localhost:389) failed (9127), 10 seconds passed
- In vmafdvmdirclient.log file you may see entries similar to,
2018-11-15T14:26:51.055Z:t@139681815566080:ERROR: VmDirReadDCAccountPassword failed with error code: 40700 act LDAP server)
2018-11-15T14:27:32.445Z:t@139681815566080:WARNING: LDAP connect (ldap://localhost:389) failed (9127), 40 seconds passed
- In vmafd-firstboot.py_xxxx_stderr.log file you may see entries similar to,
2018-10-23T15:57:45.784Z password:
2018-10-23T15:57:45.785Z Initializing Directory server instance ...
2018-10-23T15:57:45.785Z <class 'cis.baseCISException.BaseInstallException'>
2018-10-23T15:57:45.787Z Exception: Traceback (most recent call last):
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 177, in main
controller.firstboot()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 53, in firstboot
self.init()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 59, in init
service.init()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirInstall.py", line 404, in init
self.setup_domain()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmdirInstall.py", line 259, in setup_domain
problemId = problem)
cis.baseCISException.BaseInstallException: {
"detail": [
{
"id": "install.vmafd.vmdir_vdcpromo_error_23",
"localized": "Could not connect to VMware Directory Service via LDAP. Verify VMware Directory Service is running on the appropriate system and is reachable from this host.",
"translatable": "Could not connect to VMware Directory Service via LDAP. Verify VMware Directory Service is running on the appropriate system and is reachable from this host."
}
],
"problemId": "install.vmafd.vmdir_vdcpromo_error_23",
"resolution": {
"id": "install.vmafd.vmdir_vdcpromo_error_23.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."
},
"componentKey": "vmafd"
}
- You will see below similar log entries in cloudvm.log file location at /var/log/firstboot/cloudvm.log
2017-11-21T16:51:55.096Z Running command:['/opt/vmware/share/vami/vami_set_hostname']
2017-11-21T16:51:56.422Z Done running command
2017-11-21T16:51:56.422Z Stdout: DNS reverse lookup on fc00:10:24:240::26 has failed. Unable to obtain hostname from DNS reverse lookup. Please exam DNS/network configuration. Skip setting hostname.