CodeDeploy - DownloadBundle failing

0

With an existing auto-scaling group, and an existing CodeDeploy revision, we encounter quite a few DownloadBundle failures from CodeDeploy when a scale-out event occurs. What exactly is DownloadBundle doing? I would assume, based on the name, that it's pulling the zip file from "Revision location" (e.g - S3). According to the events log, the ApplicationStop event executed prior to DownloadBundle and that hook is defined in appspec.yml which is stored in the zip file ("Revision location") retrieved from S3 so I would assume the download from S3 has already happend.

posta 2 anni fa1564 visualizzazioni
1 Risposta
0

What exactly is DownloadBundle doing?

The AWS Official FAQs state the following [1]

[1] AWS CodeDeploy FAQs | Amazon Web Sevices
https://aws.amazon.com/codedeploy/faqs/?nc1=h_ls#:~:text=of%20a%20deployment.-,DownloadBundle,-During%20this%20deployment
----- excerpt -----
During this deployment lifecycle event, the agent copies the revision files to a temporary location on the instance. This deployment lifecycle event is reserved for the agent and cannot be used to run user scripts.
----- excerpt -----

I'm not sure of the specific error in your environment, but I found a similar GitHub Issue below. [2]

[2] CodeDeploy fails at "DownloadBundle" step - Issue #255 - aws/aws-codedeploy-agent
https://github.com/aws/aws-codedeploy-agent/issues/255

According to the GitHub Issue above, this can happen with certain CodeDeploy agent versions.

I hope this is helpful.

profile picture
mn87
con risposta 2 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