You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know that you sorted it out now =]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.