While trying to rescan HBAs/VMFS for ESXi hosts using an orchestrator workflow, it fails with below error -
Error when rescanning VMFS. Reason: InternalError: https://esxi:443/sdk invocation failed with 'java.net.SocketTimeoutException: Read timed out'.
VMware Aria Automation 8.x
This issue happens when the socket read timeout reaches early within Orchestrator and the connection closes before the task completion on vSphere. This is usually seen when the rescan tasks take longer time to complete on vSphere level.
/data/vco/usr/lib/vco/app-server/conf/vmo.properties file and add below line to it (Timeout value needs to be set as per the task completion time taken on vSphere)-com.vmware.vmo.plugin.vi4.socketReadTimeout = 360000
kubectl rollout restart deployment vco-app -n prelude