Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rancher terraform quick start doesn't work in aws #205

Open
zhaoyi0113 opened this issue May 7, 2022 · 4 comments
Open

Rancher terraform quick start doesn't work in aws #205

zhaoyi0113 opened this issue May 7, 2022 · 4 comments

Comments

@zhaoyi0113
Copy link

zhaoyi0113 commented May 7, 2022

I am trying to deploy rancher to aws via terraform but got below error at the end. The rancher provider version is 1.23.0. What could be the reason causing this error?

I am using Terraform v1.1.6.

╷
│ Error: Rancher is not ready: <nil>
│
│   with module.rancher_common.rancher2_bootstrap.admin,
│   on ../rancher-common/rancher.tf line 4, in resource "rancher2_bootstrap" "admin":
│    4: resource "rancher2_bootstrap" "admin" {
│
╵
@bashofmann
Copy link
Contributor

What happens if you just run terraform apply a second time after that?

@zhaoyi0113
Copy link
Author

I get the same error. The bootstrap admin is not ready. I have tried to increase the timeout to be 20 minutes. but still get the same error.

@bashofmann
Copy link
Contributor

Can you run terraform with debug logs (TF_LOG=debug terraform apply). Maybe there is more information in there that can help to identify what is going wrong.

@rancesking
Copy link

Hello i have the same problem, here is my debug log:

`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:

aws_instance.quickstart_node will be created

  • resource "aws_instance" "quickstart_node" {
    • ami = "ami-01f7183c498da740b"

    • arn = (known after apply)

    • associate_public_ip_address = true

    • availability_zone = (known after apply)

    • cpu_core_count = (known after apply)

    • cpu_threads_per_core = (known after apply)

    • disable_api_termination = (known after apply)

    • ebs_optimized = (known after apply)

    • get_password_data = false

    • host_id = (known after apply)

    • id = (known after apply)

    • instance_initiated_shutdown_behavior = (known after apply)

    • instance_state = (known after apply)

    • instance_type = "t3a.small"

    • ipv6_address_count = (known after apply)

    • ipv6_addresses = (known after apply)

    • key_name = "quickstart-rancher-20230228164739125700000001"

    • monitoring = (known after apply)

    • outpost_arn = (known after apply)

    • password_data = (known after apply)

    • placement_group = (known after apply)

    • placement_partition_number = (known after apply)

    • primary_network_interface_id = (known after apply)

    • private_dns = (known after apply)

    • private_ip = (known after apply)

    • public_dns = (known after apply)

    • public_ip = (known after apply)

    • secondary_private_ips = (known after apply)

    • security_groups = (known after apply)

    • source_dest_check = true

    • subnet_id = "subnet-01bac293de54b8759"

    • tags = {

      • "Creator" = "rancher-quickstart"
      • "Name" = "quickstart-quickstart-node"
        }
    • tags_all = {

      • "Creator" = "rancher-quickstart"
      • "Name" = "quickstart-quickstart-node"
        }
    • tenancy = (known after apply)

    • user_data = (known after apply)

    • user_data_base64 = (known after apply)

    • user_data_replace_on_change = false

    • vpc_security_group_ids = [

      • "sg-0a9b16fdcc3869211",
        ]
    • capacity_reservation_specification {

      • capacity_reservation_preference = (known after apply)

      • capacity_reservation_target {

        • capacity_reservation_id = (known after apply)
        • capacity_reservation_resource_group_arn = (known after apply)
          }
          }
    • ebs_block_device {

      • delete_on_termination = (known after apply)
      • device_name = (known after apply)
      • encrypted = (known after apply)
      • iops = (known after apply)
      • kms_key_id = (known after apply)
      • snapshot_id = (known after apply)
      • tags = (known after apply)
      • throughput = (known after apply)
      • volume_id = (known after apply)
      • volume_size = (known after apply)
      • volume_type = (known after apply)
        }
    • enclave_options {

      • enabled = (known after apply)
        }
    • ephemeral_block_device {

      • device_name = (known after apply)
      • no_device = (known after apply)
      • virtual_name = (known after apply)
        }
    • maintenance_options {

      • auto_recovery = (known after apply)
        }
    • metadata_options {

      • http_endpoint = (known after apply)
      • http_put_response_hop_limit = (known after apply)
      • http_tokens = (known after apply)
      • instance_metadata_tags = (known after apply)
        }
    • network_interface {

      • delete_on_termination = (known after apply)
      • device_index = (known after apply)
      • network_card_index = (known after apply)
      • network_interface_id = (known after apply)
        }
    • root_block_device {

      • delete_on_termination = true
      • device_name = (known after apply)
      • encrypted = (known after apply)
      • iops = (known after apply)
      • kms_key_id = (known after apply)
      • throughput = (known after apply)
      • volume_id = (known after apply)
      • volume_size = 40
      • volume_type = (known after apply)
        }
        }

module.rancher_common.local_file.kube_config_workload_yaml will be created

  • resource "local_file" "kube_config_workload_yaml" {
    • content = (sensitive value)
    • directory_permission = "0777"
    • file_permission = "0777"
    • filename = "./kube_config_workload.yaml"
    • id = (known after apply)
      }

module.rancher_common.rancher2_bootstrap.admin will be created

  • resource "rancher2_bootstrap" "admin" {
    • current_password = (sensitive value)
    • id = (known after apply)
    • initial_password = (sensitive value)
    • password = (sensitive value)
    • telemetry = true
    • temp_token = (sensitive value)
    • temp_token_id = (known after apply)
    • token = (sensitive value)
    • token_id = (known after apply)
    • token_ttl = 0
    • token_update = false
    • ui_default_landing = "ember"
    • url = (known after apply)
    • user = (known after apply)
      }

module.rancher_common.rancher2_cluster_v2.quickstart_workload will be created

  • resource "rancher2_cluster_v2" "quickstart_workload" {
    • annotations = (known after apply)

    • cluster_registration_token = (sensitive value)

    • cluster_v1_id = (known after apply)

    • enable_network_policy = (known after apply)

    • fleet_namespace = "fleet-default"

    • id = (known after apply)

    • kube_config = (sensitive value)

    • kubernetes_version = "v1.23.14+rke2r1"

    • labels = (known after apply)

    • name = "quickstart-aws-custom"

    • resource_version = (known after apply)

    • rke_config {

      • additional_manifest = (known after apply)

      • chart_values = (known after apply)

      • machine_global_config = (known after apply)

      • etcd {

        • disable_snapshots = (known after apply)

        • snapshot_retention = (known after apply)

        • snapshot_schedule_cron = (known after apply)

        • s3_config {

          • bucket = (known after apply)
          • cloud_credential_name = (known after apply)
          • endpoint = (known after apply)
          • endpoint_ca = (known after apply)
          • folder = (known after apply)
          • region = (known after apply)
          • skip_ssl_verify = (known after apply)
            }
            }
      • etcd_snapshot_create {

        • generation = (known after apply)
          }
      • etcd_snapshot_restore {

        • generation = (known after apply)
        • name = (known after apply)
        • restore_rke_config = (known after apply)
          }
      • local_auth_endpoint {

        • ca_certs = (known after apply)
        • enabled = (known after apply)
        • fqdn = (known after apply)
          }
      • machine_pools {

        • annotations = (known after apply)

        • cloud_credential_secret_name = (known after apply)

        • control_plane_role = (known after apply)

        • drain_before_delete = (known after apply)

        • etcd_role = (known after apply)

        • labels = (known after apply)

        • max_unhealthy = (known after apply)

        • name = (known after apply)

        • node_drain_timeout = (known after apply)

        • node_startup_timeout_seconds = (known after apply)

        • paused = (known after apply)

        • quantity = (known after apply)

        • unhealthy_node_timeout_seconds = (known after apply)

        • unhealthy_range = (known after apply)

        • worker_role = (known after apply)

        • machine_config {

          • kind = (known after apply)
          • name = (known after apply)
            }
        • rolling_update {

          • max_surge = (known after apply)
          • max_unavailable = (known after apply)
            }
        • taints {

          • effect = (known after apply)
          • key = (known after apply)
          • value = (known after apply)
            }
            }
      • machine_selector_config {

        • config = (known after apply)

        • machine_label_selector {

          • match_labels = (known after apply)

          • match_expressions {

            • key = (known after apply)
            • operator = (known after apply)
            • values = (known after apply)
              }
              }
              }
      • registries {

        • configs {

          • auth_config_secret_name = (known after apply)
          • ca_bundle = (known after apply)
          • hostname = (known after apply)
          • insecure = (known after apply)
          • tls_secret_name = (known after apply)
            }
        • mirrors {

          • endpoints = (known after apply)
          • hostname = (known after apply)
          • rewrites = (known after apply)
            }
            }
      • rotate_certificates {

        • generation = (known after apply)
        • services = (known after apply)
          }
      • upgrade_strategy {

        • control_plane_concurrency = (known after apply)

        • worker_concurrency = (known after apply)

        • control_plane_drain_options {

          • delete_empty_dir_data = (known after apply)
          • disable_eviction = (known after apply)
          • enabled = (known after apply)
          • force = (known after apply)
          • grace_period = (known after apply)
          • ignore_daemon_sets = (known after apply)
          • ignore_errors = (known after apply)
          • skip_wait_for_delete_timeout_seconds = (known after apply)
          • timeout = (known after apply)
            }
        • worker_drain_options {

          • delete_empty_dir_data = (known after apply)
          • disable_eviction = (known after apply)
          • enabled = (known after apply)
          • force = (known after apply)
          • grace_period = (known after apply)
          • ignore_daemon_sets = (known after apply)
          • ignore_errors = (known after apply)
          • skip_wait_for_delete_timeout_seconds = (known after apply)
          • timeout = (known after apply)
            }
            }
            }
            }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:

  • workload_node_ip = (known after apply)

    │ Warning: Deprecated attribute

    │ on infra.tf line 87, in resource "aws_security_group" "rancher_sg_allowall":
    │ 87: cidr_blocks = ["${chomp(data.http.ip.body)}/32"]

    │ The attribute "body" is deprecated. Refer to the provider documentation for details.

    │ (and one more similar warning elsewhere)

    2023-02-28T13:12:24.318-0400 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"

Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.

Enter a value: yes

2023-02-28T13:12:27.417-0400 [INFO] backend/local: apply calling Apply
2023-02-28T13:12:27.417-0400 [DEBUG] Building and walking apply graph for NormalMode plan
2023-02-28T13:12:27.418-0400 [DEBUG] Resource state not found for node "module.rancher_common.rancher2_bootstrap.admin", instance module.rancher_common.rancher2_bootstrap.admin
2023-02-28T13:12:27.418-0400 [DEBUG] Resource state not found for node "aws_instance.quickstart_node", instance aws_instance.quickstart_node
2023-02-28T13:12:27.418-0400 [DEBUG] Resource state not found for node "module.rancher_common.local_file.kube_config_workload_yaml", instance module.rancher_common.local_file.kube_config_workload_yaml
2023-02-28T13:12:27.418-0400 [DEBUG] Resource state not found for node "module.rancher_common.rancher2_cluster_v2.quickstart_workload", instance module.rancher_common.rancher2_cluster_v2.quickstart_workload
2023-02-28T13:12:27.418-0400 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/loafoe/ssh"], implied first by module.rancher_common.ssh_resource.retrieve_config (expand)
2023-02-28T13:12:27.418-0400 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/rancher/rancher2"], implied first by module.rancher_common.rancher2_bootstrap.admin
2023-02-28T13:12:27.418-0400 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/helm"], implied first by module.rancher_common.helm_release.cert_manager (expand)
2023-02-28T13:12:27.418-0400 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/http"], implied first by data.http.ip (expand)
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_instance.quickstart_node" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_subnet.rancher_subnet (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.local_file.kube_config_workload_yaml" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/local"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "data.http.ip (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/http"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "local_sensitive_file.ssh_private_key_pem (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/local"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_instance.quickstart_node (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.local_file.kube_config_server_yaml (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/local"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "tls_private_key.global_key (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/tls"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_route_table_association.rancher_route_table_association (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_security_group.rancher_sg_allowall (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.rancher2_bootstrap.admin (expand)" (*terraform.nodeExpandApplyableResource) needs module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].bootstrap
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.helm_release.rancher_server (expand)" (*terraform.nodeExpandApplyableResource) needs module.rancher_common.provider["registry.terraform.io/hashicorp/helm"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.ssh_resource.install_k3s (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/loafoe/ssh"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.local_file.kube_config_workload_yaml (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/local"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_key_pair.quickstart_key_pair (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_instance.quickstart_node_win (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_instance.rancher_server (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.ssh_resource.retrieve_config (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/loafoe/ssh"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_vpc.rancher_vpc (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "local_file.ssh_public_key_openssh (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/local"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "data.aws_ami.sles (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_internet_gateway.rancher_gateway (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "aws_route_table.rancher_route_table (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.rancher2_bootstrap.admin" (*terraform.NodeApplyableResourceInstance) needs module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].bootstrap
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.helm_release.cert_manager (expand)" (*terraform.nodeExpandApplyableResource) needs module.rancher_common.provider["registry.terraform.io/hashicorp/helm"]
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.rancher2_cluster_v2.quickstart_workload" (*terraform.NodeApplyableResourceInstance) needs module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].admin
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "module.rancher_common.rancher2_cluster_v2.quickstart_workload (expand)" (*terraform.nodeExpandApplyableResource) needs module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].admin
2023-02-28T13:12:27.419-0400 [DEBUG] ProviderTransformer: "data.aws_ami.windows (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/aws"]
2023-02-28T13:12:27.420-0400 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/helm"]
2023-02-28T13:12:27.420-0400 [DEBUG] pruning unused provider["registry.terraform.io/rancher/rancher2"]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].admin" references: [module.rancher_common.rancher2_bootstrap.admin (expand) module.rancher_common.rancher2_bootstrap.admin module.rancher_common.rancher2_bootstrap.admin module.rancher_common.var.rancher_server_dns (expand)]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.rancher2_cluster_v2.quickstart_workload (expand)" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.rancher_kubernetes_version (expand)" references: [var.rancher_kubernetes_version]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/tls"]" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "var.instance_type" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.workload_cluster_name (expand)" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.cert_manager_version (expand)" references: [var.cert_manager_version]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.node_internal_ip (expand)" references: [aws_instance.rancher_server (expand)]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "aws_route_table_association.rancher_route_table_association (expand)" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "var.rancher_kubernetes_version" references: []
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.ssh_private_key_pem (expand)" references: [tls_private_key.global_key (expand)]
2023-02-28T13:12:27.421-0400 [INFO] ReferenceTransformer: reference not found: "path.module"
2023-02-28T13:12:27.421-0400 [INFO] ReferenceTransformer: reference not found: "self"
2023-02-28T13:12:27.421-0400 [INFO] ReferenceTransformer: reference not found: "aws_route_table_association.rancher_route_table_association#destroy"
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "aws_instance.quickstart_node" references: [aws_route_table_association.rancher_route_table_association (expand) aws_key_pair.quickstart_key_pair (expand) var.prefix data.aws_ami.sles (expand) aws_subnet.rancher_subnet (expand) aws_security_group.rancher_sg_allowall (expand) module.rancher_common.output.custom_cluster_command (expand) var.instance_type local.node_username (expand) tls_private_key.global_key (expand)]
2023-02-28T13:12:27.421-0400 [DEBUG] ReferenceTransformer: "local_sensitive_file.ssh_private_key_pem (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_internet_gateway.rancher_gateway (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.aws_access_key" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.node_username (expand)" references: [local.node_username (expand)]
2023-02-28T13:12:27.422-0400 [INFO] ReferenceTransformer: reference not found: "path.root"
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.local_file.kube_config_workload_yaml" references: [module.rancher_common.rancher2_cluster_v2.quickstart_workload (expand) module.rancher_common.rancher2_cluster_v2.quickstart_workload module.rancher_common.rancher2_cluster_v2.quickstart_workload]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].bootstrap" references: [module.rancher_common.var.rancher_server_dns (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/http"]" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common (close)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_security_group.rancher_sg_allowall (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.aws_region" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.prefix" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.node_public_ip (expand)" references: [aws_instance.rancher_server (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "output.windows_password (expand)" references: [aws_instance.quickstart_node_win (expand) tls_private_key.global_key (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.rancher2_bootstrap.admin (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.aws_zone" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.workload_kubernetes_version" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.rancher_version" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.rancher2_cluster_v2.quickstart_workload" references: [module.rancher_common.var.workload_cluster_name (expand) module.rancher_common.var.workload_kubernetes_version (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/aws"]" references: [var.aws_region var.aws_session_token]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "data.aws_ami.sles (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.ssh_resource.install_k3s (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.helm_release.rancher_server (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.rancher_server_dns (expand)" references: [aws_instance.rancher_server (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.rancher_helm_repository (expand)" references: [var.rancher_helm_repository]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "output.workload_node_ip (expand)" references: [aws_instance.quickstart_node aws_instance.quickstart_node aws_instance.quickstart_node (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/loafoe/ssh"]" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_key_pair.quickstart_key_pair (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.local_file.kube_config_workload_yaml (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.rancher_server_admin_password" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.add_windows_node" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_instance.rancher_server (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_instance.quickstart_node_win (expand)" references: [var.add_windows_node]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.ssh_resource.retrieve_config (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.admin_password (expand)" references: [var.rancher_server_admin_password]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.output.rancher_url (expand)" references: [module.rancher_common.var.rancher_server_dns (expand)]
2023-02-28T13:12:27.422-0400 [INFO] ReferenceTransformer: reference not found: "helm_release.rancher_server#destroy"
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.rancher2_bootstrap.admin" references: [module.rancher_common.helm_release.rancher_server (expand) module.rancher_common.var.admin_password (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.provider["registry.terraform.io/hashicorp/helm"]" references: [module.rancher_common.local_file.kube_config_server_yaml (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.aws_secret_key" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.cert_manager_version" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "output.rancher_node_ip (expand)" references: [aws_instance.rancher_server (expand)]
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/local"]" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "aws_instance.quickstart_node (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.helm_release.cert_manager (expand)" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.rancher_helm_repository" references: []
2023-02-28T13:12:27.422-0400 [DEBUG] ReferenceTransformer: "var.windows_instance_type" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.output.custom_cluster_windows_command (expand)" references: [module.rancher_common.rancher2_cluster_v2.quickstart_workload (expand) module.rancher_common.rancher2_cluster_v2.quickstart_workload module.rancher_common.rancher2_cluster_v2.quickstart_workload]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "aws_vpc.rancher_vpc (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "data.http.ip (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "data.aws_ami.windows (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.rancher_version (expand)" references: [var.rancher_version]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "local.node_username (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "aws_route_table.rancher_route_table (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "local_file.ssh_public_key_openssh (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.var.workload_kubernetes_version (expand)" references: [var.workload_kubernetes_version]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "output.windows-workload-ips (expand)" references: [aws_instance.quickstart_node_win (expand)]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "output.rancher_server_url (expand)" references: [module.rancher_common.output.rancher_url (expand)]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "aws_subnet.rancher_subnet (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.local_file.kube_config_server_yaml (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "module.rancher_common.output.custom_cluster_command (expand)" references: [module.rancher_common.rancher2_cluster_v2.quickstart_workload (expand) module.rancher_common.rancher2_cluster_v2.quickstart_workload module.rancher_common.rancher2_cluster_v2.quickstart_workload]
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "tls_private_key.global_key (expand)" references: []
2023-02-28T13:12:27.423-0400 [DEBUG] ReferenceTransformer: "var.aws_session_token" references: []
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.rancher_kubernetes_version (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.cert_manager_version (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.node_internal_ip (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.ssh_private_key_pem (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: local_sensitive_file.ssh_private_key_pem (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: aws_internet_gateway.rancher_gateway (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.node_username (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.node_public_ip (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.ssh_resource.install_k3s (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.rancher_helm_repository (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: aws_instance.quickstart_node_win (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.ssh_resource.retrieve_config (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.helm_release.cert_manager (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.output.custom_cluster_windows_command (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.local_file.kube_config_server_yaml (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: local_file.ssh_public_key_openssh (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: aws_route_table.rancher_route_table (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: module.rancher_common.var.rancher_version (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: data.aws_ami.windows (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: provider["registry.terraform.io/loafoe/ssh"] is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: data.http.ip (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: aws_vpc.rancher_vpc (expand) is no longer needed, removing
2023-02-28T13:12:27.425-0400 [DEBUG] pruneUnusedNodes: provider["registry.terraform.io/hashicorp/http"] is no longer needed, removing
2023-02-28T13:12:27.426-0400 [DEBUG] Starting graph walk: walkApply
2023-02-28T13:12:27.427-0400 [DEBUG] created provider logger: level=debug
2023-02-28T13:12:27.427-0400 [INFO] provider: configuring client automatic mTLS
2023-02-28T13:12:27.433-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.2.3/linux_amd64/terraform-provider-local_v2.2.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/local/2.2.3/linux_amd64/terraform-provider-local_v2.2.3_x5]
2023-02-28T13:12:27.434-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.2.3/linux_amd64/terraform-provider-local_v2.2.3_x5 pid=11296
2023-02-28T13:12:27.434-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.2.3/linux_amd64/terraform-provider-local_v2.2.3_x5
2023-02-28T13:12:27.440-0400 [INFO] provider.terraform-provider-local_v2.2.3_x5: configuring server automatic mTLS: timestamp=2023-02-28T13:12:27.439-0400
2023-02-28T13:12:27.465-0400 [DEBUG] provider: using plugin: version=5
2023-02-28T13:12:27.465-0400 [DEBUG] provider.terraform-provider-local_v2.2.3_x5: plugin address: address=/tmp/plugin078043677 network=unix timestamp=2023-02-28T13:12:27.465-0400
2023-02-28T13:12:27.484-0400 [DEBUG] created provider logger: level=debug
2023-02-28T13:12:27.484-0400 [INFO] provider: configuring client automatic mTLS
2023-02-28T13:12:27.490-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.9.0/linux_amd64/terraform-provider-helm_v2.9.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/helm/2.9.0/linux_amd64/terraform-provider-helm_v2.9.0_x5]
2023-02-28T13:12:27.491-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.9.0/linux_amd64/terraform-provider-helm_v2.9.0_x5 pid=11308
2023-02-28T13:12:27.491-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.9.0/linux_amd64/terraform-provider-helm_v2.9.0_x5
2023-02-28T13:12:27.512-0400 [INFO] provider.terraform-provider-helm_v2.9.0_x5: configuring server automatic mTLS: timestamp=2023-02-28T13:12:27.512-0400
2023-02-28T13:12:27.529-0400 [DEBUG] provider: using plugin: version=5
2023-02-28T13:12:27.529-0400 [DEBUG] provider.terraform-provider-helm_v2.9.0_x5: plugin address: address=/tmp/plugin635751179 network=unix timestamp=2023-02-28T13:12:27.529-0400
2023-02-28T13:12:27.544-0400 [DEBUG] created provider logger: level=debug
2023-02-28T13:12:27.544-0400 [INFO] provider: configuring client automatic mTLS
2023-02-28T13:12:27.550-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/tls/3.4.0/linux_amd64/terraform-provider-tls_v3.4.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/tls/3.4.0/linux_amd64/terraform-provider-tls_v3.4.0_x5]
2023-02-28T13:12:27.550-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/tls/3.4.0/linux_amd64/terraform-provider-tls_v3.4.0_x5 pid=11326
2023-02-28T13:12:27.550-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/tls/3.4.0/linux_amd64/terraform-provider-tls_v3.4.0_x5
2023-02-28T13:12:27.555-0400 [INFO] provider.terraform-provider-tls_v3.4.0_x5: configuring server automatic mTLS: timestamp=2023-02-28T13:12:27.555-0400
2023-02-28T13:12:27.561-0400 [DEBUG] provider: using plugin: version=5
2023-02-28T13:12:27.562-0400 [DEBUG] provider.terraform-provider-tls_v3.4.0_x5: plugin address: address=/tmp/plugin953863215 network=unix timestamp=2023-02-28T13:12:27.561-0400
2023-02-28T13:12:27.572-0400 [DEBUG] created provider logger: level=debug
2023-02-28T13:12:27.572-0400 [INFO] provider: configuring client automatic mTLS
2023-02-28T13:12:27.578-0400 [WARN] ValidateProviderConfig from "module.rancher_common.provider["registry.terraform.io/hashicorp/helm"]" changed the config value, but that value is unused
2023-02-28T13:12:27.580-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.18.0/linux_amd64/terraform-provider-aws_v4.18.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/4.18.0/linux_amd64/terraform-provider-aws_v4.18.0_x5]
2023-02-28T13:12:27.580-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.18.0/linux_amd64/terraform-provider-aws_v4.18.0_x5 pid=11338
2023-02-28T13:12:27.580-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.18.0/linux_amd64/terraform-provider-aws_v4.18.0_x5
2023-02-28T13:12:27.592-0400 [INFO] provider.terraform-provider-aws_v4.18.0_x5: configuring server automatic mTLS: timestamp=2023-02-28T13:12:27.592-0400
2023-02-28T13:12:27.623-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: plugin address: address=/tmp/plugin3061339940 network=unix timestamp=2023-02-28T13:12:27.622-0400
2023-02-28T13:12:27.623-0400 [DEBUG] provider: using plugin: version=5
2023-02-28T13:12:27.634-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-28T13:12:27.634-0400 [INFO] provider.terraform-provider-helm_v2.9.0_x5: 2023/02/28 13:12:27 [DEBUG] Experiments enabled: []: timestamp=2023-02-28T13:12:27.634-0400
2023-02-28T13:12:27.635-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/tls/3.4.0/linux_amd64/terraform-provider-tls_v3.4.0_x5 pid=11326
2023-02-28T13:12:27.635-0400 [DEBUG] provider: plugin exited
2023-02-28T13:12:27.686-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-28T13:12:27.688-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/helm/2.9.0/linux_amd64/terraform-provider-helm_v2.9.0_x5 pid=11308
2023-02-28T13:12:27.688-0400 [DEBUG] provider: plugin exited
2023-02-28T13:12:27.810-0400 [WARN] ValidateProviderConfig from "provider["registry.terraform.io/hashicorp/aws"]" changed the config value, but that value is unused
2023-02-28T13:12:27.814-0400 [INFO] provider.terraform-provider-aws_v4.18.0_x5: Retrieved credentials from "EnvConfigCredentials": timestamp=2023-02-28T13:12:27.813-0400
2023-02-28T13:12:27.815-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: Trying to get account information via sts:GetCallerIdentity: timestamp=2023-02-28T13:12:27.814-0400
2023-02-28T13:12:27.815-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go-v2] Request
POST / HTTP/1.1
Host: sts.us-east-1.amazonaws.com
User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.6 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.16.5 os/linux lang/go/1.17.6 md/GOOS/linux md/GOARCH/amd64 api/sts/1.16.4
Content-Length: 43
Amz-Sdk-Invocation-Id: f83e0597-d544-489e-8a45-6e49794ae2c5
Amz-Sdk-Request: attempt=1; max=25
Authorization: AWS4-HMAC-SHA256 Credential=AKIA5DPC6D5ACM33HY6I/20230228/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=8356f4027c05f9ca39ccef7a04eb1855d403bd27760d7b7703908846b5857417
Content-Type: application/x-www-form-urlencoded
X-Amz-Date: 20230228T171227Z
Accept-Encoding: gzip

Action=GetCallerIdentity&Version=2011-06-15: timestamp=2023-02-28T13:12:27.815-0400
2023-02-28T13:12:28.232-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go-v2] Response
HTTP/1.1 200 OK
Content-Length: 407
Content-Type: text/xml
Date: Tue, 28 Feb 2023 17:12:19 GMT
X-Amzn-Requestid: 3783aa21-88dd-43cf-b820-7c4987590881

arn:aws:iam::900808449856:user/cloud_user AIDA5DPC6D5AKTLVJNI3K 900808449856 3783aa21-88dd-43cf-b820-7c4987590881 : timestamp=2023-02-28T13:12:28.232-0400 2023-02-28T13:12:28.234-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: Trying to get account information via sts:GetCallerIdentity: timestamp=2023-02-28T13:12:28.234-0400 2023-02-28T13:12:28.234-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go-v2] Request POST / HTTP/1.1 Host: sts.us-east-1.amazonaws.com User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.6 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.16.5 os/linux lang/go/1.17.6 md/GOOS/linux md/GOARCH/amd64 api/sts/1.16.4 Content-Length: 43 Amz-Sdk-Invocation-Id: f73059c1-fac1-402a-a3a0-08341b988e58 Amz-Sdk-Request: attempt=1; max=25 Authorization: AWS4-HMAC-SHA256 Credential=AKIA5DPC6D5ACM33HY6I/20230228/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=d32d06b9777d6f32432b2bcfb1b0b1535b2ee689f8a978774ccd41beb4eb7521 Content-Type: application/x-www-form-urlencoded X-Amz-Date: 20230228T171228Z Accept-Encoding: gzip

Action=GetCallerIdentity&Version=2011-06-15: timestamp=2023-02-28T13:12:28.234-0400
2023-02-28T13:12:28.296-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go-v2] Response
HTTP/1.1 200 OK
Content-Length: 407
Content-Type: text/xml
Date: Tue, 28 Feb 2023 17:12:19 GMT
X-Amzn-Requestid: 79c951f5-5df8-4b26-86a7-9782cd90bf93

arn:aws:iam::900808449856:user/cloud_user AIDA5DPC6D5AKTLVJNI3K 900808449856 79c951f5-5df8-4b26-86a7-9782cd90bf93 : timestamp=2023-02-28T13:12:28.295-0400 2023-02-28T13:12:28.298-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go] DEBUG: Request ec2/DescribeAccountAttributes Details: ---[ REQUEST POST-SIGN ]----------------------------- POST / HTTP/1.1 Host: ec2.us-east-1.amazonaws.com User-Agent: APN/1.0 HashiCorp/1.0 Terraform/1.3.6 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.29 (go1.17.6; linux; amd64) Content-Length: 87 Authorization: AWS4-HMAC-SHA256 Credential=AKIA5DPC6D5ACM33HY6I/20230228/us-east-1/ec2/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=7225f823a399c96a2fb975844c9317ca318bbfe1594c19d34c40678af56f46f1 Content-Type: application/x-www-form-urlencoded; charset=utf-8 X-Amz-Date: 20230228T171228Z Accept-Encoding: gzip

Action=DescribeAccountAttributes&AttributeName.1=supported-platforms&Version=2016-11-15
-----------------------------------------------------: timestamp=2023-02-28T13:12:28.298-0400
2023-02-28T13:12:28.716-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go] DEBUG: Response ec2/DescribeAccountAttributes Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Content-Length: 540
Cache-Control: no-cache, no-store
Content-Type: text/xml;charset=UTF-8
Date: Tue, 28 Feb 2023 17:12:19 GMT
Server: AmazonEC2
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Amzn-Requestid: e2487f03-fd62-45d6-a286-218df1dc6d21

-----------------------------------------------------: timestamp=2023-02-28T13:12:28.716-0400
2023-02-28T13:12:28.716-0400 [DEBUG] provider.terraform-provider-aws_v4.18.0_x5: [aws-sdk-go]

e2487f03-fd62-45d6-a286-218df1dc6d21


supported-platforms


VPC




: timestamp=2023-02-28T13:12:28.716-0400
2023-02-28T13:12:28.717-0400 [DEBUG] created provider logger: level=debug
2023-02-28T13:12:28.717-0400 [INFO] provider: configuring client automatic mTLS
2023-02-28T13:12:28.724-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/rancher/rancher2/1.24.0/linux_amd64/terraform-provider-rancher2_v1.24.0 args=[.terraform/providers/registry.terraform.io/rancher/rancher2/1.24.0/linux_amd64/terraform-provider-rancher2_v1.24.0]
2023-02-28T13:12:28.724-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/rancher/rancher2/1.24.0/linux_amd64/terraform-provider-rancher2_v1.24.0 pid=11371
2023-02-28T13:12:28.724-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/rancher/rancher2/1.24.0/linux_amd64/terraform-provider-rancher2_v1.24.0
2023-02-28T13:12:28.750-0400 [INFO] provider.terraform-provider-rancher2_v1.24.0: configuring server automatic mTLS: timestamp=2023-02-28T13:12:28.750-0400
2023-02-28T13:12:28.773-0400 [DEBUG] provider: using plugin: version=5
2023-02-28T13:12:28.773-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: plugin address: address=/tmp/plugin765003440 network=unix timestamp=2023-02-28T13:12:28.772-0400
2023-02-28T13:12:28.809-0400 [DEBUG] No provider meta schema returned
2023-02-28T13:12:28.831-0400 [WARN] ValidateProviderConfig from "module.rancher_common.provider["registry.terraform.io/rancher/rancher2"].bootstrap" changed the config value, but that value is unused
2023-02-28T13:12:28.833-0400 [WARN] Provider "registry.terraform.io/rancher/rancher2" produced an invalid plan for module.rancher_common.rancher2_bootstrap.admin, 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:
- .initial_password: sensitive planned value for a non-computed attribute
- .token_ttl: planned value cty.NumberIntVal(0) for a non-computed attribute
- .token_update: planned value cty.False for a non-computed attribute
- .ui_default_landing: planned value cty.StringVal("ember") for a non-computed attribute
module.rancher_common.rancher2_bootstrap.admin: Creating...
2023-02-28T13:12:28.833-0400 [INFO] Starting apply for module.rancher_common.rancher2_bootstrap.admin
2023-02-28T13:12:28.833-0400 [DEBUG] module.rancher_common.rancher2_bootstrap.admin: applying the planned Create change
2023-02-28T13:12:28.834-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:28 [INFO] Doing login
2023-02-28T13:12:28.834-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:28 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:29.228-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:29 Time to get req: 393 ms
2023-02-28T13:12:34.228-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:34 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:34.588-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:34 Time to get req: 360 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [10s elapsed]
2023-02-28T13:12:39.589-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:39 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:39.787-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:39 Time to get req: 198 ms
2023-02-28T13:12:44.788-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:44 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:44.981-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:44 Time to get req: 193 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [20s elapsed]
2023-02-28T13:12:49.982-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:49 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:50.173-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:50 Time to get req: 190 ms
2023-02-28T13:12:55.174-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:55 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:12:55.364-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:12:55 Time to get req: 189 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [30s elapsed]
2023-02-28T13:13:00.364-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:00 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:00.561-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:00 Time to get req: 197 ms
2023-02-28T13:13:05.563-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:05 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:05.764-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:05 Time to get req: 201 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [40s elapsed]
2023-02-28T13:13:10.765-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:10 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:10.979-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:10 Time to get req: 214 ms
2023-02-28T13:13:15.982-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:15 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:16.170-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:16 Time to get req: 188 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [50s elapsed]
2023-02-28T13:13:21.172-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:21 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:21.363-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:21 Time to get req: 190 ms
2023-02-28T13:13:26.365-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:26 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:26.589-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:26 Time to get req: 224 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m0s elapsed]
2023-02-28T13:13:31.591-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:31 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:31.791-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:31 Time to get req: 199 ms
2023-02-28T13:13:36.794-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:36 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:37.004-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:37 Time to get req: 209 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m10s elapsed]
2023-02-28T13:13:42.007-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:42 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:13:42.343-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:42 Time to get req: 335 ms
2023-02-28T13:13:47.344-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:47 Getting from https://rancher.35.153.178.99.sslip.io/ping
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m20s elapsed]
2023-02-28T13:13:52.204-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:52 Time to get req: 4859 ms
2023-02-28T13:13:57.207-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:13:57 Getting from https://rancher.35.153.178.99.sslip.io/ping
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m30s elapsed]
2023-02-28T13:14:00.482-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:14:00 Time to get req: 3275 ms
2023-02-28T13:14:05.483-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:14:05 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:14:06.589-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:14:06 Time to get req: 1105 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m40s elapsed]
2023-02-28T13:14:11.591-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:14:11 Getting from https://rancher.35.153.178.99.sslip.io/ping
2023-02-28T13:14:13.920-0400 [DEBUG] provider.terraform-provider-rancher2_v1.24.0: 2023/02/28 13:14:13 Time to get req: 2328 ms
module.rancher_common.rancher2_bootstrap.admin: Still creating... [1m50s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m0s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m10s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m20s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m30s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m40s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [2m50s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m0s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m10s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m20s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m30s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m40s elapsed]
module.rancher_common.rancher2_bootstrap.admin: Still creating... [3m50s elapsed]
2023-02-28T13:16:28.087-0400 [ERROR] vertex "module.rancher_common.rancher2_bootstrap.admin" error: [ERROR] Timeout trying to login with admin user: Post "https://rancher.35.153.178.99.sslip.io/v3-public/localProviders/local?action=login": dial tcp 35.153.178.99:443: connect: connection timed out

│ Error: [ERROR] Timeout trying to login with admin user: Post "https://rancher.35.153.178.99.sslip.io/v3-public/localProviders/local?action=login": dial tcp 35.153.178.99:443: connect: connection timed out

│ with module.rancher_common.rancher2_bootstrap.admin,
│ on ../rancher-common/rancher.tf line 4, in resource "rancher2_bootstrap" "admin":
│ 4: resource "rancher2_bootstrap" "admin" {


2023-02-28T13:16:28.092-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-28T13:16:28.092-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-28T13:16:28.093-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-28T13:16:28.094-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/rancher/rancher2/1.24.0/linux_amd64/terraform-provider-rancher2_v1.24.0 pid=11371
2023-02-28T13:16:28.094-0400 [DEBUG] provider: plugin exited
2023-02-28T13:16:28.094-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.2.3/linux_amd64/terraform-provider-local_v2.2.3_x5 pid=11296
2023-02-28T13:16:28.094-0400 [DEBUG] provider: plugin exited
2023-02-28T13:16:28.095-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/4.18.0/linux_amd64/terraform-provider-aws_v4.18.0_x5 pid=11338
2023-02-28T13:16:28.095-0400 [DEBUG] provider: plugin exited`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants