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

The docker images for Bamboo Server and Bamboo Client Base do not work well together

Milen Kirilov September 18, 2019

I just found out that while trying to connect a Bamboo Client Base container https://hub.docker.com/r/atlassian/bamboo-agent-base/ to a Bamboo Server container (https://hub.docker.com/r/atlassian/bamboo-server).

The client does connect to the server but fails with an exception:

Sep 18 13:18:51 a446f8e647eb bamboo-remote-agent[78]: 2019-09-18 13:18:51,945 INFO [WrapperSimpleAppMain] [RemoteAgentHttpClientFactory] Creating a new HTTP client...
INFO | jvm 2 | 2019/09/18 13:18:52 | 2019-09-18 13:18:52,167 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at http://default-bamboo-server:8085/agentServer/
Sep 18 13:18:52 a446f8e647eb bamboo-remote-agent[78]: 2019-09-18 13:18:52,167 INFO [WrapperSimpleAppMain] [AgentContext] Authenticating against Bamboo server at http://default-bamboo-server:8085/agentServer/
INFO | jvm 2 | 2019/09/18 13:18:52 | 2019-09-18 13:18:52,381 INFO [WrapperSimpleAppMain] [AgentContext] Successfully authenticated with Bamboo server
INFO | jvm 2 | 2019/09/18 13:18:52 | Exiting due to fatal exception.
INFO | jvm 2 | 2019/09/18 13:18:52 | java.net.ProtocolException: Server has not specified Agent bootstrap version. Please re-install the agent.
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.validateBootstrapVersion(AgentContext.java:201)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:120)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 2 | 2019/09/18 13:18:52 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 2 | 2019/09/18 13:18:52 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 2 | 2019/09/18 13:18:52 | at java.lang.Thread.run(Thread.java:748)
INFO | jvm 2 | 2019/09/18 13:18:52 | 2019-09-18 13:18:52,386 FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
INFO | jvm 2 | 2019/09/18 13:18:52 | java.net.ProtocolException: Server has not specified Agent bootstrap version. Please re-install the agent.
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.validateBootstrapVersion(AgentContext.java:201)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initFingerprint(AgentContext.java:120)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.initServerSession(AgentContext.java:101)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentContext.run(AgentContext.java:88)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.run(AgentBootstrap.java:111)
INFO | jvm 2 | 2019/09/18 13:18:52 | at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(AgentBootstrap.java:50)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 2 | 2019/09/18 13:18:52 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 2 | 2019/09/18 13:18:52 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO | jvm 2 | 2019/09/18 13:18:52 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 2 | 2019/09/18 13:18:52 | at java.lang.Thread.run(Thread.java:748)

 I could not find any information on how to configure the server to provide the proper client bootstrap version.

2 answers

1 accepted

1 vote
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

Hi @Milen Kirilov

I was able to make them connect without issues by using the following sequence of commands:

docker network create bamboo
docker volume create --name bambooVolume

docker run \
-v bambooVolume:/var/atlassian/application-data/bamboo \
--name bamboo-server \
--network bamboo --hostname bamboo-server \
-p 8085:8085 \
--init -d \
atlassian/bamboo-server

docker volume create --name bambooAgentVolume
docker run \
-v bambooAgentVolume:/home/bamboo/bamboo-agent-home \
--name bamboo-agent \
--network bamboo --hostname bamboo-agent \
--init -d \
atlassian/bamboo-agent-base \
http://bamboo-server:8085


Can you share how you configured your environment?
What version of Bamboo did you use?

0 votes
Milen Kirilov September 24, 2019

I had forgot/did not know that I need to run the web interface installation on the bamboo server container. Thanks!

Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2019

Good to know that you sorted it out now =]


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events