Our elastic agent somtimes fails to start. The instance itself comes up without problems. We're using spot instances and
After logging in, I find several log files in /tmp (testIfStartedFromBamboo.log, setupEphemeralStorageStructure.log, setupEbsSnapshot.log, BambooStartupLog.log, checkElasticAgent.log - in order of last modification) without any ovious errors.
I suspect it might have something to do with the Elastic IP we use (`ec2-associate-address` in /mnt/bamboo-ebs/bin/customise-extras.sh). I think Elastic IPs should be supported. Is this the correct way to use them?
Elastic IPs tend to interfere with agent startup. We are aware of this and we are planning to include a fix in one of the future releases.
This mostly applies to assigning EIPs while the agent is running. Customise-extras - or instance setup script - _should_ be OK. Could you try adding a sleep 60 after association?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used 15s sleep but that didn't fix the problem. I'll try your suggestion of 60s now.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.