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
vsphere_virtual_machine with assigned PCI pass-through GPU (assigned in vCenter as Dynamic DirectPath IO)
Terraform Configuration Files
Debug Output
¦ Error: Plugin did not respond
¦
¦ with module.vsphere.vsphere_virtual_machine.node["<redacted-host-name>"],
¦ on modules/vsphere/vm.tf line 1, in resource "vsphere_virtual_machine" "node":
¦ 1: resource "vsphere_virtual_machine" "node" {
¦
¦ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
?
2021/10/14 11:22:24 [DEBUG] DELETE https://<redacted-git-url>/api/v4/projects/185/terraform/state/dev/lock
Update TF resource state or at least ignore the manual change and DO NOT crash
Actual Behavior
TF Provider crashes
Steps to Reproduce
Assign GPU as Dynamic DirectPath IO to VM in vCenter and run terraform plan
Important Factoids
When using the Non-Dynamic variant (DirectPath IO) - Provider is doing its job.
References
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Additional information: Error occurs only if GPU is added as Dynamic DirectPath IO ... with DirectPath IO everything is working. For me this issues is now irrelevant - but will leave it open for future support of Dynamic type.
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
v1.0.5
vSphere Provider Version
v2.0.2
Affected Resource(s)
vsphere_virtual_machine
with assigned PCI pass-through GPU (assigned in vCenter as Dynamic DirectPath IO)Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Update TF resource state or at least ignore the manual change and DO NOT crash
Actual Behavior
TF Provider crashes
Steps to Reproduce
Assign GPU as Dynamic DirectPath IO to VM in vCenter and run
terraform plan
Important Factoids
When using the Non-Dynamic variant (
DirectPath IO
) - Provider is doing its job.References
Community Note
The text was updated successfully, but these errors were encountered: