cluster-api-provider-vsphere
cluster-api-provider-vsphere copied to clipboard
Check timeout on govmomi calls
trafficstars
/kind bug
What steps did you take and what happened: [A clear and concise description of what the bug is.]
Recent reports did show that a request to vcenter could take forever without timing out. Reason for that is that there seem to be no timeouts set on the reuqests.
Q: is CAPV waiting indefinitely for responses of requests to vCenter?
If it is so, we might want to take action and pass through contexts which include a timeout.
What did you expect to happen:
Requests getting canceled after some time.
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Cluster-api-provider-vsphere version:
- Kubernetes version: (use
kubectl version): - OS (e.g. from
/etc/os-release):