我尝试将Opscenter从6.0.3升级到6.0.5。代理升级失败,出现以下异常。它似乎无法登录节点。我相信我输入了正确的用户ID和私钥。
2016-11-17 23:39:47,976 [opscenterd] INFO: using ssh-private-key (async-thread-macro-12)
2016-11-17 23:39:47,979 [opscenterd] INFO: Trying to establish ssh connection ssh-management-address="172.31\
.46.195" node-name="unmanaged-node-172.31.46.195" node-id="f8768526-59d9-43c6-99e0-3adaf34cc220" job-id="2898\
d02d-d2f6-4021-a17b-39a2eb930a74" (async-thread-macro-12)
2016-11-17 23:39:47,982 [opscenterd] INFO: Trying to establish ssh connection ssh-management-address="172.31\
.28.101" node-name="unmanaged-node-172.31.28.101" node-id="241ea5a7-fb5c-457e-b58d-4acfb1eb562a" job-id="2898\
d02d-d2f6-4021-a17b-39a2eb930a74" (async-thread-macro-11)
2016-11-17 23:39:48,026 [opscenterd] ERROR: Unexpected error processing install_agent job 2898d02d-d2f6-4021-\
a17b-39a2eb930a74 on node name="unmanaged-node-172.31.55.196" ssh-management-address="172.31.55.196" node-id=\
"b830d52b-1707-4702-aaf3-950d4158fdf9" (async-thread-macro-10)
com.jcraft.jsch.JSchException: USERAUTH fail
at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:119)
at com.jcraft.jsch.Session.connect(Session.java:463)
at clj_ssh.ssh$fn__18053.invoke(ssh.clj:119)
at clj_ssh.ssh.protocols$fn__18011$G__17978__18020.invoke(protocols.clj:4)
at clj_ssh.ssh$connect.invoke(ssh.clj:404)
at lcm.jobs.multinode.common$run_command$fn__18856$fn__18858.invoke(common.clj:735)
at lcm.jobs.multinode.common$run_command$fn__18856.invoke(common.clj:731)
at lcm.jobs.multinode.common$run_command.invoke(common.clj:713)
at lcm.jobs.multinode.install_agent.InstallAgentJob.run(install_agent.clj:36)
at lcm.jobs.multinode.common$run_job.invoke(common.clj:73)
at lcm.jobs.multinode.common$process_run__18529$fn__18530.invoke(common.clj:91)
at clojure.core.async$thread_call$fn__8945.invoke(async.clj:434)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
答案 0 :(得分:0)
我最终手动升级了每个节点上的OpsCenter代理:
sudo apt-get update && sudo apt-get upgrade datastax-agent