简体   繁体   English

远程执行的 Rundeck 3.x 错误 - 失败:AuthenticationFailure:连接到节点的身份验证失败。 无法验证

[英]Rundeck 3.x error for remote execution - Failed: AuthenticationFailure: Authentication failure connecting to node. Could not authenticate

Getting this error in the rundeck 3.x (latest) console when trying to do a remote uptime to the host in question.尝试对相关主机进行远程正常运行时,在 rundeck 3.x(最新)控制台中出现此错误。 Can ssh into the host from the rundeck server as rundeck user and root and have set the necessary public keys there and in key storage on rundeck server.可以以 rundeck 用户和 root 身份从 rundeck 服务器通过 ssh 进入主机,并在那里和 rundeck 服务器上的密钥存储中设置必要的公钥。

For resources.xml properties file, what should the settings be as that is where it is discovered.对于 resources.xml 属性文件,设置应该是什么,因为它是被发现的地方。

The error in the rundeck server /var/log/rundeck/service.log is: rundeck 服务器 /var/log/rundeck/service.log 中的错误是:

[2020-01-21 01:15:50.826] ERROR ExecutionUtilService --- [eduler_Worker-1] Execution failed: 29 in project TestProject: [Workflow result\\ : , step failures: {1=Dispatch failed on 1 nodes: [some-random-host: AuthenticationFailure: Authentication failure connecting to node: "\\ some-random-host". [2020-01-21 01:15:50.826] ERROR ExecutionUtilService --- [eduler_Worker-1] Execution failed: 29 in project TestProject: [Workflow result\\: , step failures: {1=Dispatch failed on 1 nodes: [some -random-host: AuthenticationFailure: 连接到节点的身份验证失败:“\\ some-random-host”。 Could not authenticate.无法进行身份验证。 + {dataContext=MultiDataContextImpl(map={ContextView(node:some-random-host)=BaseDataContext{{\\ exec={exitCode=-1}}}, ContextView(step:1, node:some-random-host)=BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]}, Node failures: \\ {some-random-host=[AuthenticationFailure: Authentication failure connecting to node: "some-random-host". + {dataContext=MultiDataContextImpl(map={ContextView(node:some-random-host)=BaseDataContext{{\\ exec={exitCode=-1}}}, ContextView(step:1, node:some-random-host)= BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]},节点失败:\\ {some-random-host=[AuthenticationFailure:连接到节点的身份验证失败:“some-random-host” . Could not authenticate.无法进行身份验证。 + {data\\ Context=MultiDataContextImpl(map={ContextView(node:some-random-host)=BaseDataContext{{exec={exitCode=-1}}}, ContextView(step:1, node:som\\ e-random-host)=BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]}, status: failed] + {data\\ Context=MultiDataContextImpl(map={ContextView(node:some-random-host)=BaseDataContext{{exec={exitCode=-1}}}, ContextView(step:1, node:som\\ e-random- host)=BaseDataContext{{exec={exitCode=-1}}}}, base=null)} ]},状态:失败]

Thanks.谢谢。

请确保您有远程节点以及配置(和你的节点定义以及参考的),你有很好的指导这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM