Symptoms:
- Windows vCenter Server 6.5 U1 migration to VCSA 6.7 U3 or higher version or from Windows vCenter 6.7 to VCSA 7.0 fails with "Internal error occurs during Export of VMware vCenter Authentication Framework"
- You will see similar log entries in the Export_com.vmware.vmafd_xxx.log file as mentioned below
Export_com.vmware.vmafd_xxx.log:
2019-11-14T21:33:10.686Z ERROR __main__ Upgrade Phase 'vmafdupgrade:Export' failed. Exception: Failed to stop VMwareCertificateService^M
Traceback (most recent call last):^M
File "C:\mig4EDD.tmp\PFiles\VMware\CIS\cis_upgrade_runner\payload\component-scripts\vmafdupgrade\componentExporter.py", line 77, in _stopService^M
serviceManager.stop(serviceName)^M
File "C:\mig4EDD.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\service_manager.py", line 979, in wrapper^M
return getattr(controller, attr)(*args, **kwargs)^M
File "C:\mig4EDD.tmp\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\service_manager.py", line 778, in stop^M
raise IllegalServiceOperation(errorText)^M
service_manager.IllegalServiceOperation: Service cannot be stopped. Error: System error 1051 has occurred.
stderr:
2019-11-15T17:33:37.87Z INFO service_manager Executing command '[['net', 'stop', 'VMwareCertificateService', '/y']]'
2019-11-15T17:33:57.122Z INFO service_manager Command '[['net', 'stop', 'VMwareCertificateService', '/y']]' has exit-code='2' and stdout: The following services are dependent on the VMware Certificate Service service.
Stopping the VMware Certificate Service service will also stop these services.
VMware Service Lifecycle Manager
VMware Secure Token Service
VMware Identity Management Service
The VMware Service Lifecycle Manager service is stopping........
The VMware Service Lifecycle Manager service could not be stopped.
stderr: System error 1051 has occurred.