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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • Jenkins 1.609.1
      Amazon EC2 plugin 1.28

      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.

            francisu Francis Upton
            csanders Carter Sanders
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: