Elastic agent status stuck in Pending - AmazonHttpClient Unable to execute HTTP request: connect timed out
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
問題
After creating a custom AMI, Bamboo is able to start the EC2 agent and from the AWS console it is identified as running however, it never progresses past the "Pending" state. The following log data is captured on the agent in bamboo-elastic-agent.out:
Syncing Elastic Bamboo Agent files...
2016-08-24 21:15:41,794 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-us-e1/5.12.2.1/7d847bfc46abc598ec795eacdb0ebf959084237678a2a0353b189525b42b108c/ to /opt/bamboo-elastic-agent
2016-08-24 21:15:51,039 INFO [main] [S3Synchroniser] Syncing s3://bamboo-agent-release-us-e1/5.12.2.1/7d847bfc46abc598ec795eacdb0ebf959084237678a2a0353b189525b42b108c/ to /opt/bamboo-elastic-agent
2016-08-24 21:15:51,039 INFO [main] [AmazonClients] Detecting bucket location for [bamboo-agent-release-us-e1]
2016-08-24 21:16:21,724 INFO [main] [AmazonHttpClient] Unable to execute HTTP request: connect timed out
java.net.SocketTimeoutException: connect timed out
...診断
The two default security groups that Bamboo creates enable all outbound HTTP traffic – "ControlledByBamboo" and "elasticbamboo".
原因
Amazon Virtual Private Cloud (VPC) doesn't automatically permit outbound traffic.
ソリューション
ソリューション
If you've set up a VPC you must define an Amazon Simple Storage Service (S3) endpoint from your VPC:
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-endpoints.html
この内容はお役に立ちましたか?