When starting a plan I get the message:
No agents are available to build this job.
This job can be run on an elastic agent by starting a new elastic instance.
When going to the buildimage configurator the build agent
Under the Executable jobs tab my plan is listed.
Where should I look what the problem is ?
Automatic elastic instance management
Elastic instance management: Default
In the past I created a custom-build agent and that one is working, within the 10min as you described. The new one is already in que for 50min...
This custom agent keeps saying in the status: Pending, does this indicate something is wrong ? It is not going to Idle status.
|Apr 14, 2016 10:35:22 AM Requested that new elastic instance be created for configuration: bamboo-build-agent11042016 / ami-4e2fac3d|
|Apr 14, 2016 10:35:22 AM Elastic instance [i-f727827b] transitioned from STARTING to IDENTIFIED.|
|Apr 14, 2016 10:36:06 AM Elastic instance [i-f727827b] transitioned from IDENTIFIED to RUNNING.|
Look at Bamboo EC2 configuration to check strategy used by Bamboo to start new instances. If it's configured to start image every 10 minutes, then you build will be queued for 10 minutes + time to start elastic agent
PATH: C:\ProgramData\Oracle\Java\javapath;C:\opt\php-5.3.29\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\Program Files\Amazon\AWSCLI\;C:\cygwin\bin;C:\opt\git-2.6.1\cmd;C:\opt\mercurial-3.4.0\;
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
No scripts to run.
Windows stock image - ami-bf02accc
Started the defualt stock image,
git config --global user.name <short_username> git config --global user.email <email>
Then runned the c:\opt\bamboo-elastic-agent\bin\prepareInstanceForSaving.bat
Closed the AIM, went into Amazon and created a new AIM.
Next selected the new AIM as default agent.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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