-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IPv6 addresses are broken due to buggy HTTP proxy check #1769
Comments
hi, as you pointed out this is something in golang and not kubeadm. example: /triage support |
Hi, that's not possible. Setting the node IP addresses in kubeadm.conf with brackets does not work, kubeadm complaints that it expects an IPv4 or IPv6 address. |
Workaround: add |
I'll have a look at this. I think it is trivial to fix. |
Everywhere else we seem to be using |
Thanks a lot!! |
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
):kubeadm version: &version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-20T11:44:48Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Environment:
kubectl version
):Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-20T11:45:27Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-20T11:40:58Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
OpenStack
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP1"
uname -a
):Linux master-0-n25-eccd-ci-02-jenkins 4.12.14-197.15-default kubeadm join on slave node fails preflight checks #1 SMP Thu Aug 1 12:18:13 UTC 2019 (8a1385f) x86_64 x86_64 x86_64 GNU/Linux
What happened?
kubeadm init fails on IPv6 clusters when the machine IPv6 address ends on an address that contains letters.
2001:db8::1 --> OK
2001:db8::f --> FAIL
The error message is:
[ERROR HTTPProxy]: parse https://2001:db8::f: invalid port ":f"
What you expected to happen?
kubeadm to come up and configure the control plane.
How to reproduce it (as minimally and precisely as possible)?
kubeadm init on a machine with an IPv6 address that ends in letters
Anything else we need to know?
This seems to be a parse error in Golang, reproducible here:
https://play.golang.org/p/T9lvfcRBW1c
The text was updated successfully, but these errors were encountered: