首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装前: CodeDeploy代理无法接收生命周期事件。检查CodeDeploy代理在主机上的日志,并确保该代理是

安装前: CodeDeploy代理无法接收生命周期事件。检查CodeDeploy代理在主机上的日志,并确保该代理是
EN

Stack Overflow用户
提问于 2022-09-27 00:08:58
回答 1查看 1.3K关注 0票数 1

我已经设置了一个管道,但是在部署过程中会出现以下错误:

代码语言:javascript
复制
before install CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.

代码代理正在运行,但我不知道问题是什么。我检查了代码部署日志:

代码语言:javascript
复制
[ec2-user@ip-172-31-255-11 ~]$ sudo cat /var/log/aws/codedeploy-agent/codedeploy-agent.log
2022-09-27 00:00:02 INFO  [codedeploy-agent(3694)]: [Aws::CodeDeployCommand::Client 200 45.14352 0 retries] poll_host_command(host_identifier:"arn:aws:ec2:us-east-1:632547665100:instance/i-01d3b4303d7c9c948")  

2022-09-27 00:00:03 INFO  [codedeploy-agent(3694)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.4.0-2218_rpm.
2022-09-27 00:00:03 INFO  [codedeploy-agent(3694)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.4.0-2218_rpm.
EN

回答 1

Stack Overflow用户

发布于 2022-10-09 20:07:26

今天也不幸遇到了这个问题。

请使用本指南并查看计算平台实例的CodeDeploy代理日志(可能是EC2)。

在我的例子中,我没有将AppSpec文件添加到项目中。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73861102

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档