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
posta 4 anni fa1365 visualizzazioni
2 Risposte
0

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

msmart2
con risposta 4 anni fa
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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande