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

Accepted Answer
1 vote
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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

505 views 0 9
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