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

EC2 plugin floods AWS with API calls if it references a deleted AMI

    Details

    • Similar Issues:

      Description

      If an AMI referenced in a cloud is deleted but a reference to it is retained in the cloud config, following behavior is observed

      1. A build requesting the orphaned cloud's label will wait in the queue
      2. Jenkins will flood the associated amazon account with a sufficient number of API calls to trigger rate limiting on the account, effectively taking it out of service
      3. The frequency of API calls never backs off.

      This is a very dangerous bug, and can take down your jenkins server and every server on the same AWS account that requires activity on the AWS API. Some sort of exponential backoff would be a far better behavior.

        Attachments

          Activity

          Hide
          luisfpollo Luis Pollo added a comment - - edited

          If it helps anyone that lands here, I wanted to report that I ran across a very similar issue with the plugin, however upon further investigation determined that, in my case, all AMIs referenced in cloud profiles were still valid, but the plugin seems to be recurrently and indefinitely checking for EC2 instances that had either been stopped or deleted, and that had previously been configured as nodes in Jenkins.

          Show
          luisfpollo Luis Pollo added a comment - - edited If it helps anyone that lands here, I wanted to report that I ran across a very similar issue with the plugin, however upon further investigation determined that, in my case, all AMIs referenced in cloud profiles were still valid, but the plugin seems to be recurrently and indefinitely checking for EC2 instances that had either been stopped or deleted, and that had previously been configured as nodes in Jenkins.

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              csanders Carter Sanders
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: