whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nareshparimi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WHIRR-378) Auth fail when creating a cluster from an EC2 instance
Date Wed, 28 Aug 2013 11:36:52 GMT

    [ https://issues.apache.org/jira/browse/WHIRR-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752311#comment-13752311
] 

nareshparimi edited comment on WHIRR-378 at 8/28/13 11:36 AM:
--------------------------------------------------------------

I have solved this issue:--- 

      I have stuck with this issue and googled a lot for hints  ,But finally i have solved
this issue myself :). Hope this post is useful.

Root cause for this problem : The non existence of the user, we are trying to runscripts on
VM side. 

Solution: Make sure the user we are using is existing and check whether we are to do SSH with
that   user on VM machine.              
 
ERROR LOG:

 initializing {id=openstack-nova, name=OpenStack Nova Diablo+ API, views=[org.jclouds.compute.ComputeServiceContext],
endpointName=KeyStone base url ending in /v2.0/, identityName=${tenantName}:${userName} or
${userName}, if your keystone supports a default tenant, credentialName=Optional.of(${password}),
documentation=http://api.openstack.org/, api=interface org.jclouds.openstack.nova.v2_0.NovaApi,
asyncApi=interface org.jclouds.openstack.nova.v2_0.NovaAsyncApi}
-  >> searching params({osFamily=ubuntu, osVersion=1[012].[01][04], os64Bit=true})
-  <<   matched image(SYD/23b564c9-c3e6-49f9-bc68-86c7a9ab5018) hardware(SYD/2) location(SYD)
-  >> blocking on sockets [119.9.40.45:22, 10.176.7.31:22] for 600000 MILLISECONDS
-  << socket 119.9.40.45:22 opened
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 1 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 2 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 3 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 4 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 5 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 6 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:205) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:190) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220) ~[sshj-0.8.1.jar:na]
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140) ~[jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40) ~[jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193) [jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223) [jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
	at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81) ~[sshj-0.8.1.jar:na]
	... 17 common frames omitted
<< problem applying options to node(SYD/debb4935-a3c4-4e9f-ba49-bc5576dd6545): 
org.jclouds.rest.AuthorizationException: (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
(test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
	at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:382)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:203)
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	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:724)
Caused by: 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 net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193)
	... 9 more
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
	... 17 more
error installing apt,apache2,test_cb,networking_basic on group testnode128: error runScript
on filtered nodes options({loginUser=test12, loginPasswordPresent=true, loginPrivateKeyPresent=true,
runAsRoot=false, wrapInInitScript=false})
Execution failures:

0 error[s]
Node failures:

1) AuthorizationException on node SYD/debb4935-a3c4-4e9f-ba49-bc5576dd6545:
org.jclouds.rest.AuthorizationException: (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
(test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
	at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:382)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:203)
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	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:724)
Caused by: 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 net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193)
	... 9 more
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
	... 17 more

                
      was (Author: nareshparimi):
    I haved solved this issue:---

      I have stuck with this issue and googled a lot for hints  ,But finally i have solved
this issue.

Root cause for this problem : The non existence of the user, we are trying to runscripts on
VM side. 

Solution: Make sure the user we are using is existing and check whether we are to do SSH with
that   user on VM machine.              
 
ERROR LOG:

 initializing {id=openstack-nova, name=OpenStack Nova Diablo+ API, views=[org.jclouds.compute.ComputeServiceContext],
endpointName=KeyStone base url ending in /v2.0/, identityName=${tenantName}:${userName} or
${userName}, if your keystone supports a default tenant, credentialName=Optional.of(${password}),
documentation=http://api.openstack.org/, api=interface org.jclouds.openstack.nova.v2_0.NovaApi,
asyncApi=interface org.jclouds.openstack.nova.v2_0.NovaAsyncApi}
-  >> searching params({osFamily=ubuntu, osVersion=1[012].[01][04], os64Bit=true})
-  <<   matched image(SYD/23b564c9-c3e6-49f9-bc68-86c7a9ab5018) hardware(SYD/2) location(SYD)
-  >> blocking on sockets [119.9.40.45:22, 10.176.7.31:22] for 600000 MILLISECONDS
-  << socket 119.9.40.45:22 opened
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 1 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 2 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 3 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 4 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 5 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (attempt 6 of 7): Exhausted available authentication methods
-  <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password
auth failed
-  << (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:205) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.auth(SSHClient.java:190) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236) ~[sshj-0.8.1.jar:na]
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220) ~[sshj-0.8.1.jar:na]
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140) ~[jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40) ~[jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193) [jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223) [jclouds-sshj-1.6.0.jar:1.6.0]
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
~[jclouds-compute-1.6.0.jar:1.6.0]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
	at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81) ~[sshj-0.8.1.jar:na]
	... 17 common frames omitted
<< problem applying options to node(SYD/debb4935-a3c4-4e9f-ba49-bc5576dd6545): 
org.jclouds.rest.AuthorizationException: (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
(test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
	at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:382)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:203)
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	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:724)
Caused by: 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 net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193)
	... 9 more
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
	... 17 more
error installing apt,apache2,test_cb,networking_basic on group testnode128: error runScript
on filtered nodes options({loginUser=test12, loginPasswordPresent=true, loginPrivateKeyPresent=true,
runAsRoot=false, wrapInInitScript=false})
Execution failures:

0 error[s]
Node failures:

1) AuthorizationException on node SYD/debb4935-a3c4-4e9f-ba49-bc5576dd6545:
org.jclouds.rest.AuthorizationException: (test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
(test12:rsa[fingerprint(03:4f:36:e0:8a:31:e0:7e:85:7a:7c:2b:c9:56:4c:be),sha1(d8:e5:e1:eb:00:af:0e:05:63:61:ee:44:56:4f:5e:96:26:34:3a:df)]@119.9.40.45:22)
error acquiring {hostAndPort=119.9.40.45:22, loginUser=test12, ssh=null, connectTimeout=60000,
sessionTimeout=60000} (out of retries - max 7): Exhausted available authentication methods
	at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:382)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:203)
	at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:223)
	at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:80)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
	at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	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:724)
Caused by: 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 net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:266)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:236)
	at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:220)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:140)
	at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:40)
	at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:193)
	... 9 more
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed
by server
	at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
	... 17 more

                  
> Auth fail when creating a cluster from an EC2 instance
> ------------------------------------------------------
>
>                 Key: WHIRR-378
>                 URL: https://issues.apache.org/jira/browse/WHIRR-378
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/hadoop
>    Affects Versions: 0.6.0
>            Reporter: Marc de Palol
>            Assignee: Adrian Cole
>            Priority: Critical
>             Fix For: 0.8.0
>
>         Attachments: run-test.sh, setup-whirr.sh
>
>
> There is a ssh auth problem when creating a hadoop cluster from an EC2 ubuntu instance.

> I've been using the same configuration file from an EC2 computer an a physical one, everything
works fine in the physical one, but I keep getting this error in EC2: 
> Running configuration script on nodes: [us-east-1/i-c7fde5a6, us-east-1/i-c9fde5a8, us-east-1/i-cbfde5aa]
> <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: publickey
auth failed
> <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: publickey
auth failed
> The user in the virtual machine is new and with valid .ssh keys.
> The hadoop config file is (omitting commented lines): 
> whirr.cluster-name=hadoop
> whirr.instance-templates=1 hadoop-namenode+hadoop-jobtracker,3 hadoop-datanode+hadoop-tasktracker
> whirr.provider=aws-ec2
> whirr.identity=****
> whirr.credential=****
> whirr.hardware-id=c1.xlarge
> whirr.image-id=us-east-1/ami-da0cf8b3
> whirr.location-id=us-east-1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message