rancher/tf-rancher-up

IPv6 addresses are causing issues

leodotcloud opened this issue · 0 comments

        ] -> (known after apply)
        id                        = "402887bf-772c-4034-b048-89840e3e0e14"
      ~ inactive_hosts            = [] -> (known after apply)
      ~ kube_config_yaml          = (sensitive value)
      ~ rke_cluster_yaml          = (sensitive value)
      ~ rke_state                 = (sensitive value)
      ~ worker_hosts              = [
          - {
              - address   = "10.156.233.204"
              - node_name = ""
            },
          - {
              - address   = "10.156.233.188"
              - node_name = ""
            },
          - {
              - address   = "10.156.233.147"
              - node_name = ""
            },
        ] -> (known after apply)
        # (20 unchanged attributes hidden)

      ~ nodes {
          ~ address        = "10.156.233.204" -> "fe80::ecee:eeff:feee:eeee"
            # (5 unchanged attributes hidden)
        }
      ~ nodes {
          ~ address        = "10.156.233.188" -> "fe80::ecee:eeff:feee:eeee"
            # (5 unchanged attributes hidden)
        }
      ~ nodes {
          ~ address        = "10.156.233.147" -> "fe80::ecee:eeff:feee:eeee"
            # (5 unchanged attributes hidden)
        }
    }

Plan: 4 to add, 1 to change, 1 to destroy.
╷
│ Error: [ERROR] Normalizing url https://rancher.fe80::ecee:eeff:feee:eeee.sslip.io: parse "https://rancher.fe80::ecee:eeff:feee:eeee.sslip.io": invalid port ":eeee.sslip.io" after host
│
│   with module.leo-rancher.module.rancher_install.provider["registry.terraform.io/rancher/rancher2"],
│   on /Users/leodotcloud/code/github.com/rancherlabs/tf-rancher-up/modules/rancher/provider.tf line 11, in provider "rancher2":
│   11: provider "rancher2" {
│

Option 1: Disable IPv6
Option 2: Handle both addresses but only use IPv4 addresses in our terraform code.