Support Questions

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

Getting installation error Exhausted available authentication methods on Cloudera Manager 5.4.5.

avatar
Explorer
2015-08-23 03:47:13,250 ERROR NodeConfiguratorThread-6-5:net.schmizz.concurrent.Promise: <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password auth failed
2015-08-23 03:47:13,250 INFO NodeConfiguratorThread-6-5:net.schmizz.sshj.userauth.UserAuthImpl: `password` auth failed
2015-08-23 03:47:13,250 WARN NodeConfiguratorThread-6-5:com.cloudera.server.cmf.node.NodeConfigurator: Could not authenticate to localhost
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114)
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:205)
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:190)
	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)
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
	... 10 more
2015-08-23 03:47:13,250 INFO NodeConfiguratorThread-6-5:com.cloudera.server.cmf.node.NodeConfiguratorProgress: localhost: Setting AUTHENTICATE as failed and done state
1 ACCEPTED SOLUTION

avatar
Master Guru

If this solution did not work for you, what have you tried to do to fix the issue?

The " Exhausted available authentication methods" exception indicates that there is a misconfiguration on the host whereby the user specified cannot authenticate via SSH.

 

Try using SSH from the command line of another host and use the same user that you are entering in the installation wizard to attempt to authenicate to one of the nodes you are attempting to add to the cluster.

 

- if you are using "root" then ssh as "root" is disabled by default on some OSes... you might check that.

- if you are using a non-root user, then verify that sudo, you might need to configure your sudoers with something like "userid   ALL=(ALL)NOPASSWD:ALL"

View solution in original post

3 REPLIES 3

avatar
Master Guru

If this solution did not work for you, what have you tried to do to fix the issue?

The " Exhausted available authentication methods" exception indicates that there is a misconfiguration on the host whereby the user specified cannot authenticate via SSH.

 

Try using SSH from the command line of another host and use the same user that you are entering in the installation wizard to attempt to authenicate to one of the nodes you are attempting to add to the cluster.

 

- if you are using "root" then ssh as "root" is disabled by default on some OSes... you might check that.

- if you are using a non-root user, then verify that sudo, you might need to configure your sudoers with something like "userid   ALL=(ALL)NOPASSWD:ALL"

avatar
Explorer

Using ubuntu 14.04 LTS Heres a snap of my sudoers file

 

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

 

 

 

What changes must be made ?

avatar
Explorer

Thanks man changing the sudoer worked out !!