首页 新闻 会员 周边 捐助

部署Ambari执行到Confirm Host的步骤,一直过不去,大家有遇到的吗?

-1
悬赏园豆:10 [待解决问题]

ubnutu 16.04

http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/ambari.list

终端ssh是可以单点访问两个agent主机的。



========================== Creating target directory... ========================== Command start time 2016-06-27 02:39:17 Permission denied (publickey,password). SSH command execution finished host=agent1.mc.com, exitcode=255 Command end time 2016-06-27 02:39:17 ERROR: Bootstrap of host agent1.mc.com fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: Permission denied (publickey,password). STDOUT: Permission denied (publickey,password).

log中:

27 Jun 2016 02:39:17,275 INFO [Thread-36] BSRunner:220 - Host= agent1.mc.com,agent2.mc.com bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/2 user=root keyfile=/var/run/ambari-server/bootstrap/2/sshKey passwordFile null server=server.mc.com version=2.2.0.0 serverPort=8080 userRunAs=root
27 Jun 2016 02:39:17,281 INFO [pool-9-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
27 Jun 2016 02:39:17,281 INFO [pool-9-thread-1] BSHostStatusCollector:62 - HostList for polling on [agent1.mc.com, agent2.mc.com]
27 Jun 2016 02:39:19,395 INFO [Thread-36] BSRunner:264 - Bootstrap output, log=/var/run/ambari-server/bootstrap/2/bootstrap.err /var/run/ambari-server/bootstrap/2/bootstrap.out at server.mc.com
27 Jun 2016 02:39:19,398 INFO [Thread-36] BSRunner:275 - Script log Mesg

INFO:root:BootStrapping hosts ['agent1.mc.com', 'agent2.mc.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: ubuntu16 with user 'root' sshKey File /var/run/ambari-server/bootstrap/2/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/2 ambari: server.mc.com; server_port: 8080; ambari version: 2.2.0.0; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host agent1.mc.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,password).^M

STDOUT:
Permission denied (publickey,password).^M

ERROR:root:ERROR: Bootstrap of host agent2.mc.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,password).^M

STDOUT:
Permission denied (publickey,password).^M

INFO:root:Finished parallel bootstrap

27 Jun 2016 02:39:19,399 INFO [pool-9-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
27 Jun 2016 02:39:19,399 INFO [pool-9-thread-1] BSHostStatusCollector:62 - HostList for polling on [agent1.mc.com, agent2.mc.com]



Moary的主页 Moary | 初学一级 | 园豆:192
提问于:2016-06-27 17:49
< >
分享
所有回答(2)
0

同问

joiln | 园豆:202 (菜鸟二级) | 2016-08-22 14:41
0

刚刚遇见这个问题,正在想办法解决.之前有配置过一次是没有问题的,很是奇怪;

结果发现是上一步中要贴的是ambari_server的id_rsa信息而不是id_rsa.pub信息
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAqKFpL3ov4dagP55WvtY+HHg1bGoeI5rQ+4VpfmpLLx8HCLZR
ecpgLMdNcRRQdilfXfxWeslGWywJNlwalnQwsXstbDVVxWcxSx7QWrJxr/rBcwri
f6mDqEdSb/y2R2qBxx6gtOSIyL8/z+GXUrlNGCiotX1lB/swk8fEYoWH8semWUx+
LtNvGO0zaIWyWAa1XFXfYG7KJmjROQKI0AXY/Kd9+E5FNADiXRHfxbNK5wCTKe4V
SU3r36gTniFPB8Zyj++dERdiW2hxH6kY3WtH2yYk1HMkmVLLEcgNKvhfdRiZlB4f
DLFCb/FuOVgYaKhHV8SK66yoK+0M/BoEY5oafQIDAQABAoIBAA45Tz4J+G/8Qpgb
KwX93E9adGcorFIkhOwyXKulG6Jl45oAhu7W+zXLueSH6iGNa9XpqwHAaIbYOA61
xihatKDD2xj9hraX9bh4aOq9koldhWPGz0QlcE2JdpKrplRvz3KUSsn3XPJR73gB
d1oq9y3Kg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F
-----END RSA PRIVATE KEY-----

tianxia2s | 园豆:170 (初学一级) | 2018-12-25 14:14
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册