Details
-
Bug
-
Resolution: Handled by Support
-
High
-
None
-
None
-
None
-
None
Description
When I launch my Custom Windows Server 2012 Bamboo Elastic Agent from Bamboo onDemand the instance is loaded but it can't seem to download the necessary files it needs to get the Agent working. Below is the exception from the bamboo-elastic-agent.out
I noticed this post in the answers site https://answers.atlassian.com/questions/214264/new-elastic-bamboo-agent-stuck-pending-amazons3exception-in-log
the solution seemed to be to refresh the bucket policies.
2013-09-27 05:49:05,254 INFO [main] [S3Utils] Fetching the list of remote objects...
Exception in thread "main" AmazonS3Exception: Status Code: 403, AWS Service: Amazon S3, AWS Request ID: 2170CA924C2FAD09, AWS Error Code: AccessDenied, AWS Error Message: Access Denied, S3 Extended Request ID: 7zm6jBDWadtVM474FOLV4sG1JvximgEKHOx5hSCefokCmb9SEzkv4NOqKMM1RX9J
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:644)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:338)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:190)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2974)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2945)
at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:478)
at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:462)
at com.atlassian.aws.s3.S3Utils.getObjectNamesAndHashes(S3Utils.java:331)
at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:159)
at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72)
at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66)