Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65861

SSH Build Agents 1.32.0 Master cannot connect to Agents anymore

    XMLWordPrintable

Details

    Description

      I've updated our Jenkins environment and since the update our dynamic build agents do not start anymore.

      I can see in the Agent overview that the containers are spawned but they still have the red "x".
      The containers are running and manually i am able to login from the Master running on unix

      ssh root@172.18.24.195 -p 52590 -l jenkins
      

      Error

      ERROR: class io.jenkins.docker.connector.DockerComputerSSHConnector$DockerSSHLauncher is missing its descriptor
      java.lang.AssertionError: class io.jenkins.docker.connector.DockerComputerSSHConnector$DockerSSHLauncher is missing its descriptor
      	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1598)
      	at hudson.model.AbstractDescribableImpl.getDescriptor(AbstractDescribableImpl.java:42)
      	at hudson.plugins.sshslaves.SSHLauncher.checkJavaIsInPath(SSHLauncher.java:529)
      	at hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:111)
      	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:449)
      	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:421)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      Workaround:

      As i have faced a similar issue already 2019 i have simply downgraded this plugin to 1.31.5 and it seems to work fine now.

      Links

      Attachments

        Activity

          I have the same problems with the new version, downgrade to 1.31.5 helps

          afischer Alexander Fischer added a comment - I have the same problems with the new version, downgrade to 1.31.5 helps

          There is a version that implements the Descriptor https://github.com/jenkinsci/docker-plugin/issues/834#issuecomment-872780082 this should fix the issue.

          when https://github.com/jenkinsci/docker-plugin/pull/835 PR is merged and released the issue would be fixed.

          ifernandezcalvo Ivan Fernandez Calvo added a comment - There is a version that implements the Descriptor https://github.com/jenkinsci/docker-plugin/issues/834#issuecomment-872780082 this should fix the issue. when https://github.com/jenkinsci/docker-plugin/pull/835 PR is merged and released the issue would be fixed.
          pjdarton pjdarton added a comment -

          The fix PR mentioned above has since been merged and released in version 1.2.3.

          pjdarton pjdarton added a comment - The fix PR mentioned above has since been merged and released in version 1.2.3.

          People

            ifernandezcalvo Ivan Fernandez Calvo
            phreakadelle Stephan Watermeyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: