aws / aws/aws-codedeploy-agent
CodeDeploy 'Downloading failed bundle.zip from s3 bucket' at "DownloadBundle" step
- Lenguaje dominante
- Rust
- Estrellas
- 337
- Forks
- 196
- Merge medio
- 10 h 54 min
- PR fusionados (30 d)
- 4
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza con el paso DownloadBundle y compara el registro del fallo, incluida la advertencia sobre el reinicio del deployment, con el registro correcto „Download complete“ de bundle.zip. Determina qué impide que se complete la descarga del artefacto desde S3 y documenta una condición de fallo reproducible o un resultado de diagnóstico.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws
- Área
- devops
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100