Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Lee Myring December 7, 2014

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
Hayk Avetisyan December 14, 2014

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

0 votes
Lee Myring December 8, 2014

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 

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2014

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.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2014

The problem was resolved about an hour ago.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events