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

The docker images for Bamboo Server and Bamboo Agent 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 <SERVER_URL>/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 <SERVER_URL>/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.

1 answer

1 accepted

2 votes
Answer accepted
Milen Kirilov September 18, 2019

Nevermind... it seems I had not ran the Bamboo Server installation through the web interface.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events