When you try to deploy a VM from Ops Manager or Bosh, it fails with an error similar to:
Unknown CPI error ''Unknown'' with message ''execution expired''
In the bosh debug task logs, you see the entries similar to:
{"time":1567495937,"stage":"Updating instance","tags":["harbor-app"],"total":1,"task":"deployment_name (0) (canary)","index":1,"state":"failed","progress":100,"data":{"error":"Unknown CPI error ''Unknown'' with message ''execution expired'' in ''attach_disk'' CPI method (CPI request ID: ''cpi-960069'')"}}
{"time":1567495937,"error":{"code":100,"message":"Unknown CPI error ''Unknown'' with message ''execution expired'' in ''attach_disk'' CPI method (CPI request ID: ''cpi-960069'')"}}
', "result_output" = '', "context_id" = '' WHERE ("id" = 18347)
This issue occurs if the Ops Manager or Bosh is unable to reach the vCenter and ESXi hosts over the port 443.
To resolve this issue, ensure that Ops Manager and Bosh are able to reach the vCenter and ESXi over the required ports.
For more information on port requirements for VMware Enterprise PKS, see PKS Core Ports and Protocols section in the VMware Documentation Firewall Ports and Protocols Requirements.