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

    XMLWordPrintable

Details

    • ssh-slaves-1.30.1

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            phreakadelle Stephan Watermeyer added a comment - - edited

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

            phreakadelle Stephan Watermeyer added a comment - - edited Same Issue here. I can confirm that with version 1.29.4 its working fine.
            pjdarton 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 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...

            phreakadelle 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...
            ifernandezcalvo 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 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.

            People

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

              Dates

                Created:
                Updated:
                Resolved: