aws / aws/aws-codedeploy-agent
Error on credential file load for local codedeploy agent
- 主要言語
- Rust
- スター
- 337
- フォーク
- 195
- 平均マージ
- 10時間 54分
- マージ済み PR(30日)
- 4
説明
Error on credential file load for local codedeploy agent
2023-03-10 16:54:50 ERROR [codedeploy-agent(18416)]: booting child: error during start or run: RuntimeError - Failed to load credentials from path credentials - /opt/codedeploy-agent/lib/instance_agent/file_credentials.rb:18:in `refresh'
/opt/codedeploy-agent/vendor/gems/aws-sdk-core-3.121.1/lib/aws-sdk-core/refreshing_credentials.rb:22:in `initialize'
/opt/codedeploy-agent/lib/instance_agent/file_credentials.rb:11:in `initialize'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/onpremise_config.rb:38:in `new'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/onpremise_config.rb:38:in `configure'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/command_poller.rb:37:in `initialize'
/opt/codedeploy-agent/lib/instance_agent/agent/base.rb:10:in `new'
/opt/codedeploy-agent/lib/instance_agent/agent/base.rb:10:in `runner'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:32:in `block in prepare_run'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:78:in `with_error_handling'
/opt/codedeploy-agent/lib/instance_agent/runner/child.rb:31:in `prepare_run'
/opt/codedeploy-agent/vendor/gems/process_manager-0.0.13/lib/process_manager/child.rb:64:in `block in prepare_run_with_error_handling'
Debian GNU/Linus 9.13
コントリビューションガイド
調査の方向性
lib/instance_agent/file_credentials.rb の refresh から開始し、onpremise_config.rb:38 からどのように初期化されるかを追跡します。Debian GNU/Linux 9.13 で credential-loading error を再現し、観測されたパスと失敗を、想定されるローカルの CodeDeploy credential configuration と比較します。提供された stack trace を使用して、command poller startup path を通じた動作を確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, ruby
- 領域
- devops
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100