Created
October 11, 2021 09:41
-
-
Save fgionghi/eb2eb8eb7916a0aafdef3ea602aec47f to your computer and use it in GitHub Desktop.
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
Running with gitlab-runner 14.3.2 (e0218c92) | |
on salt-server xPrAqZXH | |
Resolving secrets | |
00:00 | |
Preparing the "shell" executor | |
00:00 | |
Using Shell executor... | |
Preparing environment | |
00:00 | |
Running on salt-server... | |
Getting source from Git repository | |
00:01 | |
Fetching changes with git depth set to 50... | |
Reinitialized existing Git repository in /home/gitlab-runner/builds/xPrAqZXH/0/terraform/datacenter/vmware/bind-mv/.git/ | |
Checking out 40f270d3 as main... | |
Removing .terraform.lock.hcl | |
Removing .terraform/ | |
Skipping Git submodules setup | |
Executing "step_script" stage of the job script | |
$ tfenv install | |
Terraform v1.0.8 is already installed | |
$ terraform init | |
2021-10-11T11:21:47.176+0200 [DEBUG] Adding temp file log sink: /tmp/terraform-log237437597 | |
2021-10-11T11:21:47.176+0200 [INFO] Terraform version: 1.0.8 | |
2021-10-11T11:21:47.176+0200 [INFO] Go runtime version: go1.16.4 | |
2021-10-11T11:21:47.177+0200 [INFO] CLI args: []string{"/home/gitlab-runner/.tfenv/versions/1.0.8/terraform", "init"} | |
2021-10-11T11:21:47.177+0200 [DEBUG] Attempting to open CLI config file: /home/gitlab-runner/.terraformrc | |
2021-10-11T11:21:47.177+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021-10-11T11:21:47.177+0200 [DEBUG] checking for credentials in "/home/gitlab-runner/.terraform.d/plugins" | |
2021-10-11T11:21:47.177+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021-10-11T11:21:47.177+0200 [DEBUG] will search for provider plugins in /home/gitlab-runner/.terraform.d/plugins | |
2021-10-11T11:21:47.177+0200 [DEBUG] ignoring non-existing provider search directory /home/gitlab-runner/.local/share/terraform/plugins | |
2021-10-11T11:21:47.177+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2021-10-11T11:21:47.177+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2021-10-11T11:21:47.177+0200 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins | |
2021-10-11T11:21:47.177+0200 [INFO] CLI command args: []string{"init"} | |
Initializing the backend... | |
2021-10-11T11:21:47.182+0200 [DEBUG] New state was assigned lineage "c5b51082-46d0-8e1d-9208-4bf1db760621" | |
2021-10-11T11:21:47.182+0200 [DEBUG] checking for provisioner in "." | |
2021-10-11T11:21:47.182+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8" | |
2021-10-11T11:21:47.182+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins" | |
2021-10-11T11:21:47.182+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory | |
2021-10-11T11:21:47.183+0200 [DEBUG] New state was assigned lineage "3e572f1e-3a11-acff-2753-8c51a5590598" | |
Successfully configured the backend "local"! Terraform will automatically | |
use this backend unless the backend configuration changes. | |
2021-10-11T11:21:47.185+0200 [DEBUG] checking for provisioner in "." | |
2021-10-11T11:21:47.185+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8" | |
2021-10-11T11:21:47.185+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins" | |
2021-10-11T11:21:47.185+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory | |
Initializing provider plugins... | |
- Finding infobloxopen/infoblox versions matching ">= 2.0.1"... | |
2021-10-11T11:21:47.186+0200 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json | |
2021-10-11T11:21:47.270+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/infobloxopen/infoblox/versions | |
- Finding hashicorp/vsphere versions matching "2.0.2"... | |
2021-10-11T11:21:47.294+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/vsphere/versions | |
2021-10-11T11:21:47.321+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/infobloxopen/infoblox/2.0.1/download/linux/amd64 | |
2021-10-11T11:21:47.361+0200 [DEBUG] GET https://github.com/infobloxopen/terraform-provider-infoblox/releases/download/v2.0.1/terraform-provider-infoblox_2.0.1_SHA256SUMS | |
2021-10-11T11:21:47.465+0200 [DEBUG] GET https://github.com/infobloxopen/terraform-provider-infoblox/releases/download/v2.0.1/terraform-provider-infoblox_2.0.1_SHA256SUMS.sig | |
- Installing infobloxopen/infoblox v2.0.1... | |
2021-10-11T11:21:47.696+0200 [DEBUG] Provider signed by B355854AA5DBB18E Sailesh Giri (Terraform Provider KeyPair) <sgiri@infoblox.com> | |
- Installed infobloxopen/infoblox v2.0.1 (signed by a HashiCorp partner, key ID B355854AA5DBB18E) | |
2021-10-11T11:21:48.144+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/vsphere/2.0.2/download/linux/amd64 | |
2021-10-11T11:21:48.170+0200 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-vsphere/2.0.2/terraform-provider-vsphere_2.0.2_SHA256SUMS | |
2021-10-11T11:21:48.195+0200 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-vsphere/2.0.2/terraform-provider-vsphere_2.0.2_SHA256SUMS.72D7468F.sig | |
- Installing hashicorp/vsphere v2.0.2... | |
2021-10-11T11:21:48.345+0200 [DEBUG] Provider signed by 34365D9472D7468F HashiCorp Security (hashicorp.com/security) <security@hashicorp.com> | |
- Installed hashicorp/vsphere v2.0.2 (signed by HashiCorp) | |
Partner and community providers are signed by their developers. | |
If you'd like to know more about provider signing, you can read about it here: | |
https://www.terraform.io/docs/cli/plugins/signing.html | |
Terraform has created a lock file .terraform.lock.hcl to record the provider | |
selections it made above. Include this file in your version control repository | |
so that Terraform can guarantee to make the same selections by default when | |
you run "terraform init" in the future. | |
Terraform has been successfully initialized! | |
You may now begin working with Terraform. Try running "terraform plan" to see | |
any changes that are required for your infrastructure. All Terraform commands | |
should now work. | |
If you ever set or change modules or backend configuration for Terraform, | |
rerun this command to reinitialize your working directory. If you forget, other | |
commands will detect it and remind you to do so if necessary. | |
$ terraform apply -auto-approve | |
2021-10-11T11:21:49.349+0200 [DEBUG] Adding temp file log sink: /tmp/terraform-log037948284 | |
2021-10-11T11:21:49.350+0200 [INFO] Terraform version: 1.0.8 | |
2021-10-11T11:21:49.350+0200 [INFO] Go runtime version: go1.16.4 | |
2021-10-11T11:21:49.350+0200 [INFO] CLI args: []string{"/home/gitlab-runner/.tfenv/versions/1.0.8/terraform", "apply", "-auto-approve"} | |
2021-10-11T11:21:49.350+0200 [DEBUG] Attempting to open CLI config file: /home/gitlab-runner/.terraformrc | |
2021-10-11T11:21:49.350+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021-10-11T11:21:49.350+0200 [DEBUG] checking for credentials in "/home/gitlab-runner/.terraform.d/plugins" | |
2021-10-11T11:21:49.350+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021-10-11T11:21:49.350+0200 [DEBUG] will search for provider plugins in /home/gitlab-runner/.terraform.d/plugins | |
2021-10-11T11:21:49.350+0200 [DEBUG] ignoring non-existing provider search directory /home/gitlab-runner/.local/share/terraform/plugins | |
2021-10-11T11:21:49.350+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2021-10-11T11:21:49.350+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2021-10-11T11:21:49.350+0200 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins | |
2021-10-11T11:21:49.350+0200 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
2021-10-11T11:21:49.741+0200 [DEBUG] checking for provisioner in "." | |
2021-10-11T11:21:49.741+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.tfenv/versions/1.0.8" | |
2021-10-11T11:21:49.741+0200 [DEBUG] checking for provisioner in "/home/gitlab-runner/.terraform.d/plugins" | |
2021-10-11T11:21:49.741+0200 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory | |
2021-10-11T11:21:49.742+0200 [INFO] backend/local: starting Apply operation | |
2021-10-11T11:21:49.744+0200 [DEBUG] created provider logger: level=debug | |
2021-10-11T11:21:49.744+0200 [INFO] provider: configuring client automatic mTLS | |
2021-10-11T11:21:49.794+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5] | |
2021-10-11T11:21:49.794+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=124990 | |
2021-10-11T11:21:49.794+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 | |
2021-10-11T11:21:49.813+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:21:49.812+0200 | |
2021-10-11T11:21:49.862+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin349701038 network=unix timestamp=2021-10-11T11:21:49.862+0200 | |
2021-10-11T11:21:49.862+0200 [DEBUG] provider: using plugin: version=5 | |
2021-10-11T11:21:49.931+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-10-11T11:21:49.933+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=124990 | |
2021-10-11T11:21:49.933+0200 [DEBUG] provider: plugin exited | |
2021-10-11T11:21:49.933+0200 [DEBUG] created provider logger: level=debug | |
2021-10-11T11:21:49.933+0200 [INFO] provider: configuring client automatic mTLS | |
2021-10-11T11:21:49.987+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 args=[.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1] | |
2021-10-11T11:21:49.987+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 pid=124999 | |
2021-10-11T11:21:49.987+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 | |
2021-10-11T11:21:50.002+0200 [INFO] provider.terraform-provider-infoblox_v2.0.1: configuring server automatic mTLS: timestamp=2021-10-11T11:21:50.002+0200 | |
2021-10-11T11:21:50.039+0200 [DEBUG] provider.terraform-provider-infoblox_v2.0.1: plugin address: address=/tmp/plugin334038299 network=unix timestamp=2021-10-11T11:21:50.038+0200 | |
2021-10-11T11:21:50.039+0200 [DEBUG] provider: using plugin: version=5 | |
2021-10-11T11:21:50.107+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio" | |
2021-10-11T11:21:50.108+0200 [DEBUG] No provider meta schema returned | |
2021-10-11T11:21:50.115+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/infobloxopen/infoblox/2.0.1/linux_amd64/terraform-provider-infoblox_v2.0.1 pid=124999 | |
2021-10-11T11:21:50.115+0200 [DEBUG] provider: plugin exited | |
2021-10-11T11:21:50.115+0200 [INFO] terraform: building graph: GraphTypeValidate | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_folder.folder-service" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.datastore" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_network.net" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_virtual_machine.template" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.unity" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.116+0200 [DEBUG] pruning unused provider["registry.terraform.io/infobloxopen/infoblox"] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template" references: [data.vsphere_datacenter.dc] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service" references: [] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: [] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore" references: [data.vsphere_datacenter.dc] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net" references: [data.vsphere_datacenter.dc] | |
2021-10-11T11:21:50.117+0200 [DEBUG] ReferenceTransformer: "var.vspherepassword" references: [] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm" references: [data.vsphere_datastore_cluster.unity data.vsphere_resource_pool.pool data.vsphere_folder.folder-service data.vsphere_network.net data.vsphere_virtual_machine.template] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity" references: [data.vsphere_datacenter.dc] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [data.vsphere_datacenter.dc] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "var.vsphereuser" references: [] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "var.vsphereserver" references: [] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_password" references: [] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [var.vsphereserver var.vsphereuser var.vspherepassword] | |
2021-10-11T11:21:50.118+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_user" references: [] | |
2021-10-11T11:21:50.119+0200 [DEBUG] Starting graph walk: walkValidate | |
2021-10-11T11:21:50.120+0200 [DEBUG] created provider logger: level=debug | |
2021-10-11T11:21:50.120+0200 [INFO] provider: configuring client automatic mTLS | |
2021-10-11T11:21:50.166+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5] | |
2021-10-11T11:21:50.167+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125009 | |
2021-10-11T11:21:50.167+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 | |
2021-10-11T11:21:50.189+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:21:50.189+0200 | |
2021-10-11T11:21:50.248+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin544561287 network=unix timestamp=2021-10-11T11:21:50.248+0200 | |
2021-10-11T11:21:50.249+0200 [DEBUG] provider: using plugin: version=5 | |
2021-10-11T11:21:50.340+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-10-11T11:21:50.342+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125009 | |
2021-10-11T11:21:50.342+0200 [DEBUG] provider: plugin exited | |
2021-10-11T11:21:50.342+0200 [INFO] backend/local: apply calling Plan | |
2021-10-11T11:21:50.342+0200 [INFO] terraform: building graph: GraphTypePlan | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_network.net (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_virtual_machine.template (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_folder.folder-service (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.unity (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.datastore (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:50.343+0200 [DEBUG] pruning unused provider["registry.terraform.io/infobloxopen/infoblox"] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_user" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [var.vspherepassword var.vsphereuser var.vsphereserver] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool (expand)" references: [data.vsphere_datacenter.dc (expand)] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "var.vspherepassword" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "var.vsphereserver" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm (expand)" references: [data.vsphere_folder.folder-service (expand) data.vsphere_datastore_cluster.unity (expand) data.vsphere_resource_pool.pool (expand) data.vsphere_network.net (expand) data.vsphere_virtual_machine.template (expand)] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity (expand)" references: [data.vsphere_datacenter.dc (expand)] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore (expand)" references: [data.vsphere_datacenter.dc (expand)] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "var.vsphereuser" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_password" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service (expand)" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc (expand)" references: [] | |
2021-10-11T11:21:50.344+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net (expand)" references: [data.vsphere_datacenter.dc (expand)] | |
2021-10-11T11:21:50.345+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template (expand)" references: [data.vsphere_datacenter.dc (expand)] | |
2021-10-11T11:21:50.346+0200 [DEBUG] Starting graph walk: walkPlan | |
2021-10-11T11:21:50.347+0200 [DEBUG] created provider logger: level=debug | |
2021-10-11T11:21:50.347+0200 [INFO] provider: configuring client automatic mTLS | |
2021-10-11T11:21:50.397+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5] | |
2021-10-11T11:21:50.397+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125018 | |
2021-10-11T11:21:50.397+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 | |
2021-10-11T11:21:50.437+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:21:50.437+0200 | |
2021-10-11T11:21:50.494+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: address=/tmp/plugin333376995 network=unix timestamp=2021-10-11T11:21:50.494+0200 | |
2021-10-11T11:21:50.494+0200 [DEBUG] provider: using plugin: version=5 | |
2021-10-11T11:21:50.569+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/vsphere\"]" changed the config value, but that value is unused | |
2021-10-11T11:21:50.571+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary: timestamp=2021-10-11T11:21:50.571+0200 | |
2021-10-11T11:21:50.571+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] Creating new SOAP API session on endpoint ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:21:50.571+0200 | |
2021-10-11T11:21:50.640+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] SOAP API session creation successful: timestamp=2021-10-11T11:21:50.640+0200 | |
2021-10-11T11:21:50.640+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] VMWare vSphere Client configured for URL: ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:21:50.640+0200 | |
2021-10-11T11:21:50.640+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] Setting up REST client: timestamp=2021-10-11T11:21:50.640+0200 | |
2021-10-11T11:21:50.957+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:50 [DEBUG] CIS REST client configuration successful: timestamp=2021-10-11T11:21:50.957+0200 | |
2021-10-11T11:21:50.979+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service" references: [] | |
2021-10-11T11:21:50.980+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc" references: [] | |
2021-10-11T11:21:51.025+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template" references: [] | |
2021-10-11T11:21:51.028+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity" references: [] | |
2021-10-11T11:21:51.028+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool" references: [] | |
2021-10-11T11:21:51.029+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net" references: [] | |
2021-10-11T11:21:51.029+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Looking for VM or template by name/path "ubuntu20": timestamp=2021-10-11T11:21:51.029+0200 | |
2021-10-11T11:21:51.030+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore" references: [] | |
2021-10-11T11:21:51.054+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Datacenter for VM/template search: /mydomaindc: timestamp=2021-10-11T11:21:51.054+0200 | |
2021-10-11T11:21:51.076+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Looking for datastore cluster "unity-services" in datacenter "/mydomaindc": timestamp=2021-10-11T11:21:51.076+0200 | |
2021-10-11T11:21:51.076+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Attempting to locate datastore cluster "unity-services" in datacenter "/mydomaindc": timestamp=2021-10-11T11:21:51.076+0200 | |
2021-10-11T11:21:51.076+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Looking for datastore cluster "unity-services" in datacenter "/mydomaindc": timestamp=2021-10-11T11:21:51.076+0200 | |
2021-10-11T11:21:51.076+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Attempting to locate datastore cluster "unity-services" in datacenter "/mydomaindc": timestamp=2021-10-11T11:21:51.076+0200 | |
2021-10-11T11:21:51.280+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Fetching properties for VM "/mydomaindc/vm/mydomain/SYS/Standard/template/ubuntu20": timestamp=2021-10-11T11:21:51.280+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [WARN] Unable to read LatencySensitivity, skipping: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadSCSIBusType: SCSI controller layout for first 1 controllers: pvscsi-1000: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadSCSIBusSharing: SCSI controller layout for first 1 controllers: pvscsi-1000: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadDiskAttrsForDataSource: Fetching select attributes for disks: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskRefreshOperation: Found controller "controller-1000" for device "disk-1000-0": timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadDiskAttrsForDataSource: Disk devices located: disk-1000-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadDiskAttrsForDataSource: Disk devices order after sort: disk-1000-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadDiskAttrsForDataSource: Attributes returned: [map[eagerly_scrub:false label:Hard disk 1 size:30 thin_provisioned:false unit_number:0xc000129870]]: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaceTypes: Fetching interface types: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaceTypes: Network devices located: ethernet-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaceTypes: Network devices order after sort: ethernet-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaceTypes: Network types returned: [vmxnet3]: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaces: Fetching network interfaces: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterface: Network devices located: ethernet-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaceTypes: Network devices order after sort: ethernet-0: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ReadNetworkInterfaces: Network interfaces returned: [map[adapter_type:vmxnet3 bandwidth_limit:0xc00057c190 bandwidth_reservation:0xc00057c118 bandwidth_share_count:50 bandwidth_share_level:normal mac_address:00:50:56:80:dc:51 network_id:dvportgroup-305]]: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): Checking guest networking state: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): Primary IP address: 10.0.10.250: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.292+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [ERROR] setting state: Invalid address to set: []string{"default_ip_address"}: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.293+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = 42008eba-6eea-2ef4-4071-2b265afb4e90): All IP addresses: 10.0.10.250,fe80::250:56ff:fe80:dc51: timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.293+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] VM search for "ubuntu20" completed successfully (UUID "42008eba-6eea-2ef4-4071-2b265afb4e90"): timestamp=2021-10-11T11:21:51.292+0200 | |
2021-10-11T11:21:51.294+0200 [WARN] Provider "provider[\"registry.terraform.io/hashicorp/vsphere\"]" produced an unexpected new value for data.vsphere_virtual_machine.template. | |
- .boot_retry_enabled: was null, but now cty.False | |
- .efi_secure_boot_enabled: was null, but now cty.False | |
- .annotation: was null, but now cty.StringVal("") | |
- .firmware: was null, but now cty.StringVal("bios") | |
- .memory_share_level: was null, but now cty.StringVal("normal") | |
- .num_cores_per_socket: was null, but now cty.NumberIntVal(1) | |
- .scsi_controller_scan_count: was null, but now cty.NumberIntVal(1) | |
- .sync_time_with_host: was null, but now cty.False | |
- .memory_hot_add_enabled: was null, but now cty.False | |
- .memory_limit: was null, but now cty.NumberIntVal(-1) | |
- .cpu_performance_counters_enabled: was null, but now cty.False | |
- .ide_controller_scan_count: was null, but now cty.NumberIntVal(2) | |
- .alternate_guest_name: was null, but now cty.StringVal("") | |
- .boot_delay: was null, but now cty.NumberIntVal(0) | |
- .enable_logging: was null, but now cty.True | |
- .latency_sensitivity: was null, but now cty.StringVal("normal") | |
- .memory_reservation: was null, but now cty.NumberIntVal(0) | |
- .sata_controller_scan_count: was null, but now cty.NumberIntVal(0) | |
- .run_tools_scripts_after_resume: was null, but now cty.True | |
- .run_tools_scripts_before_guest_shutdown: was null, but now cty.True | |
- .hv_mode: was null, but now cty.StringVal("hvAuto") | |
- .num_cpus: was null, but now cty.NumberIntVal(2) | |
- .swap_placement_policy: was null, but now cty.StringVal("inherit") | |
- .memory: was null, but now cty.NumberIntVal(8192) | |
- .run_tools_scripts_after_power_on: was null, but now cty.True | |
- .vbs_enabled: was null, but now cty.False | |
- .cpu_limit: was null, but now cty.NumberIntVal(-1) | |
- .run_tools_scripts_before_guest_standby: was null, but now cty.True | |
- .cpu_reservation: was null, but now cty.NumberIntVal(0) | |
- .cpu_share_level: was null, but now cty.StringVal("normal") | |
- .ept_rvi_mode: was null, but now cty.StringVal("automatic") | |
- .vvtd_enabled: was null, but now cty.False | |
- .nested_hv_enabled: was null, but now cty.False | |
- .boot_retry_delay: was null, but now cty.NumberIntVal(10000) | |
- .cpu_hot_add_enabled: was null, but now cty.False | |
- .cpu_hot_remove_enabled: was null, but now cty.False | |
- .enable_disk_uuid: was null, but now cty.False | |
- .extra_config: was null, but now cty.MapValEmpty(cty.String) | |
- .run_tools_scripts_before_guest_reboot: was null, but now cty.False | |
2021-10-11T11:21:51.295+0200 [DEBUG] Resource instance state not found for node "vsphere_virtual_machine.vm", instance vsphere_virtual_machine.vm | |
2021-10-11T11:21:51.296+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm" references: [] | |
2021-10-11T11:21:51.296+0200 [DEBUG] refresh: vsphere_virtual_machine.vm: no state, so not refreshing | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] network_interface.0 (key 0 at <new device>): Beginning diff validation: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] network_interface.0 (key 0 at <new device>): Diff validation complete: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = <new resource>): resource_pool_id modified without change to host_system_id, marking as computed: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DatastoreClusterDiffOperation: datastore_id or datastore_cluster_id value depends on a computed value from another resource. Skipping validation.: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.309+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskDiffOperation: Beginning disk diff customization: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskDiffOperation: Beginning collective diff validation (indexes aligned to new config): timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Beginning diff validation: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Diff validation complete: timestamp=2021-10-11T11:21:51.309+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskDiffOperation: Beginning diff validation and normalization (indexes aligned to old state): timestamp=2021-10-11T11:21:51.310+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskDiffOperation: New resource set post-normalization: (key 0 at <new device>): timestamp=2021-10-11T11:21:51.310+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskDiffOperation: Disk diff customization complete, sending new diff: timestamp=2021-10-11T11:21:51.310+0200 | |
2021-10-11T11:21:51.310+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Locating vApp container with ID resgroup-334415: timestamp=2021-10-11T11:21:51.310+0200 | |
2021-10-11T11:21:51.315+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] contentlibrary.IsContentLibrary: Checking if 42008eba-6eea-2ef4-4071-2b265afb4e90 is a content library source: timestamp=2021-10-11T11:21:51.315+0200 | |
2021-10-11T11:21:51.315+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] contentlibrary.ItemFromID: Retrieving library item 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:21:51.315+0200 | |
2021-10-11T11:21:51.682+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ValidateVirtualMachineClone: Validating fitness of source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:21:51.682+0200 | |
2021-10-11T11:21:51.682+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Locating virtual machine with UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:51.682+0200 | |
2021-10-11T11:21:51.682+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Using SearchIndex to look up UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:51.682+0200 | |
2021-10-11T11:21:51.692+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] VM "/mydomaindc/vm/mydomain/SYS/Standard/template/ubuntu20" found for UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:51.692+0200 | |
2021-10-11T11:21:51.692+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Fetching properties for VM "/mydomaindc/vm/mydomain/SYS/Standard/template/ubuntu20": timestamp=2021-10-11T11:21:51.692+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Checking existing virtual disk configuration: timestamp=2021-10-11T11:21:51.698+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskRefreshOperation: Found controller "controller-1000" for device "disk-1000-0": timestamp=2021-10-11T11:21:51.698+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Disk devices order before sort: disk-1000-0: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Disk devices order after sort: disk-1000-0: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Current resource set: (key 0 at <new device>): timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Resource set order after sort: (key 0 at <new device>): timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: Running test read operations on all disks: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] disk.0 (key 2000 at scsi:0:0) (<unknown>): Reading state: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] FindVirtualDevice: Looking for device with key 2000: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] FindVirtualDevice: Device found: disk-1000-0: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] disk.0 (key 2000 at scsi:0:0) (ubuntu20/ubuntu20.vmdk): Read finished (key and device address may have changed): timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] DiskCloneValidateOperation: All disks in source validated successfully: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.699+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Locating resource pool with ID resgroup-334415: timestamp=2021-10-11T11:21:51.699+0200 | |
2021-10-11T11:21:51.703+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Resource pool found: resgroup-334415: timestamp=2021-10-11T11:21:51.703+0200 | |
2021-10-11T11:21:51.703+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Looking for OS family for guest ID "ubuntu64Guest": timestamp=2021-10-11T11:21:51.703+0200 | |
2021-10-11T11:21:51.745+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] OSFamily: family for "ubuntu64Guest" is "linuxGuest": timestamp=2021-10-11T11:21:51.745+0200 | |
2021-10-11T11:21:51.745+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] ValidateVirtualMachineClone: Source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90 is a suitable source for cloning: timestamp=2021-10-11T11:21:51.745+0200 | |
2021-10-11T11:21:51.746+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport: timestamp=2021-10-11T11:21:51.746+0200 | |
2021-10-11T11:21:51.746+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist: timestamp=2021-10-11T11:21:51.746+0200 | |
2021-10-11T11:21:51.746+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete: timestamp=2021-10-11T11:21:51.746+0200 | |
2021-10-11T11:21:51.753+0200 [WARN] Provider "registry.terraform.io/hashicorp/vsphere" produced an invalid plan for vsphere_virtual_machine.vm, 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: | |
- .run_tools_scripts_after_resume: planned value cty.True for a non-computed attribute | |
- .memory_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .memory_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .wait_for_guest_net_timeout: planned value cty.NumberIntVal(5) for a non-computed attribute | |
- .ide_controller_count: planned value cty.NumberIntVal(2) for a non-computed attribute | |
- .run_tools_scripts_before_guest_shutdown: planned value cty.True for a non-computed attribute | |
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") for a non-computed attribute | |
- .wait_for_guest_ip_timeout: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .cpu_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .num_cores_per_socket: planned value cty.NumberIntVal(1) for a non-computed attribute | |
- .wait_for_guest_net_routable: planned value cty.True for a non-computed attribute | |
- .hv_mode: planned value cty.StringVal("hvAuto") for a non-computed attribute | |
- .firmware: planned value cty.StringVal("bios") for a non-computed attribute | |
- .force_power_off: planned value cty.True for a non-computed attribute | |
- .latency_sensitivity: planned value cty.StringVal("normal") for a non-computed attribute | |
- .run_tools_scripts_after_power_on: planned value cty.True for a non-computed attribute | |
- .sata_controller_count: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .cpu_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .scsi_controller_count: planned value cty.NumberIntVal(1) for a non-computed attribute | |
- .run_tools_scripts_before_guest_standby: planned value cty.True for a non-computed attribute | |
- .folder: planned value cty.StringVal("mydomaindc/vm/terraform/services") does not match config value cty.StringVal("/mydomaindc/vm/terraform/services") | |
- .poweron_timeout: planned value cty.NumberIntVal(300) for a non-computed attribute | |
- .scsi_type: planned value cty.StringVal("pvscsi") for a non-computed attribute | |
- .boot_retry_delay: planned value cty.NumberIntVal(10000) for a non-computed attribute | |
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) for a non-computed attribute | |
- .migrate_wait_timeout: planned value cty.NumberIntVal(30) for a non-computed attribute | |
- .swap_placement_policy: planned value cty.StringVal("inherit") for a non-computed attribute | |
- .ept_rvi_mode: planned value cty.StringVal("automatic") for a non-computed attribute | |
- .disk[0].unit_number: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].io_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .disk[0].io_share_count: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].keep_on_remove: planned value cty.False for a non-computed attribute | |
- .disk[0].attach: planned value cty.False for a non-computed attribute | |
- .disk[0].io_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].controller_type: planned value cty.StringVal("scsi") for a non-computed attribute | |
- .disk[0].disk_mode: planned value cty.StringVal("persistent") for a non-computed attribute | |
- .disk[0].disk_sharing: planned value cty.StringVal("sharingNone") for a non-computed attribute | |
- .disk[0].eagerly_scrub: planned value cty.False for a non-computed attribute | |
- .disk[0].io_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .disk[0].write_through: planned value cty.False for a non-computed attribute | |
- .network_interface[0].bandwidth_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .network_interface[0].adapter_type: planned value cty.StringVal("vmxnet3") for a non-computed attribute | |
- .network_interface[0].bandwidth_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .network_interface[0].bandwidth_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .clone[0].timeout: planned value cty.NumberIntVal(30) for a non-computed attribute | |
- .clone[0].customize[0].timeout: planned value cty.NumberIntVal(10) for a non-computed attribute | |
- .clone[0].customize[0].linux_options[0].hw_clock_utc: planned value cty.True for a non-computed attribute | |
2021-10-11T11:21:51.756+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-10-11T11:21:51.759+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125018 | |
2021-10-11T11:21:51.759+0200 [DEBUG] provider: plugin exited | |
Terraform used the selected providers to generate the following execution | |
plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# vsphere_virtual_machine.vm will be created | |
+ resource "vsphere_virtual_machine" "vm" { | |
+ boot_retry_delay = 10000 | |
+ change_version = (known after apply) | |
+ cpu_limit = -1 | |
+ cpu_share_count = (known after apply) | |
+ cpu_share_level = "normal" | |
+ datastore_cluster_id = "group-p181392" | |
+ datastore_id = (known after apply) | |
+ default_ip_address = (known after apply) | |
+ ept_rvi_mode = "automatic" | |
+ firmware = "bios" | |
+ folder = "mydomaindc/vm/terraform/services" | |
+ force_power_off = true | |
+ guest_id = "ubuntu64Guest" | |
+ guest_ip_addresses = (known after apply) | |
+ hardware_version = (known after apply) | |
+ host_system_id = (known after apply) | |
+ hv_mode = "hvAuto" | |
+ id = (known after apply) | |
+ ide_controller_count = 2 | |
+ imported = (known after apply) | |
+ latency_sensitivity = "normal" | |
+ memory = 1024 | |
+ memory_limit = -1 | |
+ memory_share_count = (known after apply) | |
+ memory_share_level = "normal" | |
+ migrate_wait_timeout = 30 | |
+ moid = (known after apply) | |
+ name = "mydyndns" | |
+ num_cores_per_socket = 1 | |
+ num_cpus = 1 | |
+ poweron_timeout = 300 | |
+ reboot_required = (known after apply) | |
+ resource_pool_id = "resgroup-334415" | |
+ 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 | |
+ sata_controller_count = 0 | |
+ scsi_bus_sharing = "noSharing" | |
+ scsi_controller_count = 1 | |
+ scsi_type = "pvscsi" | |
+ shutdown_wait_timeout = 3 | |
+ storage_policy_id = (known after apply) | |
+ 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 = 5 | |
+ clone { | |
+ template_uuid = "42008eba-6eea-2ef4-4071-2b265afb4e90" | |
+ timeout = 30 | |
+ customize { | |
+ dns_server_list = [ | |
+ "ip0.4", | |
+ "ip0.13", | |
] | |
+ ipv4_gateway = "ip3.254" | |
+ timeout = 10 | |
+ linux_options { | |
+ domain = "mydomain.eu" | |
+ host_name = "mydyndns" | |
+ hw_clock_utc = true | |
} | |
+ network_interface { | |
+ ipv4_address = "ip3.6" | |
+ ipv4_netmask = 24 | |
} | |
} | |
} | |
+ disk { | |
+ attach = false | |
+ controller_type = "scsi" | |
+ datastore_id = "<computed>" | |
+ device_address = (known after apply) | |
+ disk_mode = "persistent" | |
+ disk_sharing = "sharingNone" | |
+ eagerly_scrub = false | |
+ io_limit = -1 | |
+ io_reservation = 0 | |
+ io_share_count = 0 | |
+ io_share_level = "normal" | |
+ keep_on_remove = false | |
+ key = 0 | |
+ label = "disk0" | |
+ path = (known after apply) | |
+ size = 30 | |
+ storage_policy_id = (known after apply) | |
+ thin_provisioned = true | |
+ unit_number = 0 | |
+ uuid = (known after apply) | |
+ write_through = false | |
} | |
+ network_interface { | |
+ adapter_type = "vmxnet3" | |
+ bandwidth_limit = -1 | |
+ bandwidth_reservation = 0 | |
+ bandwidth_share_count = (known after apply) | |
+ bandwidth_share_level = "normal" | |
+ device_address = (known after apply) | |
+ key = (known after apply) | |
+ mac_address = (known after apply) | |
+ network_id = "dvportgroup-306" | |
} | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
2021-10-11T11:21:51.772+0200 [INFO] backend/local: apply calling Apply | |
2021-10-11T11:21:51.772+0200 [INFO] terraform: building graph: GraphTypeApply | |
2021-10-11T11:21:51.772+0200 [DEBUG] Resource state not found for node "vsphere_virtual_machine.vm", instance vsphere_virtual_machine.vm | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "vsphere_virtual_machine.vm (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_folder.folder-service (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_network.net (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_datacenter.dc (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_virtual_machine.template (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.datastore (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_datastore_cluster.unity (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] ProviderTransformer: "data.vsphere_resource_pool.pool (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/vsphere"] | |
2021-10-11T11:21:51.773+0200 [DEBUG] pruning unused provider["registry.terraform.io/infobloxopen/infoblox"] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_user" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm" references: [data.vsphere_folder.folder-service (expand) data.vsphere_datastore_cluster.unity (expand) data.vsphere_resource_pool.pool (expand) data.vsphere_network.net (expand) data.vsphere_virtual_machine.template (expand) vsphere_virtual_machine.vm (expand)] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/vsphere\"]" references: [var.vsphereserver var.vsphereuser var.vspherepassword] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "vsphere_virtual_machine.vm (expand)" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.unity (expand)" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "data.vsphere_virtual_machine.template (expand)" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "var.vsphereserver" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "data.vsphere_folder.folder-service (expand)" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "var.mydomain_infoblox_password" references: [] | |
2021-10-11T11:21:51.774+0200 [DEBUG] ReferenceTransformer: "var.vspherepassword" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] ReferenceTransformer: "data.vsphere_resource_pool.pool (expand)" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datastore_cluster.datastore (expand)" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] ReferenceTransformer: "data.vsphere_network.net (expand)" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] ReferenceTransformer: "data.vsphere_datacenter.dc (expand)" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] ReferenceTransformer: "var.vsphereuser" references: [] | |
2021-10-11T11:21:51.775+0200 [DEBUG] pruneUnusedNodes: data.vsphere_datastore_cluster.datastore (expand) is no longer needed, removing | |
2021-10-11T11:21:51.775+0200 [DEBUG] pruneUnusedNodes: data.vsphere_datacenter.dc (expand) is no longer needed, removing | |
2021-10-11T11:21:51.776+0200 [DEBUG] Starting graph walk: walkApply | |
2021-10-11T11:21:51.776+0200 [DEBUG] created provider logger: level=debug | |
2021-10-11T11:21:51.777+0200 [INFO] provider: configuring client automatic mTLS | |
2021-10-11T11:21:51.826+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5] | |
2021-10-11T11:21:51.826+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125028 | |
2021-10-11T11:21:51.826+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 | |
2021-10-11T11:21:51.851+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: configuring server automatic mTLS: timestamp=2021-10-11T11:21:51.851+0200 | |
2021-10-11T11:21:51.906+0200 [DEBUG] provider.terraform-provider-vsphere_v2.0.2_x5: plugin address: network=unix address=/tmp/plugin198603598 timestamp=2021-10-11T11:21:51.906+0200 | |
2021-10-11T11:21:51.906+0200 [DEBUG] provider: using plugin: version=5 | |
2021-10-11T11:21:51.982+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/hashicorp/vsphere\"]" changed the config value, but that value is unused | |
2021-10-11T11:21:51.983+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Cached SOAP client session data not valid or persistence not enabled, new session necessary: timestamp=2021-10-11T11:21:51.983+0200 | |
2021-10-11T11:21:51.983+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:51 [DEBUG] Creating new SOAP API session on endpoint ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:21:51.983+0200 | |
2021-10-11T11:21:52.073+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] SOAP API session creation successful: timestamp=2021-10-11T11:21:52.073+0200 | |
2021-10-11T11:21:52.073+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] VMWare vSphere Client configured for URL: ntvmcenter1.pc.itc.it: timestamp=2021-10-11T11:21:52.073+0200 | |
2021-10-11T11:21:52.073+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Setting up REST client: timestamp=2021-10-11T11:21:52.073+0200 | |
2021-10-11T11:21:52.452+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] CIS REST client configuration successful: timestamp=2021-10-11T11:21:52.452+0200 | |
2021-10-11T11:21:52.486+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Performing diff customization and validation: timestamp=2021-10-11T11:21:52.486+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] NetworkInterfaceDiffOperation: Beginning diff validation: timestamp=2021-10-11T11:21:52.486+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] network_interface.0 (key 0 at <new device>): Beginning diff validation: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] network_interface.0 (key 0 at <new device>): Diff validation complete: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] NetworkInterfaceDiffOperation: Diff validation complete: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] vsphere_virtual_machine (ID = <new resource>): resource_pool_id modified without change to host_system_id, marking as computed: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DatastoreClusterDiffOperation: datastore_id or datastore_cluster_id value depends on a computed value from another resource. Skipping validation.: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskDiffOperation: Beginning disk diff customization: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskDiffOperation: Beginning collective diff validation (indexes aligned to new config): timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Beginning diff validation: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.487+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] disk.0 (key 0 at <new device>) (<unknown>): Diff validation complete: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.488+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskDiffOperation: Beginning diff validation and normalization (indexes aligned to old state): timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.488+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskDiffOperation: New resource set post-normalization: (key 0 at <new device>): timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.488+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskDiffOperation: Disk diff customization complete, sending new diff: timestamp=2021-10-11T11:21:52.487+0200 | |
2021-10-11T11:21:52.488+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Locating vApp container with ID resgroup-334415: timestamp=2021-10-11T11:21:52.488+0200 | |
2021-10-11T11:21:52.493+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] contentlibrary.IsContentLibrary: Checking if 42008eba-6eea-2ef4-4071-2b265afb4e90 is a content library source: timestamp=2021-10-11T11:21:52.493+0200 | |
2021-10-11T11:21:52.493+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] contentlibrary.ItemFromID: Retrieving library item 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:21:52.493+0200 | |
2021-10-11T11:21:52.778+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] ValidateVirtualMachineClone: Validating fitness of source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90: timestamp=2021-10-11T11:21:52.778+0200 | |
2021-10-11T11:21:52.779+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Locating virtual machine with UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:52.778+0200 | |
2021-10-11T11:21:52.779+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Using SearchIndex to look up UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:52.778+0200 | |
2021-10-11T11:21:52.787+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] VM "/mydomaindc/vm/mydomain/SYS/Standard/template/ubuntu20" found for UUID "42008eba-6eea-2ef4-4071-2b265afb4e90": timestamp=2021-10-11T11:21:52.787+0200 | |
2021-10-11T11:21:52.787+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Fetching properties for VM "/mydomaindc/vm/mydomain/SYS/Standard/template/ubuntu20": timestamp=2021-10-11T11:21:52.787+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Checking existing virtual disk configuration: timestamp=2021-10-11T11:21:52.795+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskRefreshOperation: Found controller "controller-1000" for device "disk-1000-0": timestamp=2021-10-11T11:21:52.795+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Disk devices order before sort: disk-1000-0: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Disk devices order after sort: disk-1000-0: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Current resource set: (key 0 at <new device>): timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Resource set order after sort: (key 0 at <new device>): timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: Running test read operations on all disks: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] disk.0 (key 2000 at scsi:0:0) (<unknown>): Reading state: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] FindVirtualDevice: Looking for device with key 2000: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] FindVirtualDevice: Device found: disk-1000-0: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] disk.0 (key 2000 at scsi:0:0) (ubuntu20/ubuntu20.vmdk): Read finished (key and device address may have changed): timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] DiskCloneValidateOperation: All disks in source validated successfully: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.796+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Locating resource pool with ID resgroup-334415: timestamp=2021-10-11T11:21:52.796+0200 | |
2021-10-11T11:21:52.799+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Resource pool found: resgroup-334415: timestamp=2021-10-11T11:21:52.799+0200 | |
2021-10-11T11:21:52.800+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Looking for OS family for guest ID "ubuntu64Guest": timestamp=2021-10-11T11:21:52.799+0200 | |
2021-10-11T11:21:52.847+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] OSFamily: family for "ubuntu64Guest" is "linuxGuest": timestamp=2021-10-11T11:21:52.846+0200 | |
2021-10-11T11:21:52.847+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] ValidateVirtualMachineClone: Source VM/template 42008eba-6eea-2ef4-4071-2b265afb4e90 is a suitable source for cloning: timestamp=2021-10-11T11:21:52.847+0200 | |
2021-10-11T11:21:52.848+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] VAppDiffOperation: Verifying configuration meets requirements for vApp transport: timestamp=2021-10-11T11:21:52.848+0200 | |
2021-10-11T11:21:52.848+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] VAppDiffOperation: ISO transport is not supported on this virtual machine or multiple transport options exist: timestamp=2021-10-11T11:21:52.848+0200 | |
2021-10-11T11:21:52.848+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Diff customization and validation complete: timestamp=2021-10-11T11:21:52.848+0200 | |
2021-10-11T11:21:52.855+0200 [WARN] Provider "registry.terraform.io/hashicorp/vsphere" produced an invalid plan for vsphere_virtual_machine.vm, 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: | |
- .run_tools_scripts_before_guest_standby: planned value cty.True for a non-computed attribute | |
- .scsi_type: planned value cty.StringVal("pvscsi") for a non-computed attribute | |
- .folder: planned value cty.StringVal("mydomaindc/vm/terraform/services") does not match config value cty.StringVal("/mydomaindc/vm/terraform/services") | |
- .poweron_timeout: planned value cty.NumberIntVal(300) for a non-computed attribute | |
- .boot_retry_delay: planned value cty.NumberIntVal(10000) for a non-computed attribute | |
- .shutdown_wait_timeout: planned value cty.NumberIntVal(3) for a non-computed attribute | |
- .ept_rvi_mode: planned value cty.StringVal("automatic") for a non-computed attribute | |
- .migrate_wait_timeout: planned value cty.NumberIntVal(30) for a non-computed attribute | |
- .swap_placement_policy: planned value cty.StringVal("inherit") for a non-computed attribute | |
- .run_tools_scripts_after_resume: planned value cty.True for a non-computed attribute | |
- .memory_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .wait_for_guest_net_timeout: planned value cty.NumberIntVal(5) for a non-computed attribute | |
- .memory_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .wait_for_guest_ip_timeout: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .cpu_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .ide_controller_count: planned value cty.NumberIntVal(2) for a non-computed attribute | |
- .run_tools_scripts_before_guest_shutdown: planned value cty.True for a non-computed attribute | |
- .scsi_bus_sharing: planned value cty.StringVal("noSharing") for a non-computed attribute | |
- .hv_mode: planned value cty.StringVal("hvAuto") for a non-computed attribute | |
- .num_cores_per_socket: planned value cty.NumberIntVal(1) for a non-computed attribute | |
- .wait_for_guest_net_routable: planned value cty.True for a non-computed attribute | |
- .firmware: planned value cty.StringVal("bios") for a non-computed attribute | |
- .run_tools_scripts_after_power_on: planned value cty.True for a non-computed attribute | |
- .sata_controller_count: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .cpu_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .force_power_off: planned value cty.True for a non-computed attribute | |
- .latency_sensitivity: planned value cty.StringVal("normal") for a non-computed attribute | |
- .scsi_controller_count: planned value cty.NumberIntVal(1) for a non-computed attribute | |
- .clone[0].timeout: planned value cty.NumberIntVal(30) for a non-computed attribute | |
- .clone[0].customize[0].timeout: planned value cty.NumberIntVal(10) for a non-computed attribute | |
- .clone[0].customize[0].linux_options[0].hw_clock_utc: planned value cty.True for a non-computed attribute | |
- .disk[0].controller_type: planned value cty.StringVal("scsi") for a non-computed attribute | |
- .disk[0].io_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].write_through: planned value cty.False for a non-computed attribute | |
- .disk[0].disk_mode: planned value cty.StringVal("persistent") for a non-computed attribute | |
- .disk[0].disk_sharing: planned value cty.StringVal("sharingNone") for a non-computed attribute | |
- .disk[0].eagerly_scrub: planned value cty.False for a non-computed attribute | |
- .disk[0].io_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .disk[0].unit_number: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].io_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
- .disk[0].attach: planned value cty.False for a non-computed attribute | |
- .disk[0].io_share_count: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .disk[0].keep_on_remove: planned value cty.False for a non-computed attribute | |
- .network_interface[0].adapter_type: planned value cty.StringVal("vmxnet3") for a non-computed attribute | |
- .network_interface[0].bandwidth_limit: planned value cty.NumberIntVal(-1) for a non-computed attribute | |
- .network_interface[0].bandwidth_reservation: planned value cty.NumberIntVal(0) for a non-computed attribute | |
- .network_interface[0].bandwidth_share_level: planned value cty.StringVal("normal") for a non-computed attribute | |
vsphere_virtual_machine.vm: Creating... | |
2021-10-11T11:21:52.856+0200 [INFO] Starting apply for vsphere_virtual_machine.vm | |
2021-10-11T11:21:52.858+0200 [DEBUG] vsphere_virtual_machine.vm: applying the planned Create change | |
2021-10-11T11:21:52.860+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] setting computed for "vapp_transport" from ComputedKeys: timestamp=2021-10-11T11:21:52.860+0200 | |
2021-10-11T11:21:52.861+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] setting computed for "guest_ip_addresses" from ComputedKeys: timestamp=2021-10-11T11:21:52.861+0200 | |
2021-10-11T11:21:52.861+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] vsphere_virtual_machine (ID = <new resource>): Beginning create: timestamp=2021-10-11T11:21:52.861+0200 | |
2021-10-11T11:21:52.862+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] tagsClientIfDefined: No tags configured, skipping loading of tagging client: timestamp=2021-10-11T11:21:52.861+0200 | |
2021-10-11T11:21:52.862+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] vsphere_virtual_machine (ID = <new resource>): VM being created from clone: timestamp=2021-10-11T11:21:52.862+0200 | |
2021-10-11T11:21:52.862+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Locating resource pool with ID resgroup-334415: timestamp=2021-10-11T11:21:52.862+0200 | |
2021-10-11T11:21:52.866+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Resource pool found: resgroup-334415: timestamp=2021-10-11T11:21:52.866+0200 | |
2021-10-11T11:21:52.866+0200 [INFO] provider.terraform-provider-vsphere_v2.0.2_x5: 2021/10/11 11:21:52 [DEBUG] Locating folder at path "/mydomaindc/vm/terraform/services" relative to virtual machine root: timestamp=2021-10-11T11:21:52.866+0200 | |
╷ | |
│ Error: folder '/mydomaindc/vm/mydomaindc/vm/terraform/services' not found | |
│ | |
│ with vsphere_virtual_machine.vm, | |
│ on main.tf line 1, in resource "vsphere_virtual_machine" "vm": | |
│ 1: resource "vsphere_virtual_machine" "vm" { | |
│ | |
╵ | |
2021-10-11T11:21:52.888+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-10-11T11:21:52.890+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/vsphere/2.0.2/linux_amd64/terraform-provider-vsphere_v2.0.2_x5 pid=125028 | |
2021-10-11T11:21:52.890+0200 [DEBUG] provider: plugin exited | |
Cleaning up project directory and file based variables | |
00:00 | |
ERROR: Job failed: exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment