aws / aws/aws-codedeploy-agent

CodeDeploy 'Downloading failed bundle.zip from s3 bucket' at "DownloadBundle" step

Aperta
#378 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
337
Fork
195
Merge medio
10h 54m
PR unite (30g)
4

Descrizione

version : OFFICIAL_1.6.0-49
ec2 : amazon linux , t2micro

Sometimes not 100% downloading file from s3.

------------- Log when error
**Downloading artifact** bundle from bucket 'cicd-github-s3' and key 'abc.zip', version '', etag ''
2023-09-14T13:50:48 INFO [codedeploy-agent(2084)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.6.0-49_rpm.
2023-09-14T13:56:54 INFO [codedeploy-agent(2084)]: [Aws::CodeDeployCommand::Client 200 357.607912 0 retries] poll_host_command(host_identifier:"arn:aws:ec2:ap-northeast-2:920425076442:instance/i-0aacf45a0be4d5739")
2023-09-14T13:57:10 INFO [codedeploy-agent(2084)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.6.0-49_rpm.
2023-09-14T14:10:42 INFO [codedeploy-agent(2077)]: master 2077: Spawned child 1/1
2023-09-14T14:10:43 INFO [codedeploy-agent(2077)]: Started master 2077 with 1 children
2023-09-14T14:10:45 INFO [codedeploy-agent(2082)]: On Premises config file does not exist or not readable
2023-09-14T14:10:45 INFO [codedeploy-agent(2082)]: CodeDeploy endpoint: https://codedeploy-commands.ap-northeast-2.amazonaws.com
2023-09-14T14:10:45 INFO [codedeploy-agent(2082)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandExecutor: Archives to retain is: 5}
2023-09-14T14:10:45 INFO [codedeploy-agent(2082)]: CodeDeploy endpoint: https://codedeploy-commands.ap-northeast-2.amazonaws.com
2023-09-14T14:10:46 INFO [codedeploy-agent(2082)]: CodeDeploy endpoint: https://codedeploy-commands.ap-northeast-2.amazonaws.com
2023-09-14T14:10:46 WARN [codedeploy-agent(2082)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Deployment tracking file found: /opt/codedeploy-agent/deployment-root/ongoing-deployment. The agent likely restarted while running a customer-supplied script. Failing the lifecycle event.
----------

Below is not problem log
-----------
2023-09-14T14:17:08 INFO [codedeploy-agent(2082)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandExecutor: **Downloading artifact** bundle from bucket 'cicd-github-s3' and key 'abc.zip', version '', etag ''
2023-09-14T14:17:08 INFO [codedeploy-agent(2082)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.6.0-49_rpm.
2023-09-14T14:17:14 INFO [codedeploy-agent(2082)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandExecutor: **Download complete** from bucket cicd-github-s3 and key abc.zip
----------

Why not complete downloading from s3 bundle file.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con il passaggio DownloadBundle e confronta il log dell’errore, incluso l’avviso sul riavvio del deployment, con il log riuscito „Download complete“ per bundle.zip. Determina cosa impedisce il completamento del download dell’artefatto S3 e documenta una condizione di errore riproducibile o un risultato diagnostico.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws
Ambito
devops
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.