Open xiaozitwo opened 2 years ago
If you WSL remained the file kubeadm.yml
, could you show it to us? @xiaozitwo
cat /var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml
[root@remote sealer]# cat /var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml cat: /var/lib/sealer/data/my-cluster/rootfs/etc/kubeadm.yml: No such file or directory WSL don`t have this file no my-cluster directory
pls run sealer apply -f clusterfile -d
show us more logs. And why we lookup kubesphere domain, Is there something wrong configuration with your local OS? "sealer-v0.8.6: Get "https://lb.kubesphere.local:6443/version?timeout=32s": dial tcp: lookup lb.kubesphere.local: no such host"
[root@DESKTOP-UDFH9EO sealer]# ./sealer apply -f ./Clusterfile.yaml -d Usage: sealer apply [flags]
Examples: sealer apply -f Clusterfile
Flags: -f, --Clusterfile string Clusterfile path to apply a Kubernetes cluster (default "Clusterfile") --force force to delete the specified cluster if set true -h, --help help for apply
Global Flags: --color string set the log color mode, the possible values can be [never always] (default "always") --config string config file of sealer tool (default is $HOME/.sealer.json) -d, --debug turn on debug mode --hide-path hide the log path --hide-time hide the log time --log-to-file write log message to disk -q, --quiet silence the usage when fail --remote-logger-url string remote logger url, if not empty, will send log to this url --task-name string task name which will embedded in the remote logger header, only valid when --remote-logger-url is set
2022-09-04 23:11:50 [ERROR] [root.go:70] sealer-v0.8.6: Get "https://lb.kubesphere.local:6443/version?timeout=32s": dial tcp: lookup lb.kubesphere.local: no such host
just the same error
The log has errors related to kubesphere, try to use a clean environment
What happen?
[root@remote sealer]# ./sealer apply -f ./Clusterfile.yaml Usage: sealer apply [flags]
Examples: sealer apply -f Clusterfile
Flags: -f, --Clusterfile string Clusterfile path to apply a Kubernetes cluster (default "Clusterfile") --force force to delete the specified cluster if set true -h, --help help for apply
Global Flags: --color string set the log color mode, the possible values can be [never always] (default "always") --config string config file of sealer tool (default is $HOME/.sealer.json) -d, --debug turn on debug mode --hide-path hide the log path --hide-time hide the log time --log-to-file write log message to disk -q, --quiet silence the usage when fail --remote-logger-url string remote logger url, if not empty, will send log to this url --task-name string task name which will embedded in the remote logger header, only valid when --remote-logger-url is set
2022-08-25 14:02:11 [ERROR] [root.go:70] sealer-v0.8.6: Get "https://lb.kubesphere.local:6443/version?timeout=32s": dial tcp: lookup lb.kubesphere.local: no such host
so install prcess break off。
Relevant log output?
No response
What you expected to happen?
No response
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
workspace is WSL2 sealer on wsl2 3 vms are 192.168.176.20~22
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?
No response
What is the Kernel version?
No response
Other environment you want to tell us?