Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1058

ComputeService cannot cancel tasks in ProfitBricks

    XMLWordPrintableJSON

    Details

      Description

      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

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nacx Ignasi Barrera
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: