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 vote
Accepted answer
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 Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

253 views 4 1
Join discussion

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