Skip to content
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

Whether kubeadm(v1.15.3) init supports ipv6 #2003

Closed
Forest-L opened this issue Jan 14, 2020 · 7 comments
Closed

Whether kubeadm(v1.15.3) init supports ipv6 #2003

Forest-L opened this issue Jan 14, 2020 · 7 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone

Comments

@Forest-L
Copy link

Versions:
kubeadm verison: v1.15.3
kubectl version: v1.15.3
OS: Centos 7.7
Kernel: 3.10.0-1062.el7.x86_64

what happened?

kubeadm init --config=kubeadm.yaml
[init] Using Kubernetes version: v1.15.3
[preflight] Running pre-flight checks
        [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
        [WARNING SystemVerification]: this Docker version is not on the list of validated versions: 19.03.3. Latest validated version: 18.09
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR HTTPProxy]: parse https://2402:e7c0:0:a00:ffff:****:****:fffb: invalid port ":fffb" after host
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`

K8sv1.17.0 is ok, However K8sv1.15.3 is failed .

@rosti
Copy link

rosti commented Jan 14, 2020

Yep, it's a problem with the HTTPProxy check itself. You can skip this check in particular to be able to continue forward.

The problem itself was fixed in kubernetes/kubernetes#82267 but that one was never cherry-picked into 1.15.

xref #1769
/priority important-longterm
/kind bug
/assign

@k8s-ci-robot k8s-ci-robot added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. kind/bug Categorizes issue or PR as related to a bug. labels Jan 14, 2020
@neolit123
Copy link
Member

neolit123 commented Jan 14, 2020

K8sv1.17.0 is ok, However K8sv1.15.3 is failed .

if you write https://[2402:e7c0:0:a00:ffff:****:****:fffb] (surrounded by [ ]) does it work?
square brackets are standard practice for IPv6.

@Forest-L
Copy link
Author

add --ignore-preflight-errors=HTTPProxy is ok, Thanks!

@neolit123 neolit123 added this to the v1.15 milestone Jan 16, 2020
@rosti
Copy link

rosti commented Jan 20, 2020

K8sv1.17.0 is ok, However K8sv1.15.3 is failed .

if you write https://[2402:e7c0:0:a00:ffff:****:****:fffb] (surrounded by [ ]) does it work?
square brackets are standard practice for IPv6.

The field in the config requires an address, not an URL.

@Forest-L
Copy link
Author

OK,kubeadm.yaml include an address.

@neolit123
Copy link
Member

we decided to not apply the fix for 1.15 because it does not fit our backport criteria:
kubernetes/kubernetes#82267

1.15 will be out of support in a couple of months when 1.18 is released.

@Forest-L

--ignore-preflight-errors=HTTPProxy

yes, this is a valid workaround.

/close

@k8s-ci-robot
Copy link
Contributor

@neolit123: Closing this issue.

In response to this:

we decided to not apply the fix for 1.15 because it does not fit our backport criteria:
kubernetes/kubernetes#82267

1.15 will be out of support in a couple of months when 1.18 is released.

@Forest-L

--ignore-preflight-errors=HTTPProxy

yes, this is a valid workaround.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

4 participants