When Gen 3 left beta I tried to set up a local rack and ran into some issues. Today, I wiped my entire docker disk image and reset Kubernetes, and I’m still having problems.
Terraform starts chugging away but then times out waiting for an IP for some load balancer.
$ convox3 --version
3.0.1
$ terraform --version
Terraform v0.12.20
Logs:
$ convox3 rack install local convox
Initializing modules...
Downloading github.com/convox/convox?ref=3.0.8 for system...
- system in .terraform/modules/system/terraform/system/local
- system.platform in .terraform/modules/system/terraform/platform
- system.rack in .terraform/modules/system/terraform/rack/local
- system.rack.api in .terraform/modules/system/terraform/api/local
- system.rack.api.k8s in .terraform/modules/system/terraform/api/k8s
- system.rack.k8s in .terraform/modules/system/terraform/rack/k8s
- system.rack.resolver in .terraform/modules/system/terraform/resolver/local
- system.rack.resolver.k8s in .terraform/modules/system/terraform/resolver/k8s
- system.rack.router in .terraform/modules/system/terraform/router/local
- system.rack.router.k8s in .terraform/modules/system/terraform/router/k8s
Initializing the backend...
Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "local" (hashicorp/local) 1.4.0...
- Downloading plugin for provider "null" (hashicorp/null) 2.1.2...
- Downloading plugin for provider "random" (hashicorp/random) 2.2.1...
- Downloading plugin for provider "tls" (hashicorp/tls) 2.1.1...
- Downloading plugin for provider "http" (hashicorp/http) 1.1.1...
- Downloading plugin for provider "kubernetes" (hashicorp/kubernetes) 1.10.0...
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.
module.system.data.http.releases: Refreshing state...
module.system.module.rack.random_string.secret: Creating...
module.system.module.platform.null_resource.platform: Creating...
module.system.module.rack.module.router.tls_private_key.ca-private: Creating...
module.system.module.platform.null_resource.platform: Provisioning with 'local-exec'...
module.system.module.rack.random_string.secret: Creation complete after 0s [id=NmMrl2Aub1225fvxWdWwAxZ5IwAs3X]
module.system.module.platform.null_resource.platform (local-exec): Executing: ["/bin/sh" "-c" "mkdir -p .terraform/modules/system/terraform/platform && uname -s > .terraform/modules/system/terraform/platform/convox.platform"]
module.system.module.platform.null_resource.platform: Creation complete after 0s [id=2362315601528036223]
module.system.module.platform.data.local_file.platform: Refreshing state...
module.system.module.rack.module.k8s.kubernetes_namespace.system: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_cluster_role.resolver: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role.atom: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role.api: Creating...
module.system.module.rack.module.router.module.k8s.kubernetes_cluster_role.router: Creating...
module.system.module.rack.module.api.module.k8s.random_string.password: Creating...
module.system.module.rack.module.api.module.k8s.random_string.password: Creation complete after 0s [id=GeL5DZ0qXrFnLL5qoRX2oAwpvknnDyT8nXba9P3pFy8xbIZwY6BbY5GYgg2bUas6]
module.system.module.rack.module.router.module.k8s.kubernetes_cluster_role.router: Creation complete after 0s [id=router]
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role.atom: Creation complete after 0s [id=atom]
module.system.module.rack.module.k8s.kubernetes_namespace.system: Creation complete after 0s [id=convox-system]
module.system.module.rack.module.resolver.module.k8s.kubernetes_cluster_role.resolver: Creation complete after 0s [id=resolver]
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role.api: Creation complete after 0s [id=convox-api]
module.system.module.rack.module.k8s.kubernetes_config_map.rack: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role_binding.atom: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_service_account.atom: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_service_account.api: Creating...
module.system.module.rack.module.router.kubernetes_service.router: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_service.resolver: Creating...
module.system.module.rack.module.resolver.kubernetes_service.resolver-external: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_service_account.resolver: Creating...
module.system.module.rack.module.router.tls_private_key.ca-private: Creation complete after 0s [id=da307c69cc6f9da9418f3edd3f18932fad1428ea]
module.system.module.rack.module.api.module.k8s.kubernetes_service.api: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role_binding.atom: Creation complete after 0s [id=atom]
module.system.module.rack.module.api.module.k8s.kubernetes_persistent_volume_claim.api_volume[0]: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_deployment.atom: Creating...
module.system.module.rack.module.k8s.kubernetes_config_map.rack: Creation complete after 1s [id=convox-system/rack]
module.system.module.rack.kubernetes_service.registry: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_service.resolver: Creation complete after 2s [id=convox-system/resolver]
module.system.module.rack.kubernetes_persistent_volume_claim.registry: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_service.api: Creation complete after 3s [id=convox-system/api]
module.system.module.rack.module.router.tls_self_signed_cert.ca: Creating...
module.system.module.rack.module.router.tls_self_signed_cert.ca: Creation complete after 0s [id=1355263026195828405863486357396425702]
module.system.module.rack.module.router.module.k8s.kubernetes_horizontal_pod_autoscaler.router: Creating...
module.system.module.rack.module.router.module.k8s.kubernetes_horizontal_pod_autoscaler.router: Creation complete after 0s [id=convox-system/router]
module.system.module.rack.module.router.module.k8s.kubernetes_service_account.router: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_service_account.atom: Creation complete after 3s [id=convox-system/atom]
module.system.module.rack.module.api.module.k8s.kubernetes_ingress.api: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_ingress.api: Creation complete after 0s [id=convox-system/api]
module.system.module.rack.module.router.kubernetes_secret.ca: Creating...
module.system.module.rack.module.resolver.kubernetes_service.resolver-external: Creation complete after 4s [id=convox-system/resolver-external]
module.system.module.rack.module.api.module.k8s.kubernetes_service_account.api: Creation complete after 4s [id=convox-system/api]
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role_binding.api: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_cluster_role_binding.api: Creation complete after 0s [id=convox-api]
module.system.module.rack.kubernetes_service.registry: Creation complete after 3s [id=convox-system/registry]
module.system.module.rack.kubernetes_ingress.registry: Creating...
module.system.module.rack.kubernetes_ingress.registry: Creation complete after 0s [id=convox-system/registry]
module.system.module.rack.module.api.module.k8s.kubernetes_deployment.api: Creating...
module.system.module.rack.module.api.module.k8s.kubernetes_deployment.atom: Creation complete after 4s [id=convox-system/atom]
module.system.module.rack.module.api.module.k8s.kubernetes_persistent_volume_claim.api_volume[0]: Creation complete after 5s [id=convox-system/api-storage]
module.system.module.rack.module.resolver.module.k8s.kubernetes_service_account.resolver: Creation complete after 5s [id=convox-system/resolver]
module.system.module.rack.module.resolver.module.k8s.kubernetes_cluster_role_binding.resolver: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_cluster_role_binding.resolver: Creation complete after 0s [id=resolver]
module.system.module.rack.module.resolver.module.k8s.kubernetes_deployment.resolver: Creating...
module.system.module.rack.kubernetes_persistent_volume_claim.registry: Creation complete after 4s [id=convox-system/registry]
module.system.module.rack.module.router.kubernetes_secret.ca: Creation complete after 3s [id=convox-system/ca]
module.system.module.rack.kubernetes_deployment.registry: Creating...
module.system.module.rack.module.router.module.k8s.kubernetes_service_account.router: Creation complete after 4s [id=convox-system/router]
module.system.module.rack.module.router.module.k8s.kubernetes_cluster_role_binding.router: Creating...
module.system.module.rack.module.router.module.k8s.kubernetes_cluster_role_binding.router: Creation complete after 0s [id=router]
module.system.module.rack.module.router.module.k8s.kubernetes_deployment.router: Creating...
module.system.module.rack.module.resolver.module.k8s.kubernetes_deployment.resolver: Creation complete after 4s [id=convox-system/resolver]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [10s elapsed]
module.system.module.rack.module.router.module.k8s.kubernetes_deployment.router: Creation complete after 4s [id=convox-system/router]
module.system.module.rack.module.api.module.k8s.kubernetes_deployment.api: Creation complete after 8s [id=convox-system/api]
module.system.module.rack.kubernetes_deployment.registry: Creation complete after 8s [id=convox-system/registry]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [1m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [2m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [3m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [4m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [5m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [6m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [7m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [8m50s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m0s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m10s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m20s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m30s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m40s elapsed]
module.system.module.rack.module.router.kubernetes_service.router: Still creating... [9m50s elapsed]
Error: Waiting for service "convox-system/router" to assign IP/hostname for a load balancer
on .terraform/modules/system/terraform/router/local/main.tf line 40, in resource "kubernetes_service" "router":
40: resource "kubernetes_service" "router" {
ERROR: exit status 1