Failed to deploy application, new alive healthy instance declared dead

0

Since two days, I cannot deploy a new beanstalk application anymore.

The error messages on the event page are always the same:

  1. Failed to deploy application.

  2. Cannot complete command execution on the following instances as they are no longer running: e.g i-0bf4a8XXX.

  3. Command execution completed on all instances. Summary: Successful: 0, Died: 1.

  4. Deployment failed. Terminating new instances and temporary Auto Scaling group.

However, at 1.-3. i-0bf4a8XXX is up and running just fine. It serves requests. I can log in. I fail to detect any anomalies.

Ironically, at 3. and 4. the health dashboard complains about the incorrect application version being found:

Incorrect application version found on 1 out of 3 instances. Expected version "XZY" (deployment XXX). The incorrect version being the application version I actually do want to deploy.

I would be grateful for any pointers or ideas I am missing to resolve this problem.

Thanks.

Removed autoformatting Edited by: msmart2 on Jan 8, 2020 2:34 AM

Grammar. Edited by: msmart2 on Jan 8, 2020 2:35 AM

msmart2
gefragt vor 4 Jahren1365 Aufrufe
2 Antworten
0

The issue disappeared. I can deploy again (actually the same code that previously failed). Possibly, an intermittent issue.. Thanks.

msmart2
beantwortet vor 4 Jahren
0

Hello,

It seems very unlikely for such an issue to occur, beanstalk should be aware of the instance running in the backend and based on the healthcheck performed, it will set the instance as healthy or unhealthy.

As of now, you mentioned that the deployment is working fine without any issue. If you face the issue again, please DM me the environment id and account id. I shall further look into it.

AWS
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen