karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.14k stars 813 forks source link

Fail to install Karmada in CentOS 7.9 #4913

Closed B1F030 closed 1 week ago

B1F030 commented 1 week ago

What happened:

make: Leaving directory `/root/karmada'
Waiting for the host clusters to be ready...
Waiting for kubeconfig file /root/.kube/karmada.config and clusters karmada-host to be ready...

[ERROR] Timeout waiting for file exist /root/.kube/karmada.config

Anything else we need to know?:

[root@karmada karmada]# cat /tmp/karmada/karmada-host.log 
Creating cluster "karmada-host" ...
 • Ensuring node image (kindest/node:v1.27.3)   ...
 ✓ Ensuring node image (kindest/node:v1.27.3) 

                                                • Preparing nodes    ...
 ✓ Preparing nodes 

                     • Writing configuration   ...
 ✓ Writing configuration 

                           • Starting control-plane ️  ...
 ✗ Starting control-plane ️ 
Deleted nodes: ["karmada-host-control-plane"]
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged karmada-host-control-plane kubeadm init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1

Command Output: I0507 13:46:58.026601     199 initconfiguration.go:255] loading configuration from "/kind/kubeadm.conf"
W0507 13:46:58.030461     199 initconfiguration.go:332] [config] WARNING: Ignored YAML document with GroupVersionKind kubeadm.k8s.io/v1beta3, Kind=JoinConfiguration
[init] Using Kubernetes version: v1.27.3
[certs] Using certificateDir folder "/etc/kubernetes/pki"
I0507 13:46:58.036216     199 certs.go:112] creating a new certificate authority for ca
[certs] Generating "ca" certificate and key
I0507 13:46:58.126199     199 certs.go:519] validating certificate period for ca certificate
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [karmada-host-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
I0507 13:46:58.897647     199 certs.go:112] creating a new certificate authority for front-proxy-ca
I0507 13:46:59.264725     199 certs.go:519] validating certificate period for front-proxy-ca certificate
[certs] Generating "front-proxy-ca" certificate and key
[certs] Generating "front-proxy-client" certificate and key
I0507 13:46:59.551833     199 certs.go:112] creating a new certificate authority for etcd-ca
[certs] Generating "etcd/ca" certificate and key
I0507 13:46:59.957471     199 certs.go:519] validating certificate period for etcd/ca certificate
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [karmada-host-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 [karmada-host-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]
[certs] Generating "etcd/healthcheck-client" certificate and key
I0507 13:47:00.844952     199 certs.go:78] creating new public/private key files for signing service account users
[certs] Generating "apiserver-etcd-client" certificate and key
[certs] Generating "sa" key and public key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
I0507 13:47:01.097231     199 kubeconfig.go:103] creating kubeconfig file for admin.conf
[kubeconfig] Writing "admin.conf" kubeconfig file
I0507 13:47:01.468391     199 kubeconfig.go:103] creating kubeconfig file for kubelet.conf
[kubeconfig] Writing "kubelet.conf" kubeconfig file
I0507 13:47:01.548618     199 kubeconfig.go:103] creating kubeconfig file for controller-manager.conf
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
I0507 13:47:01.647480     199 kubeconfig.go:103] creating kubeconfig file for scheduler.conf
[kubeconfig] Writing "scheduler.conf" kubeconfig file
I0507 13:47:01.975818     199 kubelet.go:67] 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"
I0507 13:47:02.051377     199 manifests.go:99] [control-plane] getting StaticPodSpecs
I0507 13:47:02.051559     199 certs.go:519] validating certificate period for CA certificate
I0507 13:47:02.051601     199 manifests.go:125] [control-plane] adding volume "ca-certs" for component "kube-apiserver"
I0507 13:47:02.051606     199 manifests.go:125] [control-plane] adding volume "etc-ca-certificates" for component "kube-apiserver"
I0507 13:47:02.051609     199 manifests.go:125] [control-plane] adding volume "k8s-certs" for component "kube-apiserver"
I0507 13:47:02.051612     199 manifests.go:125] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-apiserver"
I0507 13:47:02.051615     199 manifests.go:125] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-apiserver"
I0507 13:47:02.053275     199 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-apiserver" to "/etc/kubernetes/manifests/kube-apiserver.yaml"
I0507 13:47:02.053301     199 manifests.go:99] [control-plane] getting StaticPodSpecs
[control-plane] Creating static Pod manifest for "kube-controller-manager"
I0507 13:47:02.053448     199 manifests.go:125] [control-plane] adding volume "ca-certs" for component "kube-controller-manager"
I0507 13:47:02.053459     199 manifests.go:125] [control-plane] adding volume "etc-ca-certificates" for component "kube-controller-manager"
I0507 13:47:02.053463     199 manifests.go:125] [control-plane] adding volume "flexvolume-dir" for component "kube-controller-manager"
I0507 13:47:02.053466     199 manifests.go:125] [control-plane] adding volume "k8s-certs" for component "kube-controller-manager"
I0507 13:47:02.053469     199 manifests.go:125] [control-plane] adding volume "kubeconfig" for component "kube-controller-manager"
I0507 13:47:02.053472     199 manifests.go:125] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-controller-manager"
I0507 13:47:02.053475     199 manifests.go:125] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-controller-manager"
I0507 13:47:02.053971     199 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-controller-manager" to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
I0507 13:47:02.053982     199 manifests.go:99] [control-plane] getting StaticPodSpecs
I0507 13:47:02.054106     199 manifests.go:125] [control-plane] adding volume "kubeconfig" for component "kube-scheduler"
[control-plane] Creating static Pod manifest for "kube-scheduler"
I0507 13:47:02.054381     199 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-scheduler" to "/etc/kubernetes/manifests/kube-scheduler.yaml"
I0507 13:47:02.054830     199 local.go:65] [etcd] wrote Static Pod manifest for a local etcd member to "/etc/kubernetes/manifests/etcd.yaml"
I0507 13:47:02.054837     199 waitcontrolplane.go:83] [wait-control-plane] Waiting for the API server to be healthy
I0507 13:47:02.055300     199 loader.go:373] Config loaded from file:  /etc/kubernetes/admin.conf
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[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
I0507 13:47:02.056460     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:02.558084     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:03.058594     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0507 13:47:03.558095     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:04.057698     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:04.557270     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:05.057554     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:05.557376     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:06.057636     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:06.556998     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:07.057323     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:07.557351     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:08.057757     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:08.557749     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:09.058900     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:09.557444     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:10.057570     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:10.556781     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:11.057415     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:11.557495     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:12.059507     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:12.557605     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:13.056997     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:13.558547     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:14.058243     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:14.557269     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:15.058019     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:15.557046     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:16.057763     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:16.557464     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:17.057288     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:17.557354     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:18.057235     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:18.557705     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:19.058715     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:19.557314     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:20.057261     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:20.558074     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:21.057831     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:21.557605     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:22.057481     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:22.558141     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:23.057204     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:23.557085     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:24.057394     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:24.557365     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:25.057606     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:25.557990     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:26.057882     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:26.559651     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:27.057217     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:27.558385     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:28.057752     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:28.558374     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:29.057467     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:29.558233     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:30.057195     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:30.557310     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:31.058339     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:31.557467     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:32.057671     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:32.558337     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:33.058242     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:33.557649     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:34.057399     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:34.557948     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:35.057504     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:35.557176     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:36.057476     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:36.557937     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:37.057131     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:37.557836     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:38.057617     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:38.557557     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:39.057065     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:39.557709     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:40.058643     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:40.557673     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:41.057405     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:41.557420     199 round_trippers.go:553] GET https://karmada-host-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.
I0507 13:47:42.057171     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:42.557186     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:43.057802     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:43.557503     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:44.057838     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:44.557198     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:45.057864     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:45.557622     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:46.057362     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:46.556950     199 round_trippers.go:553] GET https://karmada-host-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.
I0507 13:47:47.057500     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:47.558884     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:48.057488     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:48.557337     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:49.057329     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:49.558050     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:50.057285     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:50.557257     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:51.057249     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:51.557519     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:52.058787     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:52.558360     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:53.057506     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:53.558525     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:54.057273     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:54.557565     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:55.058558     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:55.558362     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:56.057071     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:56.557291     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:57.057568     199 round_trippers.go:553] GET https://karmada-host-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.
I0507 13:47:57.558351     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:58.058049     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:58.557843     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:59.057223     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:47:59.557868     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:00.057454     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:00.557039     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:01.057136     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:01.556994     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:02.057599     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:02.557355     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:03.056850     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:03.558059     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:04.057593     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:04.558207     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:05.057757     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:05.557600     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:06.056996     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:06.557213     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:07.058157     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:07.557865     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:08.057793     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:08.558540     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:09.058257     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:09.557622     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:10.057276     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:10.557760     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:11.056968     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:11.556914     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:12.057298     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:12.557915     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:13.057402     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:13.557484     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:14.058228     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:14.557843     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:15.057238     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:15.557195     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:16.057221     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:16.557598     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:17.057060     199 round_trippers.go:553] GET https://karmada-host-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.
I0507 13:48:17.558298     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:18.057588     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:18.557834     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:19.057046     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:19.557322     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:20.057275     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:20.558282     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:21.057742     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:21.557367     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:22.058109     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:22.557830     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:23.057540     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:23.557319     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:24.057988     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:24.557704     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:25.057360     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:25.557121     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:26.057883     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:26.557490     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:27.057361     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:27.556922     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:28.057193     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:28.557196     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:29.057515     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:29.557344     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:30.057693     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:30.558698     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:31.057211     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:31.558021     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:32.057368     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:32.558657     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:33.057246     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:33.557562     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:34.059327     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:34.558211     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:35.057347     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:35.557204     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:36.057168     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:36.557511     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:37.058364     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:37.558106     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:38.057582     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:38.557361     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:39.058058     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:39.557261     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:40.057502     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:40.558104     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:41.058506     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:41.557924     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:42.058189     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0507 13:48:42.557062     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:43.057111     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:43.557090     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:44.057602     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:44.557131     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:45.057307     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:45.558377     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:46.058937     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:46.557565     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:47.057379     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:47.558291     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:48.058387     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:48.557361     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:49.057747     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:49.557550     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:50.057616     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:50.557293     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:51.057037     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:51.557872     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:52.057518     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:52.557262     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:53.057980     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:53.557682     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:54.058040     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:54.557973     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:55.058663     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:55.557004     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:56.062368     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:56.557585     199 round_trippers.go:553] GET https://karmada-host-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0507 13:48:57.057751     199 round_trippers.go:553] GET https://karmada-host-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 running Kubernetes containers by 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
        cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go:108
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:259
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:446
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:232
k8s.io/kubernetes/cmd/kubeadm/app/cmd.newCmdInit.func1
        cmd/kubeadm/app/cmd/init.go:111
github.com/spf13/cobra.(*Command).execute
        vendor/github.com/spf13/cobra/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        vendor/github.com/spf13/cobra/command.go:1040
github.com/spf13/cobra.(*Command).Execute
        vendor/github.com/spf13/cobra/command.go:968
k8s.io/kubernetes/cmd/kubeadm/app.Run
        cmd/kubeadm/app/kubeadm.go:50
main.main
        cmd/kubeadm/kubeadm.go:25
runtime.main
        /usr/local/go/src/runtime/proc.go:250
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1598
error execution phase wait-control-plane
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:260
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:446
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:232
k8s.io/kubernetes/cmd/kubeadm/app/cmd.newCmdInit.func1
        cmd/kubeadm/app/cmd/init.go:111
github.com/spf13/cobra.(*Command).execute
        vendor/github.com/spf13/cobra/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
        vendor/github.com/spf13/cobra/command.go:1040
github.com/spf13/cobra.(*Command).Execute
        vendor/github.com/spf13/cobra/command.go:968
k8s.io/kubernetes/cmd/kubeadm/app.Run
        cmd/kubeadm/app/kubeadm.go:50
main.main
        cmd/kubeadm/kubeadm.go:25
runtime.main
        /usr/local/go/src/runtime/proc.go:250
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1598

similar to #3308, but using kind v0.20.0 still can't fix this bug.

Environment:

B1F030 commented 1 week ago

According to this comment, resolved by changing kind version to v0.19.0