aws / aws/aws-codedeploy-agent
InstanceAgent::LinuxUtil: Error deleting directories: 127
- 主要言語
- Rust
- スター
- 337
- フォーク
- 195
- 平均マージ
- 10時間 54分
- マージ済み PR(30日)
- 4
説明
ubuntu@ip-172-31-16-190:~$ cat /opt/codedeploy-agent/.version
agent_version: OFFICIAL_1.3.2-1902_deb
CodeDeploy agent is up and running but once we try to execute the pipeline we are getting ERROR
"Error code
UnknownError
Script name
Message
Error deleting directories: 127"
Logs
```
2021-06-03 08:50:53 ERROR [codedeploy-agent(29337)]: InstanceAgent::LinuxUtil: Error deleting directories: 127
2021-06-03 08:50:53 DEBUG [codedeploy-agent(29337)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Calling PutHostCommandComplete: "Code Error"
2021-06-03 08:50:53 INFO [codedeploy-agent(29337)]: Version file found in /opt/codedeploy-agent/.version with agent version OFFICIAL_1.3.2-1902_deb.
2021-06-03 08:50:53 INFO [codedeploy-agent(29337)]: [Aws::CodeDeployCommand::Client 200 0.049097 0 retries] put_host_command_complete(command_status:"Failed",diagnostics:{format:"JSON",payload:"{\"error_code\":5,\"script_name\":\"\",\"message\":\"Error deleting directories: 127\",\"log\":\"\"}"},host_command_identifier:"X==")
```
Its not related to IAM Roles or Policies as same role works for other pipelines so we have double-checked it and problem is not related to IAM stuff.
コントリビューションガイド
調査の方向性
まず、CodeDeploy agent バージョン OFFICIAL_1.3.2-1902_deb を使用して Ubuntu 上で報告されたパイプラインの失敗を再現し、次にログメッセージからディレクトリクリーンアップのパスをたどって exit status 127 を調査します。デプロイメントがディレクトリ削除エラーなしで完了し、その失敗がリグレッションチェックでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, ubuntu
- 領域
- cloud, devops
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100