Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thetakdev opened this issue Sep 14, 2023 · 1 comment

Comments

@thetakdev
Copy link

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.

@daniterrin
Copy link

daniterrin commented Oct 5, 2023

This is similar to what it is ocurring to me on issue #380

Any news yet?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants