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

Bamboo remote agent "is loading" and is not listed among the existing agents

RECARO July 23, 2015

Hello everybody,

I am trying to build a .Net application using a remote agent, as my bamboo is running on a linux virtual machine. My Visual Studio is installed in the same physical machine, but also in a VM. I followed the steps in the Bamboo remote agent installation guide, but unfortunately I can't navigate to the agent and define a new agent-specific executable capability, as the agent is not listed.

I am confused, because there is no error in the logs but only warnings. The bamboo console shows only 

24.07.2015 11:03:27 A remote agent is loading on 192.168.2.113 (192.168.2.113)

Before I had executed the following command  on my agent:

java -jar atlassian-bamboo-agent-installer-5.9.2.jar http://192.168.2.173:8085/agentServer/

The log says:

INFO | jvm 3 | 2015/07/24 11:08:21 | 2015-07-24 11:08:21,369 INFO [Thread-0] [QuartzScheduler] Scheduler scheduler_$_NON_CLUSTERED started.
INFO | jvm 3 | 2015/07/24 11:08:21 | 2015-07-24 11:08:21,403 WARN [Thread-0] [PropertyPlaceholderConfigurer] Could not load properties from class path resource [bamboo-init.properties]: class path resource [bamboo-init.properties] cannot be opened because it does not exist
INFO | jvm 3 | 2015/07/24 11:08:21 | 2015-07-24 11:08:21,417 INFO [Thread-0] [AgentRegistrationBean] Current agent remote definition: com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl@169af6e[-1,192.168.2.113]
INFO | jvm 3 | 2015/07/24 11:08:21 | 2015-07-24 11:08:21,420 INFO [Thread-0] [PerforceManager] Attempting to extract Perforce Executable
INFO | jvm 3 | 2015/07/24 11:08:21 | 2015-07-24 11:08:21,420 INFO [Thread-0] [PerforceManager] Could not find system variable. If you wish to use perforce please set the location as a capability.

Can anybody help me?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
RECARO July 24, 2015

I found the solution by myself. The problem was the Broker client URL in the General Configuration Settings. The default host ip adress in the URL was "Bamboo" and I wrote the real host ip adress instead.

0 votes
RECARO July 23, 2015

Okay, it seems to be a network problem as the following log output comes after the timeout is over:

INFO   | jvm 1    | 2015/07/24 11:27:13 | 2015-07-24 11:27:13,252 ERROR [ActiveMQ Task-1] [FailoverTransport] Failed to connect to [tcp://Bamboo:54663?wireFormat.maxInactivityDuration=300000] after: 10 attempt(s)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 2015-07-24 11:27:13,252 INFO [ActiveMQ Connection Executor: unconnected] [PooledConnectionFactory] Expiring connection ActiveMQConnection {id=ID:test-test-srv-55790-1437729759031-1:1,clientId=ID:test-test-srv-55790-1437729759031-0:1,started=false} on IOException: java.net.UnknownHostException: Bamboo
INFO   | jvm 1    | 2015/07/24 11:27:13 | Exiting due to fatal exception.
INFO   | jvm 1    | 2015/07/24 11:27:13 | java.lang.reflect.InvocationTargetException
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at java.lang.reflect.Method.invoke(Method.java:497)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:28)
INFO   | jvm 1    | 2015/07/24 11:27:13 | 	at java.lang.Thread.run(Thread.java:745)
bg1forever November 12, 2018

your agent does not know what IP address the host "bamboo" resolves to. 

nslookup bamboo and ping bamboo should return the IP address of bamboo.

Probably resolved by now though.

Cheers

TAGS
AUG Leaders

Atlassian Community Events