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
질문됨 4년 전1365회 조회
2개 답변
0

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

msmart2
답변함 4년 전
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
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠