Skip to content

Instantly share code, notes, and snippets.

@robbycuenot
Created January 26, 2024 15:33
Show Gist options
  • Save robbycuenot/b1db72eb7a2e2d167498abe2ab140fe7 to your computer and use it in GitHub Desktop.
Save robbycuenot/b1db72eb7a2e2d167498abe2ab140fe7 to your computer and use it in GitHub Desktop.
R930 data "redfish_dell_idrac_attributes" debug
Terraform v1.7.0
on linux_amd64
Initializing plugins and modules...
2024-01-26T15:27:00.449Z [INFO] Terraform version: 1.7.0
2024-01-26T15:27:00.450Z [DEBUG] using github.com/hashicorp/go-tfe v1.41.0
2024-01-26T15:27:00.450Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.19.1
2024-01-26T15:27:00.450Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-01-26T15:27:00.450Z [DEBUG] using github.com/zclconf/go-cty v1.14.1
2024-01-26T15:27:00.450Z [INFO] Go runtime version: go1.21.5
2024-01-26T15:27:00.450Z [INFO] CLI args: []string{"/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/bin/terraform", "plan", "-out=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/config/terraform.tfplan", "-var-file=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/terraform.tfvars", "-detailed-exitcode", "-lock=false", "-json", "-generate-config-out=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/generated-run-mSDy3h28a6BcqYBs.tf"}
2024-01-26T15:27:00.450Z [DEBUG] Attempting to open CLI config file: /home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.terraformrc
2024-01-26T15:27:00.450Z [INFO] Loading CLI configuration from /home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.terraformrc
2024-01-26T15:27:00.451Z [DEBUG] checking for credentials in "/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.terraform.d/plugins"
2024-01-26T15:27:00.451Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-01-26T15:27:00.451Z [DEBUG] will search for provider plugins in /home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.terraform.d/plugins
2024-01-26T15:27:00.451Z [DEBUG] ignoring non-existing provider search directory /home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.local/share/terraform/plugins
2024-01-26T15:27:00.451Z [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2024-01-26T15:27:00.451Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2024-01-26T15:27:00.452Z [INFO] CLI command args: []string{"plan", "-out=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/config/terraform.tfplan", "-var-file=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/terraform.tfvars", "-detailed-exitcode", "-lock=false", "-json", "-generate-config-out=/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/generated-run-mSDy3h28a6BcqYBs.tf"}
{"@level":"info","@message":"Terraform 1.7.0","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:00.452935Z","terraform":"1.7.0","type":"version","ui":"1.2"}
2024-01-26T15:27:00.456Z [DEBUG] Service discovery for app.terraform.io at https://app.terraform.io/.well-known/terraform.json
2024-01-26T15:27:01.057Z [DEBUG] Service discovery for app.terraform.io aliased as localterraform.com
2024-01-26T15:27:01.203Z [DEBUG] checking for provisioner in "."
2024-01-26T15:27:01.203Z [DEBUG] checking for provisioner in "/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/bin"
2024-01-26T15:27:01.203Z [DEBUG] checking for provisioner in "/home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/.terraform.d/plugins"
2024-01-26T15:27:01.344Z [INFO] backend/local: starting Plan operation
2024-01-26T15:27:02.256Z [DEBUG] backend/local: Skipping interactive prompts for variables because input is disabled
2024-01-26T15:27:02.257Z [DEBUG] Building and walking validate graph
2024-01-26T15:27:02.258Z [DEBUG] ProviderTransformer: "data.redfish_bios.bios" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/dell/redfish"]
2024-01-26T15:27:02.258Z [DEBUG] ProviderTransformer: "data.redfish_dell_idrac_attributes.idrac" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/dell/redfish"]
2024-01-26T15:27:02.258Z [DEBUG] created provider logger: level=debug
2024-01-26T15:27:02.259Z [INFO] provider: configuring client automatic mTLS
2024-01-26T15:27:02.297Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 args=[".terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0"]
2024-01-26T15:27:02.298Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=854
2024-01-26T15:27:02.298Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0
2024-01-26T15:27:02.309Z [INFO] provider.terraform-provider-redfish_v1.1.0: configuring server automatic mTLS: timestamp=2024-01-26T15:27:02.309Z
2024-01-26T15:27:02.348Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: plugin address: address=/tmp/plugin862414901 network=unix timestamp=2024-01-26T15:27:02.348Z
2024-01-26T15:27:02.348Z [DEBUG] provider: using plugin: version=6
2024-01-26T15:27:02.388Z [DEBUG] No provider meta schema returned
2024-01-26T15:27:02.391Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-01-26T15:27:02.392Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=854
2024-01-26T15:27:02.392Z [DEBUG] provider: plugin exited
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "output.bios_attributes (expand)" references: [data.redfish_bios.bios]
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/dell/redfish\"]" references: [var.idrac_password var.idrac_username]
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "data.redfish_bios.bios" references: [var.r930_idrac_endpoint]
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "data.redfish_dell_idrac_attributes.idrac" references: [var.r930_idrac_endpoint]
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "var.idrac_username" references: []
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "var.idrac_password" references: []
2024-01-26T15:27:02.393Z [DEBUG] ReferenceTransformer: "var.r930_idrac_endpoint" references: []
2024-01-26T15:27:02.395Z [DEBUG] Starting graph walk: walkValidate
2024-01-26T15:27:02.396Z [DEBUG] created provider logger: level=debug
2024-01-26T15:27:02.396Z [INFO] provider: configuring client automatic mTLS
2024-01-26T15:27:02.414Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 args=[".terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0"]
2024-01-26T15:27:02.414Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=862
2024-01-26T15:27:02.414Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0
2024-01-26T15:27:02.425Z [INFO] provider.terraform-provider-redfish_v1.1.0: configuring server automatic mTLS: timestamp=2024-01-26T15:27:02.425Z
2024-01-26T15:27:02.466Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: plugin address: address=/tmp/plugin786644022 network=unix timestamp=2024-01-26T15:27:02.465Z
2024-01-26T15:27:02.466Z [DEBUG] provider: using plugin: version=6
2024-01-26T15:27:02.514Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-01-26T15:27:02.518Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=862
2024-01-26T15:27:02.518Z [DEBUG] provider: plugin exited
2024-01-26T15:27:02.518Z [INFO] backend/local: plan calling Plan
2024-01-26T15:27:02.519Z [DEBUG] Building and walking plan graph for NormalMode
2024-01-26T15:27:02.519Z [DEBUG] ProviderTransformer: "data.redfish_dell_idrac_attributes.idrac (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/dell/redfish"]
2024-01-26T15:27:02.519Z [DEBUG] ProviderTransformer: "data.redfish_bios.bios (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/dell/redfish"]
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/dell/redfish\"]" references: [var.idrac_password var.idrac_username]
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "data.redfish_dell_idrac_attributes.idrac (expand)" references: [var.r930_idrac_endpoint]
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "data.redfish_bios.bios (expand)" references: [var.r930_idrac_endpoint]
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "var.idrac_username" references: []
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "var.idrac_password" references: []
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "var.r930_idrac_endpoint" references: []
2024-01-26T15:27:02.520Z [DEBUG] ReferenceTransformer: "output.bios_attributes (expand)" references: [data.redfish_bios.bios (expand)]
2024-01-26T15:27:02.521Z [DEBUG] Starting graph walk: walkPlan
2024-01-26T15:27:02.522Z [DEBUG] created provider logger: level=debug
2024-01-26T15:27:02.522Z [INFO] provider: configuring client automatic mTLS
2024-01-26T15:27:02.538Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 args=[".terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0"]
2024-01-26T15:27:02.539Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=871
2024-01-26T15:27:02.539Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0
2024-01-26T15:27:02.550Z [INFO] provider.terraform-provider-redfish_v1.1.0: configuring server automatic mTLS: timestamp=2024-01-26T15:27:02.550Z
2024-01-26T15:27:02.588Z [DEBUG] provider: using plugin: version=6
2024-01-26T15:27:02.588Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: plugin address: address=/tmp/plugin4113831680 network=unix timestamp=2024-01-26T15:27:02.588Z
2024-01-26T15:27:02.622Z [DEBUG] ReferenceTransformer: "data.redfish_bios.bios" references: []
2024-01-26T15:27:02.623Z [DEBUG] Resource instance state not found for node "data.redfish_dell_idrac_attributes.idrac", instance data.redfish_dell_idrac_attributes.idrac
2024-01-26T15:27:02.623Z [DEBUG] ReferenceTransformer: "data.redfish_dell_idrac_attributes.idrac" references: []
{"@level":"info","@message":"data.redfish_dell_idrac_attributes.idrac: Refreshing...","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:02.632378Z","hook":{"resource":{"addr":"data.redfish_dell_idrac_attributes.idrac","module":"","resource":"data.redfish_dell_idrac_attributes.idrac","implied_provider":"redfish","resource_type":"redfish_dell_idrac_attributes","resource_name":"idrac","resource_key":null},"action":"read"},"type":"apply_start"}
{"@level":"info","@message":"data.redfish_bios.bios: Refreshing...","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:02.635283Z","hook":{"resource":{"addr":"data.redfish_bios.bios","module":"","resource":"data.redfish_bios.bios","implied_provider":"redfish","resource_type":"redfish_bios","resource_name":"bios","resource_key":null},"action":"read"},"type":"apply_start"}
2024-01-26T15:27:04.788Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: 2024/01/26 15:27:04 Connection with the redfish endpoint https://10.REDACTED was sucessful
2024-01-26T15:27:05.392Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: 2024/01/26 15:27:05 Connection with the redfish endpoint https://10.REDACTED was sucessful
2024-01-26T15:27:10.290Z [ERROR] provider.terraform-provider-redfish_v1.1.0: Response contains error diagnostic: diagnostic_detail="unexpected end of JSON input" tf_proto_version=6.4 @module=sdk.proto tf_req_id=a735a3b3-871b-d7a1-32b2-bbfdcb30f34a @caller=github.com/hashicorp/terraform-plugin-go@v0.19.0/tfprotov6/internal/diag/diagnostics.go:58 tf_data_source_type=redfish_dell_idrac_attributes tf_rpc=ReadDataSource diagnostic_severity=ERROR diagnostic_summary="there was an issue when reading idrac attributes" tf_provider_addr=registry.terraform.io/dell/redfish timestamp=2024-01-26T15:27:10.290Z
2024-01-26T15:27:10.291Z [ERROR] vertex "data.redfish_dell_idrac_attributes.idrac" error: there was an issue when reading idrac attributes
2024-01-26T15:27:10.291Z [ERROR] vertex "data.redfish_dell_idrac_attributes.idrac (expand)" error: there was an issue when reading idrac attributes
{"@level":"info","@message":"data.redfish_dell_idrac_attributes.idrac: Still refreshing... [10s elapsed]","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.634288Z","hook":{"resource":{"addr":"data.redfish_dell_idrac_attributes.idrac","module":"","resource":"data.redfish_dell_idrac_attributes.idrac","implied_provider":"redfish","resource_type":"redfish_dell_idrac_attributes","resource_name":"idrac","resource_key":null},"action":"read","elapsed_seconds":10},"type":"apply_progress"}
{"@level":"info","@message":"data.redfish_bios.bios: Still refreshing... [10s elapsed]","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.636532Z","hook":{"resource":{"addr":"data.redfish_bios.bios","module":"","resource":"data.redfish_bios.bios","implied_provider":"redfish","resource_type":"redfish_bios","resource_name":"bios","resource_key":null},"action":"read","elapsed_seconds":10},"type":"apply_progress"}
2024-01-26T15:27:12.913Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_data_source_type=redfish_bios tf_req_id=ff5dadce-037d-034f-45ca-94236aec2146 @caller=github.com/hashicorp/terraform-plugin-framework@v1.4.1/internal/fwschemadata/value_semantic_equality.go:85 tf_attribute_path=redfish_server[0].endpoint tf_provider_addr=registry.terraform.io/dell/redfish tf_rpc=ReadDataSource timestamp=2024-01-26T15:27:12.913Z
2024-01-26T15:27:12.914Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: Value switched to prior value due to semantic equality logic: tf_req_id=ff5dadce-037d-034f-45ca-94236aec2146 tf_rpc=ReadDataSource @caller=github.com/hashicorp/terraform-plugin-framework@v1.4.1/internal/fwschemadata/value_semantic_equality.go:85 @module=sdk.framework tf_attribute_path=redfish_server[0].ssl_insecure tf_data_source_type=redfish_bios tf_provider_addr=registry.terraform.io/dell/redfish timestamp=2024-01-26T15:27:12.913Z
2024-01-26T15:27:12.914Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_data_source_type=redfish_bios tf_provider_addr=registry.terraform.io/dell/redfish tf_rpc=ReadDataSource @caller=github.com/hashicorp/terraform-plugin-framework@v1.4.1/internal/fwschemadata/value_semantic_equality.go:85 tf_attribute_path=redfish_server[0] tf_req_id=ff5dadce-037d-034f-45ca-94236aec2146 timestamp=2024-01-26T15:27:12.913Z
2024-01-26T15:27:12.914Z [DEBUG] provider.terraform-provider-redfish_v1.1.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadDataSource @caller=github.com/hashicorp/terraform-plugin-framework@v1.4.1/internal/fwschemadata/value_semantic_equality.go:85 tf_attribute_path=redfish_server tf_data_source_type=redfish_bios tf_provider_addr=registry.terraform.io/dell/redfish tf_req_id=ff5dadce-037d-034f-45ca-94236aec2146 @module=sdk.framework timestamp=2024-01-26T15:27:12.913Z
{"@level":"info","@message":"data.redfish_bios.bios: Refresh complete after 10s [id=Bios]","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.919095Z","hook":{"resource":{"addr":"data.redfish_bios.bios","module":"","resource":"data.redfish_bios.bios","implied_provider":"redfish","resource_type":"redfish_bios","resource_name":"bios","resource_key":null},"action":"read","id_key":"id","id_value":"Bios","elapsed_seconds":10},"type":"apply_complete"}
2024-01-26T15:27:12.940Z [INFO] backend/local: plan operation completed
2024-01-26T15:27:12.940Z [INFO] backend/local: writing plan output to: /home/tfc-agent/.tfc-agent/component/terraform/runs/run-mSDy3h28a6BcqYBs/config/terraform.tfplan
{"@level":"info","@message":"Plan: 0 to add, 0 to change, 0 to destroy.","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.957992Z","changes":{"add":0,"change":0,"import":0,"remove":0,"operation":"plan"},"type":"change_summary"}
{"@level":"info","@message":"Outputs: 1","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.958093Z","outputs":{"bios_attributes":{"sensitive":true,"action":"noop"}},"type":"outputs"}
{"@level":"error","@message":"Error: there was an issue when reading idrac attributes","@module":"terraform.ui","@timestamp":"2024-01-26T15:27:12.958749Z","diagnostic":{"severity":"error","summary":"there was an issue when reading idrac attributes","detail":"unexpected end of JSON input","address":"data.redfish_dell_idrac_attributes.idrac","range":{"filename":"data.tf","start":{"line":1,"column":46,"byte":45},"end":{"line":1,"column":47,"byte":46}},"snippet":{"context":"data \"redfish_dell_idrac_attributes\" \"idrac\"","code":"data \"redfish_dell_idrac_attributes\" \"idrac\" {","start_line":1,"highlight_start_offset":45,"highlight_end_offset":46,"values":[]}},"type":"diagnostic"}
2024-01-26T15:27:12.960Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-01-26T15:27:12.963Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/dell/redfish/1.1.0/linux_amd64/terraform-provider-redfish_v1.1.0 pid=871
2024-01-26T15:27:12.963Z [DEBUG] provider: plugin exited
Operation failed: failed running terraform plan (exit 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment