Open VinceHouJianyu opened 2 years ago
You can use this template to configure the Clusterfile http://sealer.cool/docs/getting-started/using-clusterfile.html
You can use this template to configure the Clusterfile http://sealer.cool/docs/getting-started/using-clusterfile.html
is not work
2022-06-28 18:28:43 [INFO] [local.go:288] Start to create a new cluster: master [xxx], worker [xxx] Error: exec command failed xxx uname -m [ssh][xxx] create ssh session failed, ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain Usage: sealer apply [flags]
Examples: sealer apply -f Clusterfile
Flags: -f, --Clusterfile string apply a kubernetes cluster (default "Clusterfile") --force We also can input an --force flag to delete cluster by force -h, --help help for apply
Global Flags: --config string config file (default is $HOME/.sealer.json) -d, --debug turn on debug mode --hide-path hide the log path --hide-time hide the log time
exec command failed xxx uname -m [ssh][xxx] create ssh session failed, ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
apiVersion: sealer.cloud/v2 kind: Cluster metadata: name: middleware spec:
image: xxx ssh: passwd: pk: /root/.ssh/id_rsa pkPasswd: /root/.ssh/id_rsa user: root port: "22"
hosts:
clusterfile
apiVersion: sealer.cloud/v2 kind: Cluster metadata: name: middleware spec: image: hub-vpc.jdcloud.com/devops/sealer/middleware-k8s:ha-beta-0618 ssh: passwd: pk: /root/.ssh/id_rsa pkPasswd: /root/.ssh/id_rsa user: root port: "22" hosts:
What happen?
deploy cluster used commond : sealer apply -f Clusterfile , then run failed
Relevant log output?
What you expected to happen?
No response
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
What is the version of Sealer you using?
{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
What is the Kernel version?
Linux node-0 3.10.0-1160.66.1.el7.x86_64
Other environment you want to tell us?