【 使用环境 】3.2.4
【 OB or 其他组件 】ocp
【 使用版本 】
【问题描述】相同的主机,在oat上可以正常添加,在ocp上添加失败
[pool-3-thread-1,] c.a.o.s.i.r.util.RateLimitCounter : After refresh, size of counterEntries :0
2023-05-09 09:46:55.402 ERROR 50 — [pool-157812-thread-1,ee7207a8b4524ae9,871017d0d360] c.o.o.e.i.c.impl.DefaultSshConnector : [DefaultSshConnector]:failed to init ssh connector, connect properties:ConnectProperties(hostAddress=8.40.147.117, httpPort=null, monitorPort=null, sshPort=22, authentication=Authentication(httpAuth=null, sshAuth=SshAuthentication(authType=password, passwordAuthConfig=PasswordAuthConfig(username=root), privateKeyAuthConfig=null)), posConfig=PosConfig(downloadUrl=http://8.40.147.111:8080/api/v2/files/built-in/pos.py, sha1Sum=94c5350f98ba9dbb847f4943bb7bf33190d8003c), proxy=null, extHttpHeaders=null), errorMsg:Auth fail, cause:null
2023-05-09 09:46:55.402 ERROR 50 — [pool-157812-thread-1,ee7207a8b4524ae9,871017d0d360] c.a.o.s.p.u.ConnectionValidationUtils : validate ssh connect failed, reason:failed to init ssh connector, cause:{}
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:519) ~[jsch-0.1.55.jar!/:na]
at com.oceanbase.ocp.executor.internal.connector.impl.DefaultSshConnector.init(DefaultSshConnector.java:58) ~[command-executor-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.oceanbase.ocp.executor.internal.connector.Connectors.getConnector(Connectors.java:85) ~[command-executor-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.oceanbase.ocp.executor.internal.connector.Connectors.getSshConnector(Connectors.java:69) ~[command-executor-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.oceanbase.ocp.executor.internal.template.SshTemplate.(SshTemplate.java:44) ~[command-executor-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.oceanbase.ocp.executor.executor.SshExecutor.(SshExecutor.java:99) ~[command-executor-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.service.profile.util.ConnectionValidationUtils.validateSshConnect(ConnectionValidationUtils.java:104) [ocp-service-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.service.profile.util.ConnectionValidationUtils.lambda$validateSshConnect$0(ConnectionValidationUtils.java:84) [ocp-service-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.thread.ConcurrentExecutor.lambda$exec$2(ConcurrentExecutor.java:69) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at com.alipay.ocp.core.thread.TraceDecorator.lambda$decorate$1(TraceDecorator.java:43) ~[ocp-core-3.3.4-20221201.jar!/:3.3.4-20221201]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_312]
【复现路径】
【问题现象及影响】
【附件】