-
Notifications
You must be signed in to change notification settings - Fork 360
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
sealer run cluster failed #953
Comments
-- install without -d Error: failed to init master0 init master0 failed, error: [ssh][10.255.237.200]run command failed [kubeadm init --config=/var/lib/sealer/data/my-cluster/rootfs/kubeadm-config.yaml --upload-certs -v 0 --ignore-preflight-errors=SystemVerification]. Please clean and reinstall |
@bxy4543 test apply if the network interface name is |
It looks like kubeadm init failed, show this file /var/lib/sealer/data/my-cluster/rootfs/kubeadm-config.yaml. @lusains |
@fanux [ERROR] [root.go:75] sealer-v0.9.2: failed to init master0: failed to execute command(kubeadm init --config=/etc/kubernetes/kubeadm.yaml --upload-certs -v 0 --ignore-preflight-errors=SystemVerification,Port-10250,DirAvailable--etc-kubernetes-manifests) on host(10.10.5.12): error(W1103 16:04:31.222037 298667 strict.go:54] error unmarshaling configuration schema.GroupVersionKind{Group:"kubelet.config.k8s.io", Version:"v1beta1", Kind:"KubeletConfiguration"}: error unmarshaling JSON: while decoding JSON: json: unknown field "flushFrequency" |
#2315 can you help me |
What happened:
sealer run cluster, 1 master,join failed
Here is the install log
2021-12-22 02:52:03 [DEBG] [runtime.go:107] join masters: [10.255.237.200]
2021-12-22 02:52:06 [EROR] [masters.go:319] exec remote cmd failed, kubeadm init phase upload-certs --upload-certs -v 6 [ssh][10.255.237.200]run command failed [kubeadm init phase upload-certs --upload-certs -v 6]
2021-12-22 02:52:06 [DEBG] [masters.go:489] [globals]decodeCertCmd: I1222 02:48:04.537272 41222 initconfiguration.go:103] detected and using CRI socket: /var/run/dockershim.sock
I1222 02:48:04.537577 41222 interface.go:400] Looking for default routes with IPv4 addresses
I1222 02:48:04.537591 41222 interface.go:405] Default route transits interface "ens192"
I1222 02:48:04.538203 41222 interface.go:208] Interface ens192 is up
I1222 02:48:04.538302 41222 interface.go:256] Interface "ens192" has 2 addresses :[10.255.237.200/27 fe80::250:56ff:fe80:4d9d/64].
I1222 02:48:04.538333 41222 interface.go:223] Checking addr 10.255.237.200/27.
I1222 02:48:04.538344 41222 interface.go:230] IP found 10.255.237.200
I1222 02:48:04.538351 41222 interface.go:262] Found valid IPv4 address 10.255.237.200 for interface "ens192".
I1222 02:48:04.538362 41222 interface.go:411] Found active IP 10.255.237.200
2021-12-22 02:53:46 [WARN] [filesystem.go:70] failed to unmount dir /var/lib/sealer/data/my-cluster/mount,err: retry action timeout: device or resource busy
Error: get certifacate key failed [I1222 02:48:04.537272 41222 initconfiguration.go:103] detected and using CRI socket: /var/run/dockershim.sock
I1222 02:48:04.537577 41222 interface.go:400] Looking for default routes with IPv4 addresses
I1222 02:48:04.537591 41222 interface.go:405] Default route transits interface "ens192"
I1222 02:48:04.538203 41222 interface.go:208] Interface ens192 is up
I1222 02:48:04.538302 41222 interface.go:256] Interface "ens192" has 2 addresses :[10.255.237.200/27 fe80::250:56ff:fe80:4d9d/64].
I1222 02:48:04.538333 41222 interface.go:223] Checking addr 10.255.237.200/27.
I1222 02:48:04.538344 41222 interface.go:230] IP found 10.255.237.200
I1222 02:48:04.538351 41222 interface.go:262] Found valid IPv4 address 10.255.237.200 for interface "ens192".
I1222 02:48:04.538362 41222 interface.go:411] Found active IP 10.255.237.200
I1222 02:48:04.613854 41222 version.go:186] fetching Kubernetes version from URL: https://dl.k8s.io/release/stable-1.txt
I1222 02:48:05.698318 41222 version.go:255] remote version is much newer: v1.23.1; falling back to: stable-1.19
I1222 02:48:05.698488 41222 version.go:186] fetching Kubernetes version from URL: https://dl.k8s.io/release/stable-1.19.txt
W1222 02:48:06.735152 41222 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
open /etc/kubernetes/admin.conf: no such file or directory
failed to load admin kubeconfig
Environment:
The text was updated successfully, but these errors were encountered: