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

EC2 plugin does not delete slaves that failed to start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.540
      EC2 Plugin 1.20
      Ubuntu 12.04 LTS
    • Similar Issues:

      Description

      When the EC2 plugin starts up slaves and the startup fails (either because the script fails or the EC2 instance never becomes accessible), Jenkins never deletes the slave, and the instance burns money until somebody manually shuts it down.

        Attachments

          Activity

          Hide
          jakozaur Jacek Migdal added a comment -

          Just for motivation there is a 100$ bounty for fixing that .

          Show
          jakozaur Jacek Migdal added a comment - Just for motivation there is a 100$ bounty for fixing that .
          Hide
          arazauci arazauci added a comment - - edited
          Show
          arazauci arazauci added a comment - - edited +1 $500 from me for anyone who fixes this annoying issue https://freedomsponsors.org/issue/412/ec2-plugin-does-not-delete-slaves-that-failed-to-start?alert=SPONSOR#sponsors
          Hide
          richid Rich Schumacher added a comment -

          I believe I have a fix for this issue. Here is the stacktrace I'm seeing in my logs: https://gist.github.com/richid/b071e889ebcb6b981a9a

          Pull request here: https://github.com/jenkinsci/ec2-plugin/pull/130

          Show
          richid Rich Schumacher added a comment - I believe I have a fix for this issue. Here is the stacktrace I'm seeing in my logs: https://gist.github.com/richid/b071e889ebcb6b981a9a Pull request here: https://github.com/jenkinsci/ec2-plugin/pull/130
          Hide
          francisu Francis Upton added a comment -

          Assuming Rich's fix (or similar fixed this). Please reopen if not the case.

          Show
          francisu Francis Upton added a comment - Assuming Rich's fix (or similar fixed this). Please reopen if not the case.

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              weirded Stefan Zier
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: