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
Hi, im currently trying to deploy VM's from terraform using the vsphere provider (terraform version v1.10.4 and vsphere provider v2.10.0) and i get an error when i try to deploy them from a template.
The main issue is when i use the customize option , where is the moment i get the error.
I get the following error:
2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere_v2.10.0_x5: Response contains error diagnostic: diagnostic_detail="" tf_proto_version=5.6 tf_provider_addr=provider tf_req_id=8e1a640b-5042-bc69-e015-5443b487fe41 u/caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 u/module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf_resource_type=vsphere_virtual_machine tf_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300
*2025-01-29T11:23:57.917-0300 [DEBUG] State storage statemgr.Filesystem declined to persist a state snapshot
2025-01-29T11:23:57.917-0300 [ERROR] vertex "vsphere_virtual_machine.vm" error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
╷
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
│
│ with vsphere_virtual_machine.vm,
│ on main_debian12.tf line 44, in resource "vsphere_virtual_machine" "vm":
│ 44: resource "vsphere_virtual_machine" "vm" {
│
╵
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux_amd64/terraform-provider-vsphere_v2.10.0_x5 id=365991
user1@server1:~/terraform$ 2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere_v2.10.0_x5: Response contains error diagnostic: diagnostic_detail="" tf_proto_version=5.6 tf_provider_addr=provider tf_req_id=8e1a640b-5042-bc69-e015-5443b487fe41 u/caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 u/module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf_resource_type=vsphere_virtual_machine tf_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300
2025-01-29T11:23:57.917-0300 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2025-01-29T11:23:57.917-0300 [ERROR] vertex "vsphere_virtual_machine.vm" error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
╷
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
│
│ with vsphere_virtual_machine.vm,
│ on main_debian12.tf line 44, in resource "vsphere_virtual_machine" "vm":
│ 44: resource "vsphere_virtual_machine" "vm" {
│
╵
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux_amd64/terraform-provider-vsphere_v2.10.0_x5 id=365991
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, im currently trying to deploy VM's from terraform using the vsphere provider (terraform version v1.10.4 and vsphere provider v2.10.0) and i get an error when i try to deploy them from a template.
The main issue is when i use the customize option , where is the moment i get the error.
I get the following error:
2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere_v2.10.0_x5: Response contains error diagnostic: diagnostic_detail="" tf_proto_version=5.6 tf_provider_addr=provider tf_req_id=8e1a640b-5042-bc69-e015-5443b487fe41 u/caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 u/module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf_resource_type=vsphere_virtual_machine tf_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300
*2025-01-29T11:23:57.917-0300 [DEBUG] State storage statemgr.Filesystem declined to persist a state snapshot
2025-01-29T11:23:57.917-0300 [ERROR] vertex "vsphere_virtual_machine.vm" error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
╷
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
│
│ with vsphere_virtual_machine.vm,
│ on main_debian12.tf line 44, in resource "vsphere_virtual_machine" "vm":
│ 44: resource "vsphere_virtual_machine" "vm" {
│
╵
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux_amd64/terraform-provider-vsphere_v2.10.0_x5 id=365991
2025-01-29T11:23:57.927-0300 [DEBUG] provider: plugin exited
user1@server1:~/terraform$ 2025-01-29T11:23:57.910-0300 [ERROR] provider.terraform-provider-vsphere_v2.10.0_x5: Response contains error diagnostic: diagnostic_detail="" tf_proto_version=5.6 tf_provider_addr=provider tf_req_id=8e1a640b-5042-bc69-e015-5443b487fe41 u/caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 u/module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="error sending customization spec: Customization of the guest operating system is not supported due to the given reason: " tf_resource_type=vsphere_virtual_machine tf_rpc=ApplyResourceChange timestamp=2025-01-29T11:23:57.910-0300
2025-01-29T11:23:57.917-0300 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2025-01-29T11:23:57.917-0300 [ERROR] vertex "vsphere_virtual_machine.vm" error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
╷
│ Error: error sending customization spec: Customization of the guest operating system is not supported due to the given reason:
│
│ with vsphere_virtual_machine.vm,
│ on main_debian12.tf line 44, in resource "vsphere_virtual_machine" "vm":
│ 44: resource "vsphere_virtual_machine" "vm" {
│
╵
2025-01-29T11:23:57.925-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2025-01-29T11:23:57.926-0300 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.10.0/linux_amd64/terraform-provider-vsphere_v2.10.0_x5 id=365991
2025-01-29T11:23:57.927-0300 [DEBUG] provider: plugin exited
Someone told me that the text marked in bold might be important.
i also give you the customize part
clone {
template_uuid = data.vsphere_virtual_machine.template.id
customize {
linux_options {
host_name = "server"
domain = "domain"
}
network_interface {
ipv4_address = "1.1.1.2"
ipv4_netmask = 24
}
ipv4_gateway = "1.1.1.254"
dns_server_list = ["10.1.2.3", "10.1.2.9"]
}
}
}
The ip's are examples
I tried using .OVA templates like the terraforms docs told me to, but i was unsuccesful. I would love to get some help please
cheers !
Beta Was this translation helpful? Give feedback.
All reactions