[ https://issues.apache.org/jira/browse/JCLOUDS-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ignasi Barrera resolved JCLOUDS-1058. ------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 > ComputeService cannot cancel tasks in ProfitBricks > -------------------------------------------------- > > Key: JCLOUDS-1058 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1058 > Project: jclouds > Issue Type: Bug > Components: jclouds-compute > Affects Versions: 1.9.2 > Reporter: Ignasi Barrera > Labels: profitbricks > Fix For: 2.0.0 > > > Attempting to cancel a task in ProfitBricks results in an > Authorization/Timeout exception. Details on how to reproduce and the > investigations that have been made can be found here: > https://github.com/jclouds/jclouds-labs/pull/224#issuecomment-165712742 > {code} > Exception in thread "main" org.jclouds.rest.AuthorizationException: > (root:pw[97db1846570837fce6ff62a408f1d26a]@00.00.00.00:22) > (root:pw[97db1846570837fce6ff62a408f1d26a]@00.00.00.00:22) error acquiring > {hostAndPort=00.00.00.00:22, loginUser=root, ssh=1533657934, > connectTimeout=60000, sessionTimeout=60000} (out of retries - max 7): > Exhausted available authentication methods > at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:395) > at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:205) > at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:225) > at > org.jclouds.compute.callables.SudoAwareInitManager.refreshAndRunAction(SudoAwareInitManager.java:74) > at > org.jclouds.compute.callables.BlockUntilInitScriptStatusIsZeroThenReturnOutput.interruptTask(BlockUntilInitScriptStatusIsZeroThenReturnOutput.java:159) > at > com.google.common.util.concurrent.AbstractFuture.cancel(AbstractFuture.java:136) > at > io.devcsrj.report.jclouds.RunScriptUsingBasicLogin.testWeCanCancelTask(RunScriptUsingBasicLogin.java:107) > at > io.devcsrj.report.jclouds.RunScriptUsingBasicLogin.main(RunScriptUsingBasicLogin.java:92) > Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available > authentication methods > at net.schmizz.sshj.SSHClient.auth(SSHClient.java:217) > at net.schmizz.sshj.SSHClient.auth(SSHClient.java:193) > at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:278) > at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:248) > at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:232) > at > org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:165) > at > org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:49) > at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:195) > ... 6 more > Caused by: net.schmizz.sshj.userauth.UserAuthException: Timeout expired > at > net.schmizz.sshj.userauth.UserAuthException$1.chain(UserAuthException.java:33) > at > net.schmizz.sshj.userauth.UserAuthException$1.chain(UserAuthException.java:26) > at net.schmizz.concurrent.Promise.retrieve(Promise.java:139) > at > net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:69) > at net.schmizz.sshj.SSHClient.auth(SSHClient.java:211) > ... 13 more > Caused by: java.util.concurrent.TimeoutException: Timeout expired > ... 16 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)