failed to init master0: failed to init master0: exit status 1. Please clean and reinstall
What happen?
when executing "sealer run registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8", error [ERROR] [root.go:70] sealer-v0.8.6: failed to init master0: failed to init master0: exit status 1. Please clean and reinstall
Relevant log output?
[[email protected] /root]
#sealer run registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8
...
2022-08-05 11:11:59 [INFO] [init.go:259] start to init master0...
2022-08-05 11:11:59 [DEBUG] [sshcmd.go:129] failed to execute command(kubeadm init --config=/var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml --upload-certs -v 6 --ignore-preflight-errors=SystemVerification) on host(11.124.9.58): error(exit status 1)
Usage:
sealer run [flags]
...
2022-08-05 11:11:59 [ERROR] [root.go:70] sealer-v0.8.6: failed to init master0: failed to init master0: exit status 1. Please clean and reinstal
What you expected to happen?
i want to start a basic k8s
How to reproduce it (as minimally and precisely as possible)?
sealer run registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8
Anything else we need to know?
I've tried many versions and it's the same problem,such as 0.8.5, 0.8.6, 0.5.2...
What is the version of Sealer you using?
{"gitVersion":"v0.8.6","gitCommit":"884513e","buildDate":"2022-07-12 02:58:54","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
Alibaba Group Enterprise Linux Server 7.2 (Paladin)
What is the Kernel version?
Linux sqaob011124009058.sa128 4.9.151-015.ali3000.alios7.x86_64
Other environment you want to tell us?
- Cloud provider or hardware configuration:
- Install tools:
- Others:
@alv00 , looks like failed to execute kubeadm init: kubeadm init --config=/var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml --upload-certs -v 6 --ignore-preflight-errors=SystemVerification,Could pls you try running this command manually to see what's wrong?
@alv00 , looks like failed to execute kubeadm init:
kubeadm init --config=/var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml --upload-certs -v 6 --ignore-preflight-errors=SystemVerification,Could pls you try running this command manually to see what's wrong?
I have the same problem when i run sealer run kubernetes:v1.24.3 --log-to-file --masters 192.168.137.111 --nodes 192.168.137.112,192.168.137.113 --passwd devops@123 on Alicloud ecs

Then i run the command kubeadm init --config=/var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml --upload-certs -v 6 --ignore-preflight-errors=SystemVerification
