aws / aws/aws-codedeploy-agent

Error on credential file load for local codedeploy agent

Đang mở
#352 4 bình luận 4 reaction 0 người được giao Xem trên GitHub
needs triage
Ngôn ngữ chính
Rust
Star
337
Fork
195
Merge trung bình
10 giờ 54 phút
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu tại lib/instance_agent/file_credentials.rb ở refresh và theo dõi cách nó được khởi tạo từ onpremise_config.rb:38. Tái hiện lỗi tải thông tin xác thực trên Debian GNU/Linux 9.13, sau đó so sánh đường dẫn và lỗi quan sát được với cấu hình thông tin xác thực CodeDeploy cục bộ dự kiến. Sử dụng stack trace được cung cấp để xác minh hành vi thông qua đường dẫn khởi động của command poller.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, ruby
Lĩnh vực
devops
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.