Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save solarmicrobe/b4d827eceff51f9ead3cd6bfae9f2d53 to your computer and use it in GitHub Desktop.
Save solarmicrobe/b4d827eceff51f9ead3cd6bfae9f2d53 to your computer and use it in GitHub Desktop.
Output of a "simple" terraform apply spinning up my first ovf to
TF_LOG=debug terraform apply
2020/05/31 23:59:07 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/31 23:59:07 [INFO] Terraform version: 0.12.26
2020/05/31 23:59:07 [INFO] Go runtime version: go1.12.13
2020/05/31 23:59:07 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2020/05/31 23:59:07 [DEBUG] Attempting to open CLI config file: /home/zeus/.terraformrc
2020/05/31 23:59:07 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/05/31 23:59:07 [INFO] CLI command args: []string{"apply"}
2020/05/31 23:59:07 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/31 23:59:07 [DEBUG] checking for provider in "."
2020/05/31 23:59:07 [DEBUG] checking for provider in "/usr/local/bin"
2020/05/31 23:59:07 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2020/05/31 23:59:07 [DEBUG] found provider "terraform-provider-vsphere_v1.18.2_x4"
2020/05/31 23:59:07 [DEBUG] found valid plugin: "vsphere", "1.18.2", "/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4"
2020/05/31 23:59:07 [DEBUG] checking for provisioner in "."
2020/05/31 23:59:07 [DEBUG] checking for provisioner in "/usr/local/bin"
2020/05/31 23:59:07 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2020/05/31 23:59:07 [INFO] backend/local: starting Apply operation
2020-05-31T23:59:07.441-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-31T23:59:07.480-0500 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 args=[/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4]
2020-05-31T23:59:07.484-0500 [DEBUG] plugin: plugin started: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26454
2020-05-31T23:59:07.484-0500 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4
2020-05-31T23:59:07.518-0500 [INFO] plugin.terraform-provider-vsphere_v1.18.2_x4: configuring server automatic mTLS: timestamp=2020-05-31T23:59:07.517-0500
2020-05-31T23:59:07.560-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: plugin address: address=/tmp/plugin908069981 network=unix timestamp=2020-05-31T23:59:07.560-0500
2020-05-31T23:59:07.561-0500 [DEBUG] plugin: using plugin: version=5
2020-05-31T23:59:07.640-0500 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020-05-31T23:59:07.654-0500 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26454
2020-05-31T23:59:07.654-0500 [DEBUG] plugin: plugin exited
2020/05/31 23:59:07 [INFO] terraform: building graph: GraphTypeValidate
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_network.network" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmFromLocalOvf" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_datastore.datastore" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_host.host" (*terraform.NodeValidatableResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_host.host" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_network.network" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "provider.vsphere" references: []
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: [data.vsphere_resource_pool.pool data.vsphere_datacenter.dc data.vsphere_host.host data.vsphere_datastore.datastore]
2020/05/31 23:59:07 [DEBUG] Starting graph walk: walkValidate
2020-05-31T23:59:07.660-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-31T23:59:07.699-0500 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 args=[/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4]
2020-05-31T23:59:07.703-0500 [DEBUG] plugin: plugin started: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26471
2020-05-31T23:59:07.703-0500 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4
2020-05-31T23:59:07.731-0500 [INFO] plugin.terraform-provider-vsphere_v1.18.2_x4: configuring server automatic mTLS: timestamp=2020-05-31T23:59:07.730-0500
2020-05-31T23:59:07.773-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: plugin address: address=/tmp/plugin736540202 network=unix timestamp=2020-05-31T23:59:07.773-0500
2020-05-31T23:59:07.773-0500 [DEBUG] plugin: using plugin: version=5
2020-05-31T23:59:07.853-0500 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020-05-31T23:59:07.883-0500 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26471
2020-05-31T23:59:07.884-0500 [DEBUG] plugin: plugin exited
2020/05/31 23:59:07 [INFO] backend/local: apply calling Refresh
2020/05/31 23:59:07 [INFO] terraform: building graph: GraphTypeRefresh
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc" (*terraform.NodeRefreshableDataResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_datastore.datastore" (*terraform.NodeRefreshableDataResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmFromLocalOvf" (*terraform.NodeRefreshableManagedResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool" (*terraform.NodeRefreshableDataResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_host.host" (*terraform.NodeRefreshableDataResource) needs provider.vsphere
2020/05/31 23:59:07 [DEBUG] ProviderTransformer: "data.vsphere_network.network" (*terraform.NodeRefreshableDataResource) needs provider.vsphere
ansformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
data.vsphere_datacenter.dc - *terraform.NodeRefreshableDataResource
provider.vsphere - *terraform.NodeApplyableProvider
data.vsphere_datastore.datastore - *terraform.NodeRefreshableDataResource
provider.vsphere - *terraform.NodeApplyableProvider
data.vsphere_host.host - *terraform.NodeRefreshableDataResource
provider.vsphere - *terraform.NodeApplyableProvider
data.vsphere_network.network - *terraform.NodeRefreshableDataResource
provider.vsphere - *terraform.NodeApplyableProvider
data.vsphere_resource_pool.pool - *terraform.NodeRefreshableDataResource
provider.vsphere - *terraform.NodeApplyableProvider
provider.vsphere - *terraform.NodeApplyableProvider
vsphere_virtual_machine.vmFromLocalOvf - *terraform.NodeRefreshableManagedResource
provider.vsphere - *terraform.NodeApplyableProvider
------
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_host.host" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_network.network" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "provider.vsphere" references: []
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: [data.vsphere_host.host data.vsphere_datacenter.dc data.vsphere_datastore.datastore data.vsphere_resource_pool.pool]
2020/05/31 23:59:07 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:07 [DEBUG] Starting graph walk: walkRefresh
2020-05-31T23:59:07.891-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-31T23:59:07.931-0500 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 args=[/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4]
2020-05-31T23:59:07.934-0500 [DEBUG] plugin: plugin started: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26485
2020-05-31T23:59:07.934-0500 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4
2020-05-31T23:59:07.962-0500 [INFO] plugin.terraform-provider-vsphere_v1.18.2_x4: configuring server automatic mTLS: timestamp=2020-05-31T23:59:07.961-0500
2020-05-31T23:59:08.003-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: plugin address: network=unix address=/tmp/plugin601916552 timestamp=2020-05-31T23:59:08.003-0500
2020-05-31T23:59:08.003-0500 [DEBUG] plugin: using plugin: version=5
2020-05-31T23:59:08.090-0500 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020-05-31T23:59:08.099-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary
2020-05-31T23:59:08.099-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Creating new SOAP API session on endpoint 10.20.0.3
2020-05-31T23:59:08.161-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] SOAP API session creation successful
2020-05-31T23:59:08.161-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VMWare vSphere Client configured for URL: 10.20.0.3
2020-05-31T23:59:08.161-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Connected endpoint does not support REST API (VMware ESXi 6.7.0 build-11675023)
2020-05-31T23:59:08.162-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Connected endpoint does not support policy based management
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
data.vsphere_datacenter.dc: Refreshing state...
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_network.network" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: []
data.vsphere_resource_pool.pool: Refreshing state...
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore" references: []
data.vsphere_network.network: Refreshing state...
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_host.host" references: []
data.vsphere_datastore.datastore: Refreshing state...
data.vsphere_host.host: Refreshing state...
2020/05/31 23:59:08 [DEBUG] Resource state not found for node "vsphere_virtual_machine.vmFromLocalOvf", instance vsphere_virtual_machine.vmFromLocalOvf
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: []
2020-05-31T23:59:08.243-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation
2020-05-31T23:59:08.243-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation
2020-05-31T23:59:08.243-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete
2020-05-31T23:59:08.244-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport
2020-05-31T23:59:08.244-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist
2020-05-31T23:59:08.244-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete
2020/05/31 23:59:08 [WARN] Provider "registry.terraform.io/-/vsphere" produced an invalid plan for vsphere_virtual_machine.vmFromLocalOvf, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .cpu_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") does not match config value cty.NullVal(cty.String)
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) does not match config value cty.NullVal(cty.Number)
- .ept_rvi_mode: planned value cty.StringVal("automatic") does not match config value cty.NullVal(cty.String)
- .num_cores_per_socket: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_after_power_on: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .poweron_timeout: planned value cty.NumberIntVal(300) does not match config value cty.NullVal(cty.Number)
- .boot_retry_delay: planned value cty.NumberIntVal(10000) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_before_guest_shutdown: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .run_tools_scripts_before_guest_standby: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .latency_sensitivity: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .memory_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .memory_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .num_cpus: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
)
- .scsi_controller_count: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .migrate_wait_timeout: planned value cty.NumberIntVal(30) does not match config value cty.NullVal(cty.Number)
- .swap_placement_policy: planned value cty.StringVal("inherit") does not match config value cty.NullVal(cty.String)
- .cpu_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .force_power_off: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .hv_mode: planned value cty.StringVal("hvAuto") does not match config value cty.NullVal(cty.String)
- .wait_for_guest_net_routable: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .firmware: planned value cty.StringVal("bios") does not match config value cty.NullVal(cty.String)
2020-05-31T23:59:08.256-0500 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26485
2020-05-31T23:59:08.257-0500 [DEBUG] plugin: plugin exited
2020/05/31 23:59:08 [INFO] backend/local: apply calling Plan
2020/05/31 23:59:08 [INFO] terraform: building graph: GraphTypePlan
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "data.vsphere_host.host" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "data.vsphere_network.network" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmFromLocalOvf" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "data.vsphere_datastore.datastore" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool" (*terraform.NodePlannableResource) needs provider.vsphere
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: [data.vsphere_datastore.datastore data.vsphere_host.host data.vsphere_resource_pool.pool data.vsphere_datacenter.dc]
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_host.host" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_network.network" references: [data.vsphere_datacenter.dc]
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "provider.vsphere" references: []
2020/05/31 23:59:08 [DEBUG] Starting graph walk: walkPlan
2020-05-31T23:59:08.261-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-31T23:59:08.298-0500 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 args=[/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4]
2020-05-31T23:59:08.301-0500 [DEBUG] plugin: plugin started: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26501
2020-05-31T23:59:08.301-0500 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4
2020-05-31T23:59:08.328-0500 [INFO] plugin.terraform-provider-vsphere_v1.18.2_x4: configuring server automatic mTLS: timestamp=2020-05-31T23:59:08.328-0500
2020-05-31T23:59:08.368-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: plugin address: address=/tmp/plugin718304440 network=unix timestamp=2020-05-31T23:59:08.367-0500
2020-05-31T23:59:08.368-0500 [DEBUG] plugin: using plugin: version=5
2020-05-31T23:59:08.444-0500 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020-05-31T23:59:08.452-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary
2020-05-31T23:59:08.452-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Creating new SOAP API session on endpoint 10.20.0.3
2020-05-31T23:59:08.507-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] SOAP API session creation successful
2020-05-31T23:59:08.507-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VMWare vSphere Client configured for URL: 10.20.0.3
2020-05-31T23:59:08.507-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Connected endpoint does not support REST API (VMware ESXi 6.7.0 build-11675023)
2020-05-31T23:59:08.507-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] Connected endpoint does not support policy based management
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_host.host" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_network.network" references: []
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: []
2020/05/31 23:59:08 [DEBUG] Resource instance state not found for node "vsphere_virtual_machine.vmFromLocalOvf", instance vsphere_virtual_machine.vmFromLocalOvf
2020/05/31 23:59:08 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: []
2020-05-31T23:59:08.529-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation
2020-05-31T23:59:08.530-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation
2020-05-31T23:59:08.530-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete
2020-05-31T23:59:08.530-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport
2020-05-31T23:59:08.530-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist
2020-05-31T23:59:08.530-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:08 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete
2020/05/31 23:59:08 [WARN] Provider "registry.terraform.io/-/vsphere" produced an invalid plan for vsphere_virtual_machine.vmFromLocalOvf, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .latency_sensitivity: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .memory_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .memory_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .num_cpus: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_after_resume: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .scsi_controller_count: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .migrate_wait_timeout: planned value cty.NumberIntVal(30) does not match config value cty.NullVal(cty.Number)
- .swap_placement_policy: planned value cty.StringVal("inherit") does not match config value cty.NullVal(cty.String)
- .cpu_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .force_power_off: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .hv_mode: planned value cty.StringVal("hvAuto") does not match config value cty.NullVal(cty.String)
- .wait_for_guest_net_routable: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .firmware: planned value cty.StringVal("bios") does not match config value cty.NullVal(cty.String)
- .cpu_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") does not match config value cty.NullVal(cty.String)
An execution plan has been generated and is shown below.
("automatic") does not match config value cty.NullVal(cty.String)
Resource actions are indicated with the following symbols:
- .num_cores_per_socket: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
+ create
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_after_power_on: planned value cty.True does not match config value cty.NullVal(cty.Bool)
Terraform will perform the following actions:
- .poweron_timeout: planned value cty.NumberIntVal(300) does not match config value cty.NullVal(cty.Number)
- .boot_retry_delay: planned value cty.NumberIntVal(10000) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_before_guest_shutdown: planned value cty.True does not match config value cty.NullVal(cty.Bool)
# vsphere_virtual_machine.vmFromLocalOvf will be created
- .run_tools_scripts_before_guest_standby: planned value cty.True does not match config value cty.NullVal(cty.Bool)
+ resource "vsphere_virtual_machine" "vmFromLocalOvf" {
2020-05-31T23:59:08.544-0500 [DEBUG] plugin: plugin exited
2020/05/31 23:59:08 [DEBUG] command: asking for input: "Do you want to perform these actions?"
+ boot_retry_delay = 10000
+ change_version = (known after apply)
+ cpu_limit = -1
+ cpu_share_count = (known after apply)
+ cpu_share_level = "normal"
+ datacenter_id = "ha-datacenter"
+ datastore_id = "5e3fe1ca-797d205a-6832-9c8e992b452c"
+ default_ip_address = (known after apply)
+ ept_rvi_mode = "automatic"
+ firmware = "bios"
+ force_power_off = true
+ guest_ip_addresses = (known after apply)
+ hardware_version = (known after apply)
+ host_system_id = "ha-host"
+ hv_mode = "hvAuto"
+ id = (known after apply)
+ imported = (known after apply)
+ latency_sensitivity = "normal"
+ memory_limit = -1
+ memory_share_count = (known after apply)
+ memory_share_level = "normal"
+ migrate_wait_timeout = 30
+ moid = (known after apply)
+ name = "infra"
+ num_cores_per_socket = 1
+ num_cpus = 1
+ poweron_timeout = 300
+ reboot_required = (known after apply)
+ resource_pool_id = "ha-root-pool"
+ run_tools_scripts_after_power_on = true
+ run_tools_scripts_after_resume = true
+ run_tools_scripts_before_guest_shutdown = true
+ run_tools_scripts_before_guest_standby = true
+ scsi_bus_sharing = "noSharing"
+ scsi_controller_count = 1
+ shutdown_wait_timeout = 3
+ swap_placement_policy = "inherit"
+ uuid = (known after apply)
+ vapp_transport = (known after apply)
+ vmware_tools_status = (known after apply)
+ vmx_path = (known after apply)
+ wait_for_guest_ip_timeout = 0
+ wait_for_guest_net_routable = true
+ wait_for_guest_net_timeout = 0
+ ovf_deploy {
+ local_ovf_path = "/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/vm_templates/CentOS_8.0.1905_VMM/CentOS_8.0.1905_VirtualBox_Minimal_Installation_Image_LinuxVMImages.ovf"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2020/05/31 23:59:10 [INFO] backend/local: apply calling Apply
2020/05/31 23:59:10 [INFO] terraform: building graph: GraphTypeApply
2020/05/31 23:59:10 [DEBUG] Resource state not found for node "vsphere_virtual_machine.vmFromLocalOvf", instance vsphere_virtual_machine.vmFromLocalOvf
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "data.vsphere_host.host (prepare state)" (*terraform.NodeApplyableResource) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmFromLocalOvf" (*terraform.NodeApplyableResourceInstance) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmFromLocalOvf (prepare state)" (*terraform.NodeApplyableResource) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "data.vsphere_network.network (prepare state)" (*terraform.NodeApplyableResource) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc (prepare state)" (*terraform.NodeApplyableResource) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool (prepare state)" (*terraform.NodeApplyableResource) needs provider.vsphere
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "data.vsphere_datastore.datastore (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "data.vsphere_host.host (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf" references: [data.vsphere_datacenter.dc (prepare state) data.vsphere_resource_pool.pool (prepare state) data.vsphere_host.host (prepare state) data.vsphere_datastore.datastore (prepare state)]
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "provider.vsphere" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmFromLocalOvf (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "data.vsphere_network.network (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc (prepare state)" references: []
2020/05/31 23:59:10 [DEBUG] Starting graph walk: walkApply
2020-05-31T23:59:10.787-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-31T23:59:10.829-0500 [DEBUG] plugin: starting plugin: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 args=[/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4]
2020-05-31T23:59:10.833-0500 [DEBUG] plugin: plugin started: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26520
2020-05-31T23:59:10.833-0500 [DEBUG] plugin: waiting for RPC address: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4
2020-05-31T23:59:10.864-0500 [INFO] plugin.terraform-provider-vsphere_v1.18.2_x4: configuring server automatic mTLS: timestamp=2020-05-31T23:59:10.863-0500
2020-05-31T23:59:10.913-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: plugin address: address=/tmp/plugin138960831 network=unix timestamp=2020-05-31T23:59:10.913-0500
2020-05-31T23:59:10.913-0500 [DEBUG] plugin: using plugin: version=5
2020-05-31T23:59:10.988-0500 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020-05-31T23:59:10.996-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:10 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary
2020-05-31T23:59:10.996-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:10 [DEBUG] Creating new SOAP API session on endpoint 10.20.0.3
2020-05-31T23:59:11.050-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] SOAP API session creation successful
2020-05-31T23:59:11.050-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] VMWare vSphere Client configured for URL: 10.20.0.3
2020-05-31T23:59:11.050-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Connected endpoint does not support REST API (VMware ESXi 6.7.0 build-11675023)
2020-05-31T23:59:11.050-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Connected endpoint does not support policy based management
2020-05-31T23:59:11.066-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation
2020-05-31T23:59:11.066-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation
2020-05-31T23:59:11.066-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete
2020-05-31T23:59:11.067-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport
2020-05-31T23:59:11.067-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist
2020-05-31T23:59:11.067-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete
2020/05/31 23:59:11 [WARN] Provider "registry.terraform.io/-/vsphere" produced an invalid plan for vsphere_virtual_machine.vmFromLocalOvf, but we are tolerating it because it is using the legacy plugin SDK.
vsphere_virtual_machine.vmFromLocalOvf: Creating...
The following problems may be the cause of any confusing errors from downstream operations:
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) does not match config value cty.NullVal(cty.Number)
- .ept_rvi_mode: planned value cty.StringVal("automatic") does not match config value cty.NullVal(cty.String)
- .num_cores_per_socket: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_after_power_on: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .poweron_timeout: planned value cty.NumberIntVal(300) does not match config value cty.NullVal(cty.Number)
- .boot_retry_delay: planned value cty.NumberIntVal(10000) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_before_guest_shutdown: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .run_tools_scripts_before_guest_standby: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .latency_sensitivity: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .memory_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .memory_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .num_cpus: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
- .run_tools_scripts_after_resume: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .scsi_controller_count: planned value cty.NumberIntVal(1) does not match config value cty.NullVal(cty.Number)
)
- .swap_placement_policy: planned value cty.StringVal("inherit") does not match config value cty.NullVal(cty.String)
- .cpu_limit: planned value cty.NumberIntVal(-1) does not match config value cty.NullVal(cty.Number)
- .force_power_off: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .hv_mode: planned value cty.StringVal("hvAuto") does not match config value cty.NullVal(cty.String)
- .wait_for_guest_net_routable: planned value cty.True does not match config value cty.NullVal(cty.Bool)
- .firmware: planned value cty.StringVal("bios") does not match config value cty.NullVal(cty.String)
- .cpu_share_level: planned value cty.StringVal("normal") does not match config value cty.NullVal(cty.String)
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") does not match config value cty.NullVal(cty.String)
2020/05/31 23:59:11 [DEBUG] vsphere_virtual_machine.vmFromLocalOvf: applying the planned Create change
2020-05-31T23:59:11.077-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] setting computed for "vapp_transport" from ComputedKeys
2020-05-31T23:59:11.077-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] setting computed for "guest_ip_addresses" from ComputedKeys
2020-05-31T23:59:11.078-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Beginning create
2020-05-31T23:59:11.078-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] tagsClientIfDefined: No tags configured, skipping loading of tagging client
2020-05-31T23:59:11.078-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] /mnt/c/Users/micro/repos/rezzell-infastructure/terraform/vm_templates/CentOS_8.0.1905_VMM/CentOS_8.0.1905_VirtualBox_Minimal_Installation_Image_LinuxVMImages.ovf: VM is being deployed from OVF template
2020-05-31T23:59:11.078-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Locating resource pool with ID ha-root-pool
2020-05-31T23:59:11.082-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Resource pool found: ha-root-pool
2020-05-31T23:59:11.082-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Locating folder at path "" relative to virtual machine root
2020-05-31T23:59:11.091-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Folder located: "/ha-datacenter/vm"
2020-05-31T23:59:11.091-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Locating host system ID ha-host
2020-05-31T23:59:11.095-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Host system found: ha-host
2020-05-31T23:59:11.095-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Locating datastore with ID "5e3fe1ca-797d205a-6832-9c8e992b452c"
2020-05-31T23:59:11.098-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] Datastore with ID "5e3fe1ca-797d205a-6832-9c8e992b452c" found
2020-05-31T23:59:11.135-0500 [DEBUG] plugin.terraform-provider-vsphere_v1.18.2_x4: 2020/05/31 23:59:11 [DEBUG] start deploying from OVF Template
2020/05/31 23:59:13 [DEBUG] vsphere_virtual_machine.vmFromLocalOvf: apply errored, but we're indicating that via the Error pointer rather than returning it: error while importing OVF template Insufficient disk space on datastore 'datastore1'.
2020/05/31 23:59:13 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: error while importing OVF template Insufficient disk space on datastore 'datastore1'.
2020/05/31 23:59:13 [ERROR] <root>: eval: *terraform.EvalSequence, err: error while importing OVF template Insufficient disk space on datastore 'datastore1'.
Error: error while importing OVF template Insufficient disk space on datastore 'datastore1'.
on main.tf line 42, in resource "vsphere_virtual_machine" "vmFromLocalOvf":
42: resource "vsphere_virtual_machine" "vmFromLocalOvf" {
2020-05-31T23:59:13.224-0500 [DEBUG] plugin: plugin process exited: path=/mnt/c/Users/micro/repos/rezzell-infastructure/terraform/.terraform/plugins/linux_amd64/terraform-provider-vsphere_v1.18.2_x4 pid=26520
2020-05-31T23:59:13.224-0500 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment