[
https://issues.apache.org/jira/browse/JCLOUDS-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379555#comment-14379555
]
fabio martelli edited comment on JCLOUDS-849 at 3/25/15 9:33 AM:
-----------------------------------------------------------------
Hi, this issue seems to be fixed.
Currently we are facing RANDOM failures during SSH connections. Do you have any
tips for me? See the exception stacktrace below.
Thank you in advance.
org.jclouds.rest.AuthorizationException:
(jclouds:pw[cdfb4472683ad9b4f7e159935dbc439a]@23.101.179.63:22)
(jclouds:pw[cdfb4472683ad9b4f7e159935dbc439a]@23.101.179.63:22) error acquiring
{hostAndPort=23.101.179.63:22, loginUser=jclouds, ssh=null,
connectTimeout=60000, sessionTimeout=60000} (not retryable): Exhausted
available authentication methods
at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:384)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:214)
at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:224)
at
org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:74)
at
org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:63)
at
org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:38)
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: 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:161)
at
org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:49)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:194)
... 8 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)
... 16 more
was (Author: fmartelli):
Hi, this issue seems to be fixed.
Currently we are facing a RANDOM failures during SSH connections. Do you have
any tips for me? See the exception stacktrace below.
Thank you in advance.
org.jclouds.rest.AuthorizationException:
(jclouds:pw[cdfb4472683ad9b4f7e159935dbc439a]@23.101.179.63:22)
(jclouds:pw[cdfb4472683ad9b4f7e159935dbc439a]@23.101.179.63:22) error acquiring
{hostAndPort=23.101.179.63:22, loginUser=jclouds, ssh=null,
connectTimeout=60000, sessionTimeout=60000} (not retryable): Exhausted
available authentication methods
at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:384)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:214)
at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:224)
at
org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:74)
at
org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:63)
at
org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:38)
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: 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:161)
at
org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:49)
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:194)
... 8 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)
... 16 more
> Add the live test that extends the BaseComputeServiceLiveTest
> -------------------------------------------------------------
>
> Key: JCLOUDS-849
> URL: https://issues.apache.org/jira/browse/JCLOUDS-849
> Project: jclouds
> Issue Type: Sub-task
> Components: jclouds-compute, jclouds-labs
> Reporter: Ignasi Barrera
> Assignee: fabio martelli
> Labels: azure
> Fix For: 2.0.0
>
>
> The BaseComputeServiceLiveTest provides the contract of the ComputeService
> abstraction. All compute providers must have a test that extends the base one
> with all live tests passing.
> An example implemention can be the DigitalOcean one:
> https://github.com/jclouds/jclouds-labs/blob/master/digitalocean/src/main/java/org/jclouds/digitalocean/compute/strategy/DigitalOceanComputeServiceAdapter.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)