Comments (8)
请附上 执行命令以及错误堆栈信息。
from sealos.
是不是各服务器密码不一样? 用--passwd服务器密码必须都一样,否则请用密钥, https://sealyun.com/faq/ FAQ中也有常见问题
from sealos.
执行命令:
sealos init --master 10.88.88.1 \
--master 10.88.88.2 \
--master 10.88.88.3 \
--node 10.88.88.4 \
--node 10.88.88.5 \
--node 10.88.88.6 \
--user root \
--pk /root/.ssh/id_ed25519 \
--version v1.15.0 \
--pkg-url /root/kube1.15.0.tar.gz
报错:
2019-09-03 09:03:31 [INFO] [github.com/fanux/sealos/install/utils.go:83] 10.88.88.2 ls -l /root | grep kube1.15.0.tar.gz | wc -l
2019-09-03 09:03:33 [EROR] [github.com/fanux/sealos/install/utils.go:89] Error create ssh session failed ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
panic: 1
goroutine 9 [running]:
github.com/fanux/sealos/install.Cmd(0xc000022990, 0xb, 0xc000024960, 0x2c, 0x0, 0x0, 0x0)
/go/src/github.com/fanux/sealos/install/utils.go:90 +0x4ba
github.com/fanux/sealos/install.RemoteFilExist(0xc000022990, 0xb, 0xc000020900, 0x17, 0x0)
/go/src/github.com/fanux/sealos/install/utils.go:109 +0x1a7
github.com/fanux/sealos/install.SendPackage.func1(0xc000022bc0, 0xc000020900, 0x17, 0xc00002c0c0, 0x36, 0x100, 0x7fffd10856ed, 0x17, 0xc00002e6e0, 0x43, ...)
/go/src/github.com/fanux/sealos/install/utils.go:292 +0xb0
created by github.com/fanux/sealos/install.SendPackage
/go/src/github.com/fanux/sealos/install/utils.go:289 +0x56f
[root@k8s-master-01 ~]# ansible all -m ping
10.88.88.3 | SUCCESS => {
"changed": false,
"ping": "pong"
}
10.88.88.5 | SUCCESS => {
"changed": false,
"ping": "pong"
}
10.88.88.2 | SUCCESS => {
"changed": false,
"ping": "pong"
}
10.88.88.1 | SUCCESS => {
"changed": false,
"ping": "pong"
}
10.88.88.4 | SUCCESS => {
"changed": false,
"ping": "pong"
}
10.88.88.6 | SUCCESS => {
"changed": false,
"ping": "pong"
}
from sealos.
sealos 哪个版本的? https://github.com/fanux/sealos/releases/download/v2.0.5-alpha.1/sealos 试下这个版本
from sealos.
就是用的这个版本,刚刚试了下还不不行,用口令是可以的。
from sealos.
@currycan 你重新试一下最新版,我加了测试ssh的方法。感觉还是ssh没上去。你再看一下。
from sealos.
先关了,有问题reopen
from sealos.
抱歉现在才回复,已经验证过了。现在没问题了,谢谢!
from sealos.
Related Issues (20)
- BUG: Kirin v10 arm machine uses sealos 4.3.7 to install k8s and reports an error
- BUG: ssh cannot connect to sealos after running in centos7.9 environment. The saelos parameter nofile is configured too large. HOT 7
- BUG: The `sealos run` command parameter --env cannot read variables containing commas. HOT 2
- sealos add BUG HOT 2
- BUG: 用一键脚本安装时候在安装 Ingress-nginx-controller 和 Kubeblocks.这步显示couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request HOT 4
- [FEATURE][Add application] Open source free VPN server - Firefly HOT 1
- How to log out of the account on cloud.sealos.io, logged in with mobile phone number HOT 3
- Docs: It is recommended to give an introductory document for junior contributors HOT 1
- BUG: can not git clone repo
- BUG: Exception when upgrading sealos component HOT 1
- BUG: Log format issue
- sealos-cloud-5.0.0-beta5 reported a cockroachdb ui error during the installation process HOT 1
- add new nodes it rename all nodes hostname to lvscare.node.ip HOT 2
- 添加集群失败,提示usage of cri endpoints without url scheme is deprecated and can cause kubelete error in the future. HOT 10
- Feature: supports cross-architecture deployment
- BUG: brief description of the bug
- Using sealos 5.0.0-beta5 cannot upgrade k8s from 1.27.9 to 1.28.9
- K8s (1.21, 1.24, 1.26, 1.28) cannot be installed using sealos (4.3.7 & 5.x) on kylin v10 sp3 HOT 6
- Bug: failed to init masters: generate init config error: exit status 1 HOT 4
- 添加node节点遇到 Error: can't apply application type images only since RootFS type image is not applied yet,这个问题是什么原因? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealos.