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

docker-plugin-1.1.6 docker cloud does not work with >=ssh-slaves-plugin-1.30.0

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • Regression: SSH Slaves 1.30.0
      Good:: SSH Slaves 1.29.4
      Docker plugin: 1.1.6
    • ssh-slaves-1.30.1

      When using docker plugin

      With docker cloud

      With Docker agent template of connect method "Connect with SSH" and with "Inject SSH key".

       

      Everything is working nicely with SSH Slaves 1.29.4 and breaks in SSH Slaves 1.30.0.

       

      The docker slave is running but the jenkins is not succeeding in opening the SSH channel.

       

          [JENKINS-58340] docker-plugin-1.1.6 docker cloud does not work with >=ssh-slaves-plugin-1.30.0

          Stephan Watermeyer added a comment - - edited

          Same Issue here. I can confirm that with version 1.29.4 its working fine.

          Stephan Watermeyer added a comment - - edited Same Issue here. I can confirm that with version 1.29.4 its working fine.

          pjdarton added a comment - - edited

          Hmm, this sounds just like JENKINS-57967, except affecting the docker-plugin instead of the vSphere-plugin.

          If that's the case then the fix is likely to be the same too.

           

          Can you check your Jenkins logs and see if you're getting a java.lang.NoSuchMethodError: hudson.plugins.sshslaves.SSHLauncher exception in the log (i.e. as reported in JENKINS-57967)?

          pjdarton added a comment - - edited Hmm, this sounds just like JENKINS-57967 , except affecting the docker-plugin instead of the vSphere-plugin. If that's the case then the fix is likely to be the same too.   Can you check your Jenkins logs and see if you're getting a java.lang.NoSuchMethodError: hudson.plugins.sshslaves.SSHLauncher exception in the log (i.e. as reported in JENKINS-57967 )?

          Hey ndeloof, just for your information. Peter and myself have discussed the issue on Github and Peter has already a good idea where it problem is. By chance you want to have a look at our discussion?

          Maybe this is a quick fix for you. Otherwise...

          Stephan Watermeyer added a comment - Hey ndeloof , just for your information. Peter and myself have discussed the issue on Github and Peter has already a good idea where it problem is. By chance you want to have a look at our discussion? https://github.com/jenkinsci/docker-plugin/issues/740 Maybe this is a quick fix for you. Otherwise...

          Ivan Fernandez Calvo added a comment - - edited

          I've changed the implementation of checkconfig to work with SSHLauncher classes that do not have the correct type of descriptor. I'll release a new version this weekend.

          Ivan Fernandez Calvo added a comment - - edited I've changed the implementation of checkconfig to work with SSHLauncher classes that do not have the correct type of descriptor. I'll release a new version this weekend.

            ifernandezcalvo Ivan Fernandez Calvo
            alonbl Alon Bar-Lev
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: