Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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

Edited

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

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?

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

Good to know that you sorted it out now =]


Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
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