Skip to content
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

utils.Exp: 'errno:250, err:Authentication failed' #5

Open
jeremyv1 opened this issue Mar 15, 2019 · 1 comment
Open

utils.Exp: 'errno:250, err:Authentication failed' #5

jeremyv1 opened this issue Mar 15, 2019 · 1 comment

Comments

@jeremyv1
Copy link

下载代码,执行test.py 返回
Traceback (most recent call last):
File "test.py", line 583, in
test_exec(args)
File "test.py", line 543, in test_exec
test_init()
File "test.py", line 511, in test_init
cluster.create([socket.gethostname()])
File "/home/mpsp/xujiaming/sdfs/admin/cluster.py", line 520, in create
self._add_check_env(hosts)
File "/home/mpsp/xujiaming/sdfs/admin/cluster.py", line 324, in _add_check_env
exec_remote(host, cmd3)
File "/home/mpsp/xujiaming/sdfs/admin/utils.py", line 417, in exec_remote
password, timeout, exectimeout)
File "/home/mpsp/xujiaming/sdfs/admin/utils.py", line 406, in _exec_remote
raise Exp(250, 'Authentication failed')
utils.Exp: 'errno:250, err:Authentication failed'

有微信群或者QQ群 给解答一下么

@graydream
Copy link
Contributor

似乎是本机的sshkey没有处理,先执行下
mkdir build
cd build
cmake ..
make install
/opt/sdfs/app/admin/cluster.py sshkey --hosts localhost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants