It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo agent stuck at pending with 30 minute timeout starting tunnel server

Atlassian OnDemand

Custom Amazon AMI based on Standard Atlassian AMI just copied to EU region

Starting Bamboo Agent and the tail of  /home/bamboo/bamboo-elastic-agent.out shows that it gets stuck with the tunnel server. After 30 mins you get a fatal exception which terminates the instance. There are no changes from when the bamboo agent was last running successfully. The box can be contacted from the outside world via PING and via a telnet command to 26224 which indicates the box is running and accessible.

Is this related to another question I raised?

https://answers.atlassian.com/questions/273550

 

Stacktrace of the log output

2014-12-08 09:51:26,780 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-w1/5.7-OD-06-010/f689e3f51bd0f52bd24bf2b7a1ca9bfdb6db1573/ to /opt/bamboo-elastic-agent

2014-12-08 09:51:26,781 INFO [main] [S3Utils] Fetching the list of remote objects...

2014-12-08 09:51:27,988 INFO [main] [S3Utils] Found 0 files in s3://bamboo-agent-release-eu-w1/5.7-OD-06-010/f689e3f51bd0f52bd24bf2b7a1ca9bfdb6db1573/

2014-12-08 09:51:28,017 INFO [main] [S3Utils] Found 388 files in /opt/bamboo-elastic-agent

2014-12-08 09:51:28,017 INFO [main] [S3Utils] Generating the list of files to fetch from S3...

2014-12-08 09:51:28,017 INFO [main] [S3Utils] Generating the list of files to remove...

2014-12-08 09:51:28,018 INFO [main] [S3Utils] Removing 0 files from /opt/bamboo-elastic-agent

2014-12-08 09:51:28,018 INFO [main] [S3Utils] Fetching 0 files to /opt/bamboo-elastic-agent

2014-12-08 09:51:28,018 INFO [main] [S3Utils] Fetched 0 MB from S3

2014-12-08 09:51:28,022 INFO [main] [ElasticAgentInstaller] Starting [java, -server, -Xms32m, -Xmx256m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -Dimagefiles.version=3.0, -Dbamboo.agent.installDir=/opt/bamboo-elastic-agent, -cp, /opt/bamboo-elastic-agent/boot/commons-io-2.4.jar:/opt/bamboo-elastic-agent/boot/bcprov-jdk15on-1.48.jar:/opt/bamboo-elastic-agent/boot/atlassian-annotations-0.4.jar:/opt/bamboo-elastic-agent/boot/commons-logging-1.0.4.jar:/opt/bamboo-elastic-agent/boot/bcpkix-jdk15on-1.48.jar:/opt/bamboo-elastic-agent/boot/gson-2.2.2-atlassian-1.jar:/opt/bamboo-elastic-agent/boot/joda-time-2.3.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-agent-elastic-5.5-OD-04-0004.jar:/opt/bamboo-elastic-agent/boot/atlassian-bamboo-core-agent-bootstrap-5.5-OD-04-0...:, com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap]

2014-12-08 09:51:29,375 INFO [main] [ElasticAgentBootstrap] Starting Agent Bootstrap using Java 1.6.0_45 from Sun Microsystems Inc.

2014-12-08 09:51:29,526 INFO [main] [ElasticAgentBootstrap] No tunnelling. Using standard protocol handlers.

2014-12-08 09:51:29,535 INFO [main] [ElasticAgentBootstrap] Starting tunnel server

3 answers

0 votes

The problem was resolved about an hour ago.

 

What was the problem please?

I have updated the agent version on my machine to 3.4 as instructed to do so via a support ticket so now I don't know if it's that or your problem resolution that has solved the issue? Please advise 

Both. You normally shouldn't need to update the bootstrap manually, so your change fixed that. But the correction we've made should let you continue using your old image.

hi all

I got following this morning (yesterday it was ok)

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 help? thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

307 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you