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

Manjaro Linux: failed to create cluster: failed to init node with kubeadm #1999

Closed
adds68 opened this issue Jan 9, 2021 · 29 comments
Closed
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@adds68
Copy link

adds68 commented Jan 9, 2021

What happened:
I tried 'kind create cluster' on Manjaro linux, but the control plane failed to start.

What you expected to happen:
A kind k8s cluster to be created successfully

How to reproduce it (as minimally and precisely as possible):
Run 'kind create cluster' on Majaro 20.2

Anything else we need to know?:

 ✗ Starting control-plane 🕹️ ^[	
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged kind-control-plane kubeadm init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1
Command Output: I0109 23:11:50.273648     179 initconfiguration.go:200] loading configuration from "/kind/kubeadm.conf"
[config] WARNING: Ignored YAML document with GroupVersionKind kubeadm.k8s.io/v1beta2, Kind=JoinConfiguration
[init] Using Kubernetes version: v1.19.1
W0109 23:11:50.295094     179 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[certs] Using certificateDir folder "/etc/kubernetes/pki"
I0109 23:11:50.295381     179 certs.go:103] creating a new certificate authority for ca
[certs] Generating "ca" certificate and key
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [kind-control-plane kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local localhost] and IPs [10.96.0.1 172.18.0.2 127.0.0.1]
[certs] Generating "apiserver-kubelet-client" certificate and key
I0109 23:11:50.676748     179 certs.go:103] creating a new certificate authority for front-proxy-ca
[certs] Generating "front-proxy-ca" certificate and key
[certs] Generating "front-proxy-client" certificate and key
I0109 23:11:51.239954     179 certs.go:103] creating a new certificate authority for etcd-ca
[certs] Generating "etcd/ca" certificate and key
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [kind-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]
[certs] Generating "etcd/peer" certificate and key
[certs] etcd/peer serving cert is signed for DNS names [kind-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]
[certs] Generating "etcd/healthcheck-client" certificate and key
[certs] Generating "apiserver-etcd-client" certificate and key
I0109 23:11:51.843927     179 certs.go:69] creating new public/private key files for signing service account users
[certs] Generating "sa" key and public key
I0109 23:11:51.936947     179 kubeconfig.go:84] creating kubeconfig file for admin.conf
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
[kubeconfig] Writing "admin.conf" kubeconfig file
I0109 23:11:51.973307     179 kubeconfig.go:84] creating kubeconfig file for kubelet.conf
[kubeconfig] Writing "kubelet.conf" kubeconfig file
I0109 23:11:52.095821     179 kubeconfig.go:84] creating kubeconfig file for controller-manager.conf
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
I0109 23:11:52.303700     179 kubeconfig.go:84] creating kubeconfig file for scheduler.conf
[kubeconfig] Writing "scheduler.conf" kubeconfig file
I0109 23:11:52.486835     179 kubelet.go:63] Stopping the kubelet
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Starting the kubelet
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
I0109 23:11:52.573186     179 manifests.go:96] [control-plane] getting StaticPodSpecs
I0109 23:11:52.573440     179 manifests.go:109] [control-plane] adding volume "ca-certs" for component "kube-apiserver"
I0109 23:11:52.573446     179 manifests.go:109] [control-plane] adding volume "etc-ca-certificates" for component "kube-apiserver"
I0109 23:11:52.573449     179 manifests.go:109] [control-plane] adding volume "k8s-certs" for component "kube-apiserver"
I0109 23:11:52.573452     179 manifests.go:109] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-apiserver"
I0109 23:11:52.573454     179 manifests.go:109] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
I0109 23:11:52.579743     179 manifests.go:135] [control-plane] wrote static Pod manifest for component "kube-apiserver" to "/etc/kubernetes/manifests/kube-apiserver.yaml"
I0109 23:11:52.579759     179 manifests.go:96] [control-plane] getting StaticPodSpecs
I0109 23:11:52.580127     179 manifests.go:109] [control-plane] adding volume "ca-certs" for component "kube-controller-manager"
I0109 23:11:52.580134     179 manifests.go:109] [control-plane] adding volume "etc-ca-certificates" for component "kube-controller-manager"
I0109 23:11:52.580137     179 manifests.go:109] [control-plane] adding volume "flexvolume-dir" for component "kube-controller-manager"
I0109 23:11:52.580140     179 manifests.go:109] [control-plane] adding volume "k8s-certs" for component "kube-controller-manager"
I0109 23:11:52.580142     179 manifests.go:109] [control-plane] adding volume "kubeconfig" for component "kube-controller-manager"
I0109 23:11:52.580145     179 manifests.go:109] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-controller-manager"
I0109 23:11:52.580148     179 manifests.go:109] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
I0109 23:11:52.580681     179 manifests.go:135] [control-plane] wrote static Pod manifest for component "kube-controller-manager" to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
I0109 23:11:52.580692     179 manifests.go:96] [control-plane] getting StaticPodSpecs
I0109 23:11:52.580836     179 manifests.go:109] [control-plane] adding volume "kubeconfig" for component "kube-scheduler"
I0109 23:11:52.581139     179 manifests.go:135] [control-plane] wrote static Pod manifest for component "kube-scheduler" to "/etc/kubernetes/manifests/kube-scheduler.yaml"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
I0109 23:11:52.581544     179 local.go:82] [etcd] wrote Static Pod manifest for a local etcd member to "/etc/kubernetes/manifests/etcd.yaml"
I0109 23:11:52.581551     179 waitcontrolplane.go:87] [wait-control-plane] Waiting for the API server to be healthy
I0109 23:11:52.582063     179 loader.go:375] Config loaded from file:  /etc/kubernetes/admin.conf
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
I0109 23:11:52.582908     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:53.084344     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:53.584194     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:54.084166     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:54.584187     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:55.084129     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:55.584105     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:56.084226     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:56.584171     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:57.084182     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:57.583680     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:58.084186     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:58.584181     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:59.084045     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:11:59.584103     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:00.084181     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:00.584188     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:01.084073     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:01.584214     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:02.084059     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:02.584212     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:03.084071     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:03.584140     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:04.083257     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:04.583996     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:05.084255     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:05.583978     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:06.084184     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:06.584146     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:07.084181     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:07.584238     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:08.084173     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:08.584206     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:09.084163     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:09.584193     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:10.084045     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:10.584171     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:11.084178     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:11.584035     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:12.084173     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:12.583546     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:13.084265     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:13.584121     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:14.083348     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:14.584121     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:15.084144     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:15.584122     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:16.084257     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:16.584232     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:17.084240     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:17.583965     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:18.083348     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:18.584382     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:12:19.084112     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:19.584290     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:20.084021     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:20.584556     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:12:21.083468     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:21.584091     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:22.084175     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:22.584217     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:23.084065     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:23.583958     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:24.084459     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:12:24.584019     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:25.084496     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:12:25.584125     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:26.084076     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:26.584115     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:27.084155     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:27.584128     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:28.084116     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:28.584126     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:29.084159     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:29.584212     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:30.084284     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:30.584156     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:31.084217     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:31.584176     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:32.084127     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
[kubelet-check] Initial timeout of 40s passed.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0109 23:12:32.583987     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:33.083310     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:33.584154     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:34.084203     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:34.584165     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:35.084183     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:35.584227     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:36.084175     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:36.584111     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:37.084194     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:37.584157     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0109 23:12:38.084139     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:38.584204     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:39.084159     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:39.583261     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:40.084081     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:40.584183     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:41.084183     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:41.583984     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:42.084127     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:42.584169     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:43.084133     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:43.584243     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:44.084169     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:44.584114     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:45.084228     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:45.584111     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:46.084183     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:46.584148     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:47.084163     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:47.584090     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0109 23:12:48.083885     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:48.584148     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:49.084167     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:49.584017     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:50.084238     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:50.583730     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:51.084194     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:51.584292     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:52.084213     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:52.584163     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:53.084127     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:53.584025     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:54.084179     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:54.584154     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:55.084048     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:55.584138     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:56.083994     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:56.584217     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:57.083519     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:57.584047     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:58.084101     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:58.584025     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:59.084034     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:12:59.583391     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:00.083298     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:00.584114     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:01.084205     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:01.584272     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:02.084413     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:02.583332     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:03.084383     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:03.584205     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:04.084404     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:04.584008     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:05.083329     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:05.584174     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:06.084186     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:06.583345     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:07.084234     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:07.584149     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0109 23:13:08.083993     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:08.583359     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:09.083466     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:09.584171     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:10.084212     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:10.584001     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:11.084130     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:11.583358     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:12.083285     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:12.583706     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:13.086156     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0109 23:13:13.583271     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:14.083276     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:14.583509     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:15.084179     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:15.584089     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:16.083364     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:16.584150     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:17.084084     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:17.584230     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:18.084141     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:18.583340     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:19.084150     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:19.584051     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:20.083855     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:20.583807     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:21.083354     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:21.584158     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:22.084142     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:22.584089     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:23.084135     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:23.584113     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:24.083284     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:24.583273     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:25.084117     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:25.583275     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:26.083328     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:26.584201     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:27.084259     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:27.584158     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:28.083271     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:28.584001     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:29.083410     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:29.583409     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:30.083287     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:30.584016     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:31.084204     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:31.584230     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:32.084158     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:32.584239     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:33.083336     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:33.584022     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:34.083617     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:34.583315     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:35.084085     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:35.584166     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:36.084200     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:36.584159     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:37.083435     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:37.583255     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:38.084160     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:38.584070     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:39.084153     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:39.584195     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:40.084065     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:40.584242     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:41.084566     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:41.584179     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:42.084173     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:42.584169     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:43.084318     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0109 23:13:43.584213     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:44.084144     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:44.584059     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:45.084200     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:45.584156     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:46.084159     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:46.584165     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:47.084160     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0109 23:13:47.584165     179 round_trippers.go:443] GET https://kind-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.

	Unfortunately, an error has occurred:
		timed out waiting for the condition

	This error is likely caused by:
		- The kubelet is not running
		- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

	If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
		- 'systemctl status kubelet'
		- 'journalctl -xeu kubelet'

	Additionally, a control plane component may have crashed or exited when started by the container runtime.
	To troubleshoot, list all containers using your preferred container runtimes CLI.

	Here is one example how you may list all Kubernetes containers running in cri-o/containerd using crictl:
		- 'crictl --runtime-endpoint unix:///run/containerd/containerd.sock ps -a | grep kube | grep -v pause'
		Once you have found the failing container, you can inspect its logs with:
		- 'crictl --runtime-endpoint unix:///run/containerd/containerd.sock logs CONTAINERID'

couldn't initialize a Kubernetes cluster
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/init.runWaitControlPlanePhase
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go:114
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:234
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:422
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.NewCmdInit.func1
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/init.go:149
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:842
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:950
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:887
k8s.io/kubernetes/cmd/kubeadm/app.Run
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50
main.main
	_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25
runtime.main
	/usr/local/go/src/runtime/proc.go:204
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1374
error execution phase wait-control-plane
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:235
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:422
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.NewCmdInit.func1
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/init.go:149
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:842
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:950
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:887
k8s.io/kubernetes/cmd/kubeadm/app.Run
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50
main.main
	_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25
runtime.main
	/usr/local/go/src/runtime/proc.go:204
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1374

Environment:

  • kind version: (use kind version):

    kind v0.9.0 go1.15.6 linux/amd64

  • Kubernetes version: (use kubectl version):

    Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-18T12:09:25Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

  • Docker version: (use docker info):

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-tp-docker)

Server:
 Containers: 5
  Running: 0
  Paused: 0
  Stopped: 5
 Images: 14
 Server Version: 20.10.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 269548fa27e0089a8b8278fc4fc781d7f65a939b.m
 runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.163-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 6
 Total Memory: 15.6GiB
 Name: heather
 ID: AZDA:BF32:OQML:K3SZ:NEFH:BWX3:JN7S:KPW4:U6RI:BB7V:DJ6N:DJ5W
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

  • OS (e.g. from /etc/os-release):
    Manjaro 20.2
@adds68 adds68 added the kind/bug Categorizes issue or PR as related to a bug. label Jan 9, 2021
@BenTheElder
Copy link
Member

iptables-nft?
Are you running firewalld?
https://kind.sigs.k8s.io/docs/user/known-issues/

I don't have easy access to a manjaro environment, can you run kind create cluster --retain; kind export logs; kind delete cluster and upload the logs?

@adds68
Copy link
Author

adds68 commented Jan 10, 2021

Hi there, no there is no running firewall on Manjaro by default, i did look through those common issues as i do remember hitting weird docker issues on Fedora, but none of those seemed to be obvious to me.

Not a problem, i've zipped up the logs produced here:
kind-logs.zip

Thanks!

@adds68
Copy link
Author

adds68 commented Jan 11, 2021

I had a quick scan of the logs and found these from kubelet:

Jan 10 17:32:45 kind-control-plane kubelet[195]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jan 10 17:32:45 kind-control-plane kubelet[195]: F0110 17:32:45.622302     195 server.go:198] failed to load Kubelet config file /var/lib/kubelet/config.yaml, error failed to read kubelet config file "/var/lib/kubelet/config.yaml", error: open /var/lib/kubelet/config.yaml: no such file or directory

@BenTheElder
Copy link
Member

taking a look at these now, those logs are both normal:

  • we're still using the flag for now, it's deprecated but not removed yet, we've already started configuring it without the flag but the flag is still present in most images. not an issue
  • kubeadm's model is such that kubelet is ~crash looping under systemd with that error until kubeadm writes the config file, so you get a lot of noise like this early in the logs. this is expected.

@BenTheElder
Copy link
Member

This log twoards the end of the kubelet logs is a problem:

Jan 10 17:34:39 kind-control-plane kubelet[509]: F0110 17:34:39.754241 509 kubelet.go:1296] Failed to start ContainerManager system validation failed - wrong number of fields (expected 6, got 7)

This looks like the cgroupsmanager in kubelet is unhappy checking that the necessary cgroups are present.

For Kuberntes v1.19 you must be running with cgroupsv1 and certain cgroups should be mounted, on most systems they are by default.

@adds68
Copy link
Author

adds68 commented Jan 13, 2021

Thanks for the detailed explanations of the logs, i learnt something new 😄

Also thanks for taking time to read through the log files, i did some searching on the cgroups issues and it seems manjaro has support for both v1/v2 of cgroups, which you can turn off by setting systemd.unified_cgroup_hierarchy=0. However after testing this it seems the issues is still persisting.

Do you have any other ideas here, or is this an upstream manjaro issue?

@BenTheElder
Copy link
Member

BenTheElder commented Jan 14, 2021

If I were maintaining manjaro I probably wouldn't be thrilled about a report from kind given the hacks going, but if you perhaps try kubeadm directly on the host that might be instructive.
EDIT: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/, could temporarily do a one-node install and then kubeadm reset + delete the binaries.

I suspect something with your environment is making kubelet uhappy with the cgroups heirarchy and under normal circumstances kind only adds more groups it doesn't mount additional subsystems etc., which we probably shouldn't given the shared kernel. It's difficult to tell from the logs / panic what exactly is wrong though.

I haven't seen anyone report an issue like this on other distros like debian, fedora, ubuntu, except when fedora first enabled cgroupsv2 by default and most container tools couldn't support it yet (docker, runc, kubernetes...), only crun + podman.

In the future cgroupsv2 should work in kubernetes/kind as well FWWIW

@BenTheElder
Copy link
Member

we have cgroupsv2 CI now with kubernetes 1.20, kind v0.10.0 ships 1.20.2 by default along with some improved cgroups handling, but if a required cgroup is not mounted we can't do much about that.

@adds68
Copy link
Author

adds68 commented Feb 3, 2021

Sadly still no luck with 1.20, is there anyway to list what cgroups are enabled and see which ones are missing?

@danilo-lopes
Copy link

Same problem here.

Environment:

kind version (kiind version):
kind v0.9.0 go1.15.2 linux/amd6

kubectl version (kubectl version):
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:28:09Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

docker version (docker info):

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-tp-docker)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: 20.10.2
 Storage Driver: overlay2
  Backing Filesystem: btrfs
  Supports d_type: true
  Native Overlay Diff: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 269548fa27e0089a8b8278fc4fc781d7f65a939b.m
 runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.9.16-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.51GiB
 Name: sauron
 ID: U3EC:W7KG:BJNN:CMZ2:CKWD:QOGU:7LAC:GTUZ:MF6V:BBSK:SHZX:7PYY
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio weight support
WARNING: No blkio weight_device support`

OS Release (cat /etc/*release):

Manjaro Linux
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1
DISTRIB_CODENAME=Nibia
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

kind logs:
kind-logs.zip

@BenTheElder
Copy link
Member

ls /sys/fs/cgroup will show cgroups, it's a vfs.


Is manjaro shipping systemd? What version? This sort of thing is NOT a normal problem.

Please try with the latest version as well, v0.9.0 is out of date.

@tooSadman
Copy link

Hi @BenTheElder
still the same problem with latest Manjaro version 20.2.1
kind version: 0.10.0
systemd version: systemd 247 (247.3-1-manjaro)

@BenTheElder
Copy link
Member

ls /sys/fs/cgroup to inspect the cgroups.

@tooSadman
Copy link

tooSadman commented Feb 24, 2021

~ >>> ls /sys/fs/cgroup
blkio  cpu  cpuacct  cpu,cpuacct  cpuset  devices  freezer  hugetlb  memory  net_cls  net_cls,net_prio  net_prio  perf_event  pids  rdma  systemd  unified

@BenTheElder
Copy link
Member

those look fine, can you share the logs as in #1999 (comment)?

btw: I see unified in your output which implies cgroupsv2 is enabled: this requires kubernetes 1.19 as that's the first version to support it (which kind ships by default, but if you set --image to an older version that will not work)

also highly recommend #1999 (comment) for more direct debugging. This still seems to be an issue between kubernetes and manjaro's cgroups, which is not something the kind project can fix directly, but we can attempt to help.

@tooSadman
Copy link

here're logs:
kind-manjaro-logs.zip

I've noticed an interesting line in kubelet.log file:

Feb 24 14:24:46 kind-control-plane kubelet[856]: F0224 14:24:46.739287     856 kubelet.go:1350] Failed to start ContainerManager failed to get rootfs info: failed to get device for dir "/var/lib/kubelet": could not find device with major: 254, minor: 0 in cached partitions map

I've tried searching for a solution, but almost all of the issues with the same error message refer to btrfs filesystem (mine's f2fs btw)

@BenTheElder
Copy link
Member

I've tried searching for a solution, but almost all of the issues with the same error message refer to btrfs filesystem (mine's f2fs btw)

Ah, so in your case you probably need to manually mount /dev/mapper as an extra mount.
Does docker support running on f2fs ...? For known supported storage backends with device mapper kind automatically mounts it. This one is new (so far we've seen zfs, btrfs).

cat << EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- extraMounts:
  - hostPath: /dev/mapper
    containerPath: /dev/mapper
EOF

ref: #1945 (comment)

That issue is unrelated to the issue in the original post here.

@BenTheElder
Copy link
Member

https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-backing-filesystems did/does not list f2fs, so we haven't done anything for it.

@tooSadman
Copy link

Well, docker has been running w/o any issues on f2fs with overlay2 storage driver, but even after changing driver to fuse-overlayfs (it should support any filesystem, due to docs) nothing has changed, unfortunately.

@BenTheElder
Copy link
Member

Well, docker has been running w/o any issues on f2fs with overlay2 storage driver, but even after changing driver to fuse-overlayfs (it should support any filesystem, due to docs) nothing has changed, unfortunately.

Er sorry, it's not so much the storage driver that's relevant, it's the filesystem backing that driver (typically at /var/lib/docker), though f2fs is not listed as a supported backing filesystem for any of the drivers.

Does it work if you manually specifying mounting /dev/mapper as in #1999 (comment) ?

If so, we can autodetect running on f2fs and do this OOTB.

@tooSadman
Copy link

Sadly, the solution above doesn't work. Still, I'll try to check it on vm in case that solution works with supported filesystems.
Thank you for your time!

@danilo-lopes
Copy link

I had an configuration in my docker daemon.json config file with storage driver overlay2. But I'm using btrfs file system. I didn't notice that before, so I change it to btrfs and it worked.

 danilo@sauron  ~  kind create cluster --name kind
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.20.2) 🖼 
 ✓ Preparing nodes 📦  
 ✓ Writing configuration 📜 
 ✓ Starting control-plane 🕹️ 
 ✓ Installing CNI 🔌 
 ✓ Installing StorageClass 💾 
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! 👋
 danilo@sauron  ~  
 danilo@sauron  ~  
 danilo@sauron  ~  kubectl get pods -A
NAMESPACE            NAME                                         READY   STATUS    RESTARTS   AGE
kube-system          coredns-74ff55c5b-cbs9j                      1/1     Running   0          30s
kube-system          coredns-74ff55c5b-v6mf6                      1/1     Running   0          30s
kube-system          etcd-kind-control-plane                      1/1     Running   0          39s
kube-system          kindnet-sxczw                                1/1     Running   0          30s
kube-system          kube-apiserver-kind-control-plane            1/1     Running   0          39s
kube-system          kube-controller-manager-kind-control-plane   0/1     Running   0          39s
kube-system          kube-proxy-fl9tw                             1/1     Running   0          30s
kube-system          kube-scheduler-kind-control-plane            0/1     Running   0          39s

daemon.json file:

{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  },
  "storage-driver": "btrfs"
}

docker version:

Client:
 Version:           20.10.3
 API version:       1.41
 Go version:        go1.15.7
 Git commit:        48d30b5b32
 Built:             Tue Feb  2 19:54:22 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.3
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.15.7
  Git commit:       46229ca1d8
  Built:            Tue Feb  2 19:53:25 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b.m
 runc:
  Version:          1.0.0-rc93
  GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Manjaro Release:

Manjaro Linux
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1
DISTRIB_CODENAME=Nibia
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
LOGO=manjarolinux

@tooSadman
Copy link

Yeah, can confirm the same: everything works well with the latest version of kind on btrfs filesystem.

@BenTheElder
Copy link
Member

The btrfs thing is #1945 (comment)

Docker doesn't list overlay2 on btrfs as supported but apparently it works fine. We're currently auto-detecting the storage driver to decide if we should mount /dev/mapper, but what we should do is check the backing filesystem and the driver and if either are btrfs or zfs we should mount it. Tracked by #1945

OP's original issue remains unsolved but I don't think that one is a kind bug, kind will create cgroups but it will not and should not alter the hosts's core controller mounts etc.

@BenTheElder
Copy link
Member

@papanito this is a different issue. the podman backend is much more experimental and does not autodetect storage drivers at all. #2113 (comment)

@BenTheElder
Copy link
Member

This thread has veered off into different problems:

  1. The original issue, with mysteriously lacking cgroups on the host. We don't have enough data here, and that line of discussion has been inactive for months. Other manjaro hosts do not seem to have this particular issue. Please re-open or re-file with more details in the future if you still encounter this with the latest versions, as it seems to not be a common issue and we don't have anything further we can do for now.
  2. Some hosts are using a filesystem that depends on /dev/mapper yet not using the driver for this filesystem, which docker doesn't document as supported, but seems to work fine. We need to detect the backing filesystem instead of the driver. This is tracked in [btrfs] Failed to create cluster with http://localhost:10248/healthz connection refused, timed out waiting for the condition #1945 (comment)
  3. The podman node backend needs to detect storage backends and deal with them. The podman backend is much less mature and spending more time dealing with changes to the underlying tool than this sort of thing. Tracked in podman driver does not handle filesystems using dev mapper #2113 (comment)

@BenTheElder BenTheElder self-assigned this Mar 9, 2021
@coolibre
Copy link

coolibre commented Jun 21, 2021

Only for reference because i'm not sure if its documented in the comments yet:
Regarding the original issue 1.

I'm not sure whether i got the same issue but after updating manjaro 21.0.7 & docker 20.10.7 & kindest:node:v1.18.8
i see the exact symptoms in the kind create cluster output.
Without stepping into the issue more deeply i changed the k8s image to kindest/node:v1.20.7 which resolves the problem.

@BenTheElder
Copy link
Member

If you're on arch/manjaro there's a good chance https://kind.sigs.k8s.io/docs/user/known-issues/#failure-to-create-cluster-with-cgroups-v2 applies, kubernetes only supports cgroupsv2 from 1.19 forward, so 1.18 requires the host to use cgroupsv1 not v2.

@ninx80
Copy link

ninx80 commented Mar 3, 2022

没有中文的吗

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.
Projects
None yet
Development

No branches or pull requests

6 participants