Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Installation failed. Failed to authenticate.

avatar
Frequent Visitor

Hi I am trying to install cdh and its associated packages in my centos 7 machine. when I was installing the

cloudera manager I got the errorInstallation failed. Failed to authenticate.. when i searched the community I can see that its due to ssh misconfiguration. When I tried to run ssh@localhost I have no problems .Please help me how to proceed further.

 

Please find the log below

 

2016-05-11 03:00:00,037 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.service.ServiceHandlerRegistry: Executing command GlobalPoolsRefresh BasicCmdArgs{scheduleId=1, scheduledTime=2016-05-11T07:00:00.000Z}.
2016-05-11 03:00:00,038 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.scheduler.CommandDispatcherJob: Skipping scheduled command 'GlobalPoolsRefresh' since it is a noop.
2016-05-11 03:05:27,534 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Reaped total of 0 deleted commands
2016-05-11 03:05:27,535 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Found no commands older than 2014-05-12T07:05:27.534Z to reap.
2016-05-11 03:05:27,536 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Wizard is active, not reaping scanners or configurators
2016-05-11 03:12:21,391 INFO 416732421@scm-web-63:com.cloudera.server.cmf.node.NodeConfiguratorService: Creating request with id 27
2016-05-11 03:12:21,392 INFO 416732421@scm-web-63:com.cloudera.server.cmf.node.NodeConfiguratorService: Adding password-based configurator for localhost
2016-05-11 03:12:21,392 INFO 416732421@scm-web-63:com.cloudera.server.cmf.node.NodeConfiguratorService: Submitted configurator for localhost with id 0
2016-05-11 03:12:21,392 INFO NodeConfiguratorThread-27-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: localhost: Transitioning from INIT (PT0S) to CONNECT
2016-05-11 03:12:21,392 INFO NodeConfiguratorThread-27-0:net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0_14_0
2016-05-11 03:12:21,402 INFO NodeConfiguratorThread-27-0:net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_6.6.1
2016-05-11 03:12:21,460 INFO NodeConfiguratorThread-27-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: localhost: Transitioning from CONNECT (PT0.068S) to AUTHENTICATE
2016-05-11 03:12:21,501 WARN NodeConfiguratorThread-27-0:com.cloudera.server.cmf.node.NodeConfigurator: Could not authenticate to localhost
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:232)
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:208)
at com.cloudera.server.cmf.node.NodeConfigurator.connect(NodeConfigurator.java:341)
at com.cloudera.server.cmf.node.NodeConfigurator.configure(NodeConfigurator.java:889)
at com.cloudera.server.cmf.node.NodeConfigurator.run(NodeConfigurator.java:935)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2016-05-11 03:12:21,501 INFO NodeConfiguratorThread-27-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: localhost: Setting AUTHENTICATE as failed and done state
2016-05-11 03:12:21,501 INFO NodeConfiguratorThread-27-0:net.schmizz.sshj.transport.TransportImpl: Disconnected - BY_APPLICATION
2016-05-11 03:15:27,546 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Reaped total of 0 deleted commands
2016-05-11 03:15:27,547 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Found no commands older than 2014-05-12T07:15:27.546Z to reap.
2016-05-11 03:15:27,548 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Wizard is active, not reaping scanners or configurators

 

Thanks in advance !!

1 REPLY 1

avatar
Expert Contributor

We need more information on which step is failing. i am assuming that the agents are failing during the Cluster install wizard. If this is the case you will need to follow our requirements docs:

"One of the following, configured during initial installation of Cloudera Manager:

  • Direct access to root user using the root password.
  • Direct access to root user using a SSH key file.
  • Passwordless sudo access for a specific user. This is the same requirement as the installation of CDH components on individual hosts, which is a requirement of the UNIX system in general.

You cannot use another system (such as PowerBroker) that provides root/sudo privileges."

 

http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_permissions.html#xd_583c10bfdbd...