-
Notifications
You must be signed in to change notification settings - Fork 134
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
AWS Quickstart Failed initializing the control plane #223
Comments
Did some further testing. When copying and pasting the same yaml into the same file the kubeadm init works without issue. When called from the script it fails with that error. Tested on three attempts all same result. |
I just tried to launch a cluster in us-east-1 and the bootstrap was successful, not sure how to reproduce this :/, do you have a way to paste the output of |
kubeadm.yml
The yaml is valid but when called from the bash script gives that error. If you initialize with kubeadm it works without issue. |
Tried to launch in US-EAST-1 as well and received the same failure. |
We really should be quoting any strings that may include |
Found the issue I was hitting:
which is called from https://github.com/heptio/aws-quickstart/blob/master/scripts/setup-k8s-master.sh.in#L49 and then placed into the apiServerCertSANs field has two ip addresses without the second one getting the
|
Been able to reproduce this issue by entering your Admin ingress location not as 0.0.0.0/0 |
@rbankston I think part of this should be fixed in #224 Regarding the |
I think the ELB IP was chosen because this https://github.com/heptio/aws-quickstart/blob/master/scripts/setup-k8s-master.sh.in#L129 was erroring in case we'd specify a dnsname, @chuckha @detiber any suggestions on that? |
this is still an issue, and has to do with what was talked about earlier. A correction could be turning this variable into a array and printing elements accordingly. An example is below (without proper validation/sanitation)
|
What steps did you take and what happened:
Used
Launch Latest Quickstart Now
in two different regions. Both US-East-2 and US-West-2 failed with the error message in the cloud init output log of:When running
/tmp/setup-k8s-master.sh
on a node that failed it errors with the command:What did you expect to happen:
The master to be initialized.
Environment:
kubectl version
): Current Latest within Quickstart/etc/os-release
): UbuntuThe text was updated successfully, but these errors were encountered: