windows-10 - 无法在 Windows 10 上运行 codedeployagent
问题描述
我正在关注此说明:https : //docs.aws.amazon.com/codedeploy/latest/userguide/register-on-premises-instance-iam-user-arn.html 但是无法在 Windows 10 机器上运行 AWS CodeDeployAgent。
日志文件:
2019-11-23T20:28:51 INFO [codedeploy-agent(2988)]: Version file found in C:/ProgramData/Amazon/CodeDeploy/.version with agent version OFFICIAL_1.0.1.1597_msi.
2019-11-23T20:28:51 ERROR [codedeploy-agent(2988)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Missing credentials - please check if this instance was started with an IAM instance profile
2019-11-23T20:28:51 DEBUG [codedeploy-agent(2988)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Sleeping 89 seconds.
2019-11-23T20:30:03 INFO [codedeploy-agent(2988)]: CodeDeploy Instance Agent Service: stopping the agent
2019-11-23T20:30:20 INFO [codedeploy-agent(2988)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Gracefully shutting down agent child threads now, will wait up to 7200 seconds
2019-11-23T20:30:20 INFO [codedeploy-agent(2988)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: All agent child threads have been shut down
2019-11-23T20:30:20 INFO [codedeploy-agent(2988)]: CodeDeploy Instance Agent Service: command execution threads shutdown, agent exiting now
请问有什么想法吗?
解决方案
CodeDeploy 代理未在 Windows 10 上针对 EC2 或 OnPrem 安装进行测试。请参阅此表以获取支持的操作系统列表:
推荐阅读
- android - 没有子级的 ExpandableListView 抛出 indexOutOfBoundsException
- java - 为什么这在纸上有效,但逻辑在代码上无效
- mips - MIPS 关于在添加两个整数时使用 ($zero) 的问题
- php - 如何以编程方式计算直线和平面之间的交点?
- python - 不使用 sort() 按字母顺序对单词列表进行排序
- javascript - Jquery如何将类附加到生成的数组数字?
- tensorflow - 使用 tensorflow + opencv 引发 e.ag_error_metadata.to_exception(e)
- javascript - React 路由器更改 url 但不更改组件 [已解决]
- mongoose - MongoDB Atlas 按引用的文档字段搜索词搜索
- php - Laravel 7 - 由于登录尝试失败而重定向回来后如何在登录表单中显示旧输入?