Code Monkey home page Code Monkey logo

Comments (4)

keoren3 avatar keoren3 commented on July 18, 2024

If anyone encounters this, I was able to create a simple workaround.
I created a Python job that checks which agents are offline (Via Jenkins's API), and creates a list of EC2 Id's.
Then it sends a terminate command to AWS to terminate those instance ID's.
Once the instances are terminated the EC2 fleet is able to raise new ones, and doesn't get stuck with dead instances.

This jobs runs on a very small agent, every 5 minutes.

from ec2-fleet-plugin.

oneumyvakin avatar oneumyvakin commented on July 18, 2024

Looks like we also got into this issue.

from ec2-fleet-plugin.

pdk27 avatar pdk27 commented on July 18, 2024

@keoren3 @oneumyvakin Can you upgrade to the ec2-fleet-2.7.1 and update the issue with logs? The recent versions include some changes related to plugin initiated terminations and I am hoping the logs can help us troubleshoot your issue.

Here are the reasons why the plugin would terminate an instance today. If the terminated instance was idle and the plugin missed terminating it, then this particular issue is fixed. See related issue for explanation.

from ec2-fleet-plugin.

pdk27 avatar pdk27 commented on July 18, 2024

This issue might be fixed. Closing due to lack of recent activity. Please re-open if the issue still exists.

from ec2-fleet-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.