Symptoms:
- Upgrading Platform Service Controller (PSC) to 6.5/6.7 fails with vmafd firstboot with error: Failed to force refresh TRUSTED_ROOTS; Error code - 183
- Embedded PSC or external PSC upgrade fails with vmafd firstboot error code 183
- /var/log/firstboot/vmafd-firstboot.py_xxxxx_stderr.log
VMAFD boot failed directly after attempt to vecs-cli ‘force refresh’
<timestamp> Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'force-refresh']
<timestamp>
<timestamp> VMAFD Boot failed
Exception: Traceback (most recent call last):
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 131, in main
controller.client_mode()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 79, in client_mode
service.client_mode()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdUpgrade.py", line 273, in client_mode
self.post_init()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdUpgrade.py", line 257, in post_init
self.vecs_force_refresh()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdInstall.py", line 748, in vecs_force_refresh
problemId = "install.vmafd.vecs_force_refresh_failed")
BaseInstallException: {
"resolution": {
"id": "install.vmafd.vecs_force_refresh_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": [
183
],
"id": "install.vmafd.vecs_force_refresh_failed",
"localized": "Failed to force refresh TRUSTED_ROOTS, Error : 183",
"translatable": "Failed to force refresh TRUSTED_ROOTS, Error : %(0)d"
}
],
"componentKey": "vmafd",
"problemId": "install.vmafd.vecs_force_refresh_failed"
}
- The above symptoms may occur during a converge operation when attempting to migrate from an external PSC to embedded deployment
- vmafdd.log
<timestamp> err vmafdd t@140029373015808: [Error - 1006, ../../common/ssl.c:1964]
<timestamp> err vmafdd t@140029373015808: [Error - 1006, ../../../server/vmafd/vecsserviceapi.c:717]
<timestamp> err vmafdd t@140029373015808: VecsSrvAddCertificate returning 1006
<timestamp> err vmafdd t@140029373015808: [Error - 1006, ../../../server/vmafd/rootfetch.c:270]
<timestamp> notice vmafdd t@140029373015808: Failed to update trusted roots. Error [1006]