istioworkshop / istio-workshop

Sources for the Istio workshop website
https://istioworkshop.github.io
8 stars 0 forks source link

Error running task LoadBalancerAttachment #2

Closed bzurkowski closed 3 years ago

bzurkowski commented 3 years ago

The following error is present in the kops output when creating a Kubernetes cluster:

I0424 20:28:57.571994   76429 apply_cluster.go:556] Gossip DNS: skipping DNS validation
W0424 20:28:57.842722   76429 firewall.go:250] Opening etcd port on masters for access from the nodes, for calico.  This is unsafe in untrusted environments.
I0424 20:29:01.054725   76429 executor.go:103] Tasks: 0 done / 95 total; 46 can run
I0424 20:29:04.650193   76429 vfs_castore.go:729] Issuing new certificate: "etcd-peers-ca-main"
I0424 20:29:04.968997   76429 vfs_castore.go:729] Issuing new certificate: "etcd-peers-ca-events"
I0424 20:29:05.028983   76429 vfs_castore.go:729] Issuing new certificate: "etcd-manager-ca-main"
I0424 20:29:05.179027   76429 vfs_castore.go:729] Issuing new certificate: "etcd-clients-ca"
I0424 20:29:05.235045   76429 vfs_castore.go:729] Issuing new certificate: "etcd-manager-ca-events"
I0424 20:29:05.391190   76429 vfs_castore.go:729] Issuing new certificate: "ca"
I0424 20:29:05.467411   76429 vfs_castore.go:729] Issuing new certificate: "apiserver-aggregator-ca"
I0424 20:29:09.033683   76429 executor.go:103] Tasks: 46 done / 95 total; 24 can run
I0424 20:29:10.610851   76429 vfs_castore.go:729] Issuing new certificate: "kubelet-api"
I0424 20:29:10.907683   76429 vfs_castore.go:729] Issuing new certificate: "kubelet"
I0424 20:29:11.010493   76429 vfs_castore.go:729] Issuing new certificate: "kube-scheduler"
I0424 20:29:11.046486   76429 vfs_castore.go:729] Issuing new certificate: "kops"
I0424 20:29:11.112333   76429 vfs_castore.go:729] Issuing new certificate: "apiserver-aggregator"
I0424 20:29:11.240246   76429 vfs_castore.go:729] Issuing new certificate: "kube-proxy"
I0424 20:29:11.278061   76429 vfs_castore.go:729] Issuing new certificate: "kube-controller-manager"
I0424 20:29:11.445257   76429 vfs_castore.go:729] Issuing new certificate: "kubecfg"
I0424 20:29:11.485688   76429 vfs_castore.go:729] Issuing new certificate: "apiserver-proxy-client"
I0424 20:29:15.176624   76429 executor.go:103] Tasks: 70 done / 95 total; 21 can run
I0424 20:29:23.451464   76429 executor.go:103] Tasks: 91 done / 95 total; 3 can run
I0424 20:29:25.918135   76429 vfs_castore.go:729] Issuing new certificate: "master"
I0424 20:29:27.978359   76429 executor.go:103] Tasks: 94 done / 95 total; 1 can run
W0424 20:29:28.566307   76429 executor.go:128] error running task "LoadBalancerAttachment/api-master-us-east-1a" (9m59s remaining to succeed): error attaching autoscaling group to ELB: ValidationError: Provided Load Balancers may not be valid. Please ensure they exist and try again.
    status code: 400, request id: f3e53ea0-3ca8-4977-a3a2-1d7fa0bef116
I0424 20:29:28.566365   76429 executor.go:143] No progress made, sleeping before retrying 1 failed task(s)
I0424 20:29:38.567368   76429 executor.go:103] Tasks: 94 done / 95 total; 1 can run
I0424 20:29:40.165386   76429 executor.go:103] Tasks: 95 done / 95 total; 0 can run
I0424 20:29:41.810272   76429 update_cluster.go:305] Exporting kubecfg for cluster
kops has set your kubectl context to istio-workshop.k8s.local

Cluster is starting.  It should be ready in a few minutes.
bzurkowski commented 3 years ago

Fixed by bumping kops to 1.18.3.