aws / aws/aws-codedeploy-agent

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

Offen
#378 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
337
Forks
195
Ø Merge
10 Std. 54 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit dem Schritt DownloadBundle und vergleiche das fehlschlagende Protokoll, einschließlich der Warnung zum Neustart des Deployments, mit dem erfolgreichen Protokoll „Download complete“ für bundle.zip. Ermittle, was den Abschluss des S3-Artefaktdownloads verhindert, und dokumentiere eine reproduzierbare Fehlerbedingung oder ein diagnostisches Ergebnis.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws
Bereich
devops
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.