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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The stock images add a script to /etc/profile.d/bamboo.sh that adds /opt/bamboo-elastic-agent/bin to the path.
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.