Created
August 29, 2020 07:22
-
-
Save kradalby/bbfd1c75fedced211e15d0390a5255d4 to your computer and use it in GitHub Desktop.
importing vSphere virtual machine with SATA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020/08/29 08:21:32 [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/08/29 08:21:33 [INFO] Terraform version: 0.13.1 | |
2020/08/29 08:21:33 [INFO] Go runtime version: go1.14.7 | |
2020/08/29 08:21:33 [INFO] CLI args: []string{"/usr/local/bin/terraform", "import", "vsphere_virtual_machine.vmac_terra", "/terra/vm/vmac"} | |
2020/08/29 08:21:33 [DEBUG] Attempting to open CLI config file: /Users/kradalby/.terraformrc | |
2020/08/29 08:21:33 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/08/29 08:21:33 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/08/29 08:21:33 [DEBUG] ignoring non-existing provider search directory /Users/kradalby/.terraform.d/plugins | |
2020/08/29 08:21:33 [DEBUG] ignoring non-existing provider search directory /Users/kradalby/Library/Application Support/io.terraform/plugins | |
2020/08/29 08:21:33 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2020/08/29 08:21:33 [INFO] CLI command args: []string{"import", "vsphere_virtual_machine.vmac_terra", "/terra/vm/vmac"} | |
2020/08/29 08:21:33 [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/08/29 08:21:33 [DEBUG] New state was assigned lineage "67473305-3236-113d-05ef-5c51d50edb5b" | |
2020/08/29 08:21:33 [DEBUG] checking for provisioner in "." | |
2020/08/29 08:21:33 [DEBUG] checking for provisioner in "/usr/local/bin" | |
2020/08/29 08:21:33 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory | |
2020-08-29T08:21:33.460+0100 [INFO] plugin: configuring client automatic mTLS | |
2020-08-29T08:21:33.490+0100 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4] | |
2020-08-29T08:21:33.857+0100 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84596 | |
2020-08-29T08:21:33.857+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 | |
2020-08-29T08:21:34.216+0100 [INFO] plugin.terraform-provider-vsphere_v1.23.0_x4: configuring server automatic mTLS: timestamp=2020-08-29T08:21:34.216+0100 | |
2020-08-29T08:21:34.247+0100 [DEBUG] plugin: using plugin: version=5 | |
2020-08-29T08:21:34.247+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: plugin address: address=/var/folders/h9/vbb7s32d4c524r56bks7_syc0000gn/T/plugin683455603 network=unix timestamp=2020-08-29T08:21:34.247+0100 | |
2020-08-29T08:21:34.310+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio" | |
2020-08-29T08:21:34.318+0100 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84596 | |
2020-08-29T08:21:34.318+0100 [DEBUG] plugin: plugin exited | |
2020-08-29T08:21:34.318+0100 [INFO] plugin: configuring client automatic mTLS | |
2020-08-29T08:21:34.347+0100 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4] | |
2020-08-29T08:21:34.711+0100 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84597 | |
2020-08-29T08:21:34.712+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 | |
2020-08-29T08:21:34.727+0100 [INFO] plugin.terraform-provider-vsphere_v1.23.0_x4: configuring server automatic mTLS: timestamp=2020-08-29T08:21:34.727+0100 | |
2020-08-29T08:21:34.758+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: plugin address: address=/var/folders/h9/vbb7s32d4c524r56bks7_syc0000gn/T/plugin385780552 network=unix timestamp=2020-08-29T08:21:34.758+0100 | |
2020-08-29T08:21:34.759+0100 [DEBUG] plugin: using plugin: version=5 | |
2020-08-29T08:21:34.820+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio" | |
2020-08-29T08:21:34.827+0100 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84597 | |
2020-08-29T08:21:34.827+0100 [DEBUG] plugin: plugin exited | |
2020/08/29 08:21:34 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/vsphere"], implied first by vsphere_virtual_machine.vmac_terra | |
2020/08/29 08:21:34 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmac_terra" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2020/08/29 08:21:34 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vmac_terra (import id \"/terra/vm/vmac\")" (*terraform.graphNodeImportState) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2020/08/29 08:21:34 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [] | |
2020/08/29 08:21:34 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmac_terra" references: [] | |
2020/08/29 08:21:34 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vmac_terra (import id \"/terra/vm/vmac\")" references: [] | |
2020/08/29 08:21:34 [DEBUG] Starting graph walk: walkImport | |
2020-08-29T08:21:34.829+0100 [INFO] plugin: configuring client automatic mTLS | |
2020-08-29T08:21:34.858+0100 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4] | |
2020-08-29T08:21:35.230+0100 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84598 | |
2020-08-29T08:21:35.230+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 | |
2020-08-29T08:21:35.245+0100 [INFO] plugin.terraform-provider-vsphere_v1.23.0_x4: configuring server automatic mTLS: timestamp=2020-08-29T08:21:35.245+0100 | |
2020-08-29T08:21:35.275+0100 [DEBUG] plugin: using plugin: version=5 | |
2020-08-29T08:21:35.276+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: plugin address: address=/var/folders/h9/vbb7s32d4c524r56bks7_syc0000gn/T/plugin056212509 network=unix timestamp=2020-08-29T08:21:35.275+0100 | |
2020-08-29T08:21:35.337+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio" | |
2020-08-29T08:21:35.342+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:35 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary | |
2020-08-29T08:21:35.342+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:35 [DEBUG] Creating new SOAP API session on endpoint vcenter.fap.no | |
2020-08-29T08:21:36.101+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:36 [DEBUG] SOAP API session creation successful | |
2020-08-29T08:21:36.101+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:36 [DEBUG] VMWare vSphere Client configured for URL: vcenter.fap.no | |
2020-08-29T08:21:36.101+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:36 [DEBUG] Setting up REST client | |
2020-08-29T08:21:36.886+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:36 [DEBUG] CIS REST client configuration successful | |
vsphere_virtual_machine.vmac_terra: Importing from ID "/terra/vm/vmac"... | |
2020-08-29T08:21:37.052+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] Looking for VM by name/path "/terra/vm/vmac" | |
2020-08-29T08:21:37.175+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] Fetching properties for VM "/terra/vm/vmac" | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] Determining number of controllers for VM "/terra/vm/vmac" | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] DiskImportOperation: Performing pre-read import and validation of virtual disks | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] DiskRefreshOperation: Found controller "controller-15000" for device "disk-15000-0" | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] DiskImportOperation: Disk devices order before sort: disk-15000-0 | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] DiskImportOperation: Disk devices order after sort: disk-15000-0 | |
2020-08-29T08:21:37.260+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.23.0_x4: 2020/08/29 08:21:37 [DEBUG] DiskImportOperation: Validating disk type and saving | |
2020/08/29 08:21:37 [ERROR] eval: *terraform.EvalImportState, err: disk.0: unsupported controller type sata for disk sata:0:0. The VM resource supports SCSI disks only | |
2020/08/29 08:21:37 [ERROR] eval: *terraform.EvalSequence, err: disk.0: unsupported controller type sata for disk sata:0:0. The VM resource supports SCSI disks only | |
Error: disk.0: unsupported controller type sata for disk sata:0:0. The VM resource supports SCSI disks only | |
2020-08-29T08:21:37.263+0100 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/vsphere/1.23.0/darwin_amd64/terraform-provider-vsphere_v1.23.0_x4 pid=84598 | |
2020-08-29T08:21:37.263+0100 [DEBUG] plugin: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment