The VxRail cluster has been built and is attached to the vCenter.
The error occurs on SDDC Manager when adding the workload domain using the WorkflowOptimization-script run on the SDDC Manager.
The error that is encountered is -
Host discovery get api failedUnable to fetch version for VxRail Manager: vx_rail_manager_fqdnTrust store path doesn't exist
The domainmanager.log file on SDDC Manager contains these entries -
Temp trust store /tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxCalling vxRailManager service to get VxRail Manager version for : vx_rail_manager_fqdnUnable to fetch portgroupscom.vmware.evo.sddc.common.vxrail.error.VxRailManagerException: Unable to fetch version for VxRail Manager: vx_rail_manager_fqdn...Caused by: java.lang.IllegalArgumentException: Trust store path doesn't exist
VCF 5.1.1
The necessary file (below) is not present and this causing the issue seen -
/tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
This file will have been created by the workflow -
/tmp/cacertsxxxxxxxxxxxxxxxxxxxx.tmp
Copy (rename) it to -
/tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
cp /tmp/cacertsxxxxxxxxxxxxxxxxxxxx.tmp /tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Set the appropriate permissions and ownerships to match the original file
chown vcf_commonsvc:vcf /tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxchmod -r-xr--r-- /tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Restart the workflow by rerunning the WorkflowOptimization-script run on the SDDC Manager.
As the /tmp/temp_cacertsxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx file now exists, the workflow is expected to succeed.