-
Bug
-
Resolution: Unresolved
-
Major
-
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
- A build requesting the orphaned cloud's label will wait in the queue
- 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
- 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.
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.