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

EC2 plugin will launch more instances than cap allows if enough jobs are queued up while no instances are active

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • ec2-plugin
    • None
    • EC2 plugin 1.8

    Description

      I have an instance cap of 3 set. If I have no instances currently running and I queue up 8 jobs that are tied to one AMI, more than three instances will be started. I believe this is because the instance cap is checked against the number of instances currently running from EC2 and then launches the instance. I'd think that, rather than just checking against the EC2 running instance count, we should be also including the number of instances we've started launching. That said, I'm not entirely sure how we'd go about doing that.

      Attachments

        Activity

          People

            francisu Francis Upton
            abayer Andrew Bayer
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: