You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error output:
error reconfiguring virtual machine: Post https://xxx/sdk: context deadline exceeded
Additionally, there was an error removing the cloned virtual machine:
error destroying virtual machine: Post https://xxx: context deadline exceeded
Expected Behavior
We specify api_timeout: "60" in vphere provider block
Creation vm completed with reconfigure exced five minutes
Actual Behavior
When we build a vm with the vpshere provider with a large disk like 1TB.
the reconfiguration of the
vm takes a long time and after 5 minutes the vms is deleted by vsphere
Test we maked
we had make modification in provider en rebuild it to update provider.defaultapitimeout with 10 minutes instead of 5 minutes and it is working fine.
in file > virtual_machine_helper.go
Before update :
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
0.11.11
vSphere Provider Version
1.25.0
Affected Resource(s)
vsphere_virtual_machine
creation with additional large disk (more than 400GB)Terraform template creation
Debug Output
error output:
error reconfiguring virtual machine: Post https://xxx/sdk: context deadline exceeded
Additionally, there was an error removing the cloned virtual machine:
error destroying virtual machine: Post https://xxx: context deadline exceeded
Expected Behavior
We specify api_timeout: "60" in vphere provider block
Creation vm completed with reconfigure exced five minutes
Actual Behavior
When we build a vm with the vpshere provider with a large disk like 1TB.
the reconfiguration of the
vm takes a long time and after 5 minutes the vms is deleted by vsphere
Test we maked
we had make modification in provider en rebuild it to update provider.defaultapitimeout with 10 minutes instead of 5 minutes and it is working fine.
in file > virtual_machine_helper.go
Before update :
After update :
So despite the modification in 1.25.0 the parameter api_timeout which should overwrite the defaultapitimeout does not seem to work in the template
References
Make the API timeout configurable when creating VM # 1278
#1278
The text was updated successfully, but these errors were encountered: