Configuring an Ubuntu agent with Bamboo OnDemand

Any advice on how to setup Ubuntu on elastic cloud to use as a Bamboo agent? CentOS is not suitable for running our tests (QT library not available).

I've tried following a combination of the custom linux image guide here https://confluence.atlassian.com/display/BAMBOO041/Creating+a+custom+elastic+image+-+Linux and this blog post http://wkmacura.tumblr.com/post/5511638182/ubuntu-bamboo-ec2-ami, but I'm getting stuck with the Bamboo agent not starting up, and no messages in the system log.

Does the Bamboo agent produce any log files, and is there a way to run it manually to test if it's configured correctly?

1 answer

1 accepted

1 votes
You can try run the agent manually to see if it works:
su -c /opt/bamboo-elastic-agent/bin/bamboo-elastic-agent - bamboo

Does it work?

Yes, running that worked OK. It looks like the problem was that my /etc/init.d/bamboo was referring just to "bamboo-elastic-agent" when starting the agent. Changing it to use the full path of "/opt/bamboo-elastic-agent/bin/bamboo-elastic-agent" seems to have fixed it.

The stock images add a script to /etc/profile.d/bamboo.sh that adds /opt/bamboo-elastic-agent/bin to the path.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,072 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot