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

Can't specify number of ssh connection retries

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • Jenkins: 1.653
      Amazon EC2 plugin: 1.31

      JENKINS-30284 fixed an issue where the EC2 plugin was too aggressive when trying to contact a slave that just got created. So in theory the version I'm running should try 20 times by default before aborting.
      However, it still aborts after 5 quick attempts like the initial comment on JENKINS-30284.
      I tried to run jenkins with -Djenkins.ec2.bootstrapAuthTries=20 but it seems like it's getting ignored.
      If I then launch the slave agent manually everything works just fine.
      Am I doing something wrong?

          [JENKINS-33650] Can't specify number of ssh connection retries

          Francis Upton added a comment -

          Need to add some logging to show if these properties are being picked up.

          Not sure of the exact means used to set the properties for the slave.

          Francis Upton added a comment - Need to add some logging to show if these properties are being picked up. Not sure of the exact means used to set the properties for the slave.

            francisu Francis Upton
            omame Daniele Valeriani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: