Bamboo Agent Stuck at Pending, s3 bucket seems empty
Asked by Lee Myring:

There appears to be 0 files in the s3 bucket that the bamboo agent uses to start itself?!?!

Can anyone from Atlassian shed any light on this please?

2014-03-17 16:45:17,171 INFO \[main\] \[S3Utils\] Syncing s3://bamboo-agent-release-eu-w1/5.5-OD-01-0002/48386111738344fc2d62c5fd3c3e5943afb67c1b/ to /opt/bamboo-elastic-agent

2014-03-17 16:45:17,199 INFO \[main\] \[S3Utils\] Fetching the list of remote objects...

2014-03-17 16:45:22,454 INFO \[main\] \[S3Utils\] Found 0 files in s3://bamboo-agent-release-eu-w1/5.5-OD-01-0002/48386111738344fc2d62c5fd3c3e5943afb67c1b/

2014-03-17 16:45:23,149 INFO \[main\] \[S3Utils\] Found 1757 files in /opt/bamboo-elastic-agent

2014-03-17 16:45:23,149 INFO \[main\] \[S3Utils\] Generating the list of files to fetch from S3...

2014-03-17 16:45:23,149 INFO \[main\] \[S3Utils\] Generating the list of files to remove...

2014-03-17 16:45:23,180 INFO \[main\] \[S3Utils\] Removing 0 files from /opt/bamboo-elastic-agent

2014-03-17 16:45:23,181 INFO \[main\] \[S3Utils\] Fetching 0 files to /opt/bamboo-elastic-agent

2014-03-17 16:45:23,181 INFO \[main\] \[S3Utils\] Fetched 0 MB from S3

2014-03-17 16:45:23,182 FATAL \[main\] \[ElasticAgentInstaller\] No jars found in /opt/bamboo-elastic-agent/boot - it probably means that the assembly has not been propagated to this region. Contact Atlassian support.


Answers:
author: Przemek Bruski
body: I've kicked off the assembly propagation, please check again in \~2 hours.

comments: author: Lee Myring
body: Thank you (super quick reply too, many thanks) but what does this mean? Is this something that "should" have kicked off but didn't? Is this new agent code? Is there documentation around this that I've missed? Thanks for any feedback


author: Przemek Bruski
body: It looks like something went wrong in our release process, normally the assembly gets propagated automatically. That's the agent code local to the region you're using it in. There's nothing you've missed.


author: Lee Myring
body: HELP!!!! PLEASE can you see if this is an issue again please?2014-12-08 09:08:42,402 INFO \[main\] \[S3Sync\] Syncing from: bamboo-agent-release-eu-w1/5.7-OD-06-010/f689e3f51bd0f52bd24bf2b7a1ca9bfdb6db1573/ to /opt/bamboo-elastic-agent2014-12-08 09:08:42,834 INFO \[main\] \[S3Utils\] Syncing s3://bamboo-agent-release-eu-w1/5.7-OD-06-010/f689e3f51bd0f52bd24bf2b7a1ca9bfdb6db1573/ to /opt/bamboo-elastic-agent2014-12-08 09:08:42,835 INFO \[main\] \[S3Utils\] Fetching the list of remote objects...2014-12-08 09:08:43,808 INFO \[main\] \[S3Utils\] Found 0 files in s3://bamboo-agent-release-eu-w1/5.7-OD-06-010/f689e3f51bd0f52bd24bf2b7a1ca9bfdb6db1573/2014-12-08 09:08:43,845 INFO \[main\] \[S3Utils\] Found 388 files in /opt/bamboo-elastic-agent2014-12-08 09:08:43,845 INFO \[main\] \[S3Utils\] Generating the list of files to fetch from S3...2014-12-08 09:08:43,845 INFO \[main\] \[S3Utils\] Generating the list of files to remove...2014-12-08 09:08:43,846 INFO \[main\] \[S3Utils\] Removing 0 files from /opt/bamboo-elastic-agent2014-12-08 09:08:43,846 INFO \[main\] \[S3Utils\] Fetching 0 files to /opt/bamboo-elastic-agent2014-12-08 09:08:43,846 INFO \[main\] \[S3Utils\] Fetched 0 MB from S3


author: Przemek Bruski
body: Should be fixed now.


author: Tomasz Karbownicki
body: @Przemyslaw Bruski, one year later we got the same issue.

```
2015-12-07 12:38:13,368 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-us-w2/5.10-OD-10-008/9cdfbfeb874cb9dc79415e2787a4902cc3d1785caff42c64bf9c20fd7785f4da/ to /opt/bamboo-elastic-agent2015-12-07 12:38:14,511 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-us-w2/5.10-OD-10-008/9cdfbfeb874cb9dc79415e2787a4902cc3d1785caff42c64bf9c20fd7785f4da/ to /opt/bamboo-elastic-agent2015-12-07 12:38:14,512 INFO [main] [S3Utils] Fetching the list of remote objects...2015-12-07 12:38:15,295 INFO [main] [S3Utils] Found 0 files in s3://bamboo-agent-release-us-w2/5.10-OD-10-008/9cdfbfeb874cb9dc79415e2787a4902cc3d1785caff42c64bf9c20fd7785f4da/2015-12-07 12:38:15,337 INFO [main] [S3Utils] Found 377 files in /opt/bamboo-elastic-agent2015-12-07 12:38:15,337 INFO [main] [S3Utils] Generating the list of files to fetch from S3...2015-12-07 12:38:15,337 INFO [main] [S3Utils] Generating the list of files to remove...2015-12-07 12:38:15,338 INFO [main] [S3Utils] Removing 0 files from /opt/bamboo-elastic-agent2015-12-07 12:38:15,339 INFO [main] [S3Utils] Fetching 0 files to /opt/bamboo-elastic-agent2015-12-07 12:38:15,339 INFO [main] [S3Utils] Fetched 0 MB from S32015-12-07 12:38:15,342 INFO [main] [ElasticAgentInstaller] Starting [java, -server, -Xms32m, -Xmx256m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -Dimagefiles.version=3.4, -Dbamboo.agent.installDir=/opt/bamboo-elastic-agent, -cp, /opt/bamboo-elastic-agent/boot/commons-httpclient-3.0.1.jar:/opt/bamboo-elastic-agent/boot/httpcore-4.2.5.jar:/opt/bamboo-elastic-agent/boot/atlassian-annotations-0.4.jar:/opt/bamboo-elastic-agent/boot/aws-java-sdk-1.4.0.1.jar:/opt/bamboo-elastic-agent/boot/guava-10.0.1.jar:/opt/bamboo-elastic-agent/boot/commons-lang-2.6.jar:/opt/bamboo-elastic-agent/boot/jsr305-1.3.9.jar:/opt/bamboo-elastic-agent/boot/commons-io-2.4.jar:/opt/bamboo-elastic-agent/boot/jackson-mapper-asl-1.9.1.jar:/opt/bamboo-elastic-agent/boot/bcprov-jdk15on-1.48.jar:/opt/bamboo-elastic-agent/boot/commons-logging-1.0.4.jar:/opt/bamboo-elastic-agent/boot/atlassian-tunnel-0.20.jar:/opt/bamboo-elastic-agent/boot/atlassian-util-concurrent-2.4.1.jar:/opt/bamboo-elastic-agent/boot/gson-2.2.2-atlassian-1.jar:/opt/bamboo-elastic-agent/boot/stax-api-1.0-2.jar:/opt/bamboo-elastic-agent/boot/log4j-1.2.15.jar:/opt/bamboo-elastic-agent/boot/httpclient-4.2.5.jar:/opt/bamboo-elastic-agent/boot/fugue-1.1.jar:/opt/bamboo-elastic-agent/boot/annotations-13.0.jar:/opt/bamboo-elastic-agent/boot/bcpkix-jdk15on-1.48.jar:/opt/bamboo-elastic-agent/boot/commons-codec-1.4.jar:/opt/bamboo-elastic-agent/boot/analytics-api-2.29.jar:/opt/bamboo-elastic-agent/boot/jackson-core-asl-1.9.1.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-bootstrap-5.4-OD-6.jar:/opt/bamboo-elastic-agent/boot/atlassian-aws-1.0.51.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-elastic-5.4-OD-6.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-core-agent-bootstrap-5.4-OD-6.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-elastic-shared-5.4-OD-6.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-api-agent-bootstrap-5.4-OD-6.jar:, com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap]Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.02015-12-07 12:38:15,939 INFO [main] [ElasticAgentBootstrap] Starting Agent Bootstrap using Java 1.8.0_66 from Oracle Corporation2015-12-07 12:38:16,413 INFO [main] [ElasticAgentBootstrap] No tunnelling. Using standard protocol handlers.2015-12-07 12:38:16,423 INFO [main] [ElasticAgentBootstrap] Starting tunnel server
```


author: Hayk Avetisyan
body: Hi all, it seems the bug returns

This morning I got following error

```
FATAL [main] [ElasticAgentInstaller] No jars found in /opt/bamboo-elastic-agent/boot - it probably means that the assembly has not been propagated to this region. Contact Atlassian support.
```

can anyone assist / help me ?


Tags: cloud