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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,872
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events