Code Monkey home page Code Monkey logo

Comments (8)

fabfuel avatar fabfuel commented on May 18, 2024

Hi @jamesdixon, did you read this section already?
https://github.com/fabfuel/ecs-deploy#troubleshooting

Best
Fabian

from ecs-deploy.

fabfuel avatar fabfuel commented on May 18, 2024

Did you edit the output? Which version of eco-deploy do you use?

from ecs-deploy.

jamesdixon avatar jamesdixon commented on May 18, 2024

@fabfuel we're running the latest version of ecs-deploy. I'm not sure what you mean by "did you edit the output?" Can you explain?

Yes, we're already using a timeout -- this is failing very quickly after the "Deploying new task definition" message appears.

Thank you!

from ecs-deploy.

fabfuel avatar fabfuel commented on May 18, 2024

Hi,

I meant, if this is the full output of the script or if you edited or removed something – because it looks unfamiliar.

Do you have any Events during the deployment in the Events tab of the service in the AWS ECS console?

Best
Fabian

from ecs-deploy.

fabfuel avatar fabfuel commented on May 18, 2024

"Very quickly" can't be, because every dot after "Deploying new task definition" means, it was waiting for one second. This took at least 26 seconds until it failed.

But what I'm missing is the error itself. Do you see this error message?

Deployment failed due to timeout. Please see: https://github.com/fabfuel/ecs-deploy#timeout

What command do you use for triggering the deployment?

from ecs-deploy.

gadomsky avatar gadomsky commented on May 18, 2024

@fabfuel
We have similar situation, but in our case increasing timeout won't help, because we deploy image which is expected to fail (we have implemented health-checks in our containers - so the new task definition should fail end exit with non-zero status, and the previous one should live all the time). At this point, after failure new task definition should be deregistered - but is not.
What do you thing about new flag (eg. deregister-new-task-on-failure)?
We could provide PR with such feature.

from ecs-deploy.

jamesdixon avatar jamesdixon commented on May 18, 2024

@fabfuel thanks for the tip on the "Events" section. Missed that!

Turns out the instance didn't have enough memory given the memory limit on the container.

Sorry for the false alarm!

from ecs-deploy.

fabfuel avatar fabfuel commented on May 18, 2024

Hi @gadomsky, have you tried the --rollback option?

from ecs-deploy.

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.