Hello there,
I couldn't build my plan for Windows platform using Bamboo-Cloud even if the same setting can build using my private Bamboo server using Elastic EC2 instances and it had been available to built using Bamboo-Cloud until last fall. The plan's jobs have just been queued and repeat turning on or off Elastic EC2 instances all day.
Here is the plan log running on my private Bamboo. It runs well.
Jan 7, 2016 6:29:23 AM Currently there are no agents that can build: AXUMF-AXUMF-JOB1. New elastic instance(s) will be started (providing the configuration allows it).
Jan 7, 2016 6:29:23 AM 1 elastic instance(s) will be started for those builds that cannot be build on currently connected agents.
Jan 7, 2016 6:29:23 AM Requested that new elastic instance be created for configuration: VcaSys - StockBurned / ami-afdc25c4
Jan 7, 2016 6:29:24 AM Elastic instance [i-ebde6058] transitioned from STARTING to IDENTIFIED.
Jan 7, 2016 6:30:24 AM Elastic instance [i-ebde6058] transitioned from IDENTIFIED to RUNNING.
Jan 7, 2016 6:37:33 AM An elastic agent is loading on instance: [i-ebde6058]
Jan 7, 2016 6:38:50 AM Elastic Agent "Elastic Agent on i-ebde6058" started on instance i-ebde6058
Jan 7, 2016 7:29:23 AM Elastic instance i-ebde6058 has been idle for longer than the configured timeout and will be shut down because the current paid hour is ending.
Jan 7, 2016 7:29:23 AM Elastic Agent "Elastic Agent on i-ebde6058" stopped on instance i-ebde6058
Jan 7, 2016 7:29:23 AM Requested termination of elastic instance: i-ebde6058
Jan 7, 2016 7:29:40 AM Elastic instance [i-ebde6058] transitioned from RUNNING to SHUTTING_DOWN.
Jan 7, 2016 7:30:20 AM Elastic instance [i-ebde6058] transitioned from SHUTTING_DOWN to TERMINATED.
Jan 7, 2016 7:30:20 AM Detected that the elastic instance [i-ebde6058] has been terminated.
But another plan on Bamboo-Cloud doesn't work properly. Here is the log.
Jan 14, 2016 9:20:18 AM Currently there are no agents that can build: AXUMF-AXUMF5-JOB1. New elastic instance(s) will be started (providing the configuration allows it).
Jan 14, 2016 9:20:18 AM 1 elastic instance(s) will be started for those builds that cannot be build on currently connected agents.
Jan 14, 2016 9:20:19 AM Requested that new elastic instance be created for configuration: Windows: AxUMF / ami-cc1373a4
Jan 14, 2016 9:20:20 AM Elastic instance [i-ccdb0245] transitioned from STARTING to IDENTIFIED.
Jan 14, 2016 9:21:00 AM Elastic instance [i-ccdb0245] transitioned from IDENTIFIED to RUNNING.
Jan 14, 2016 10:02:31 AM Elastic instance [i-ccdb0245] transitioned from RUNNING to SHUTTING_DOWN.
Jan 14, 2016 10:02:51 AM Elastic instance [i-ccdb0245] transitioned from SHUTTING_DOWN to TERMINATED.
Repeat ...
As you can see, there is no Elastic Agent messages. I expected these messages.
Jan 7, 2016 6:37:33 AM An elastic agent is loading on instance: [i-ebde6058]
Jan 7, 2016 6:38:50 AM Elastic Agent "Elastic Agent on i-ebde6058" started on instance i-ebde6058
Jan 7, 2016 7:29:23 AM Elastic instance i-ebde6058 has been idle for longer than the configured timeout and will be shut down because the current paid hour is ending.
Jan 7, 2016 7:29:23 AM Elastic Agent "Elastic Agent on i-ebde6058" stopped on instance i-ebde6058
Jan 7, 2016 7:29:23 AM Requested termination of elastic instance: i-ebde6058
I checked Windows Stock Images you provided show same result that there is no agent message.
I think that's why the job is just being queued all day.
Even if the plan says that it can be build using some Windows Images, it is just queued and can't be built saying there is no agents are available to build the job. The saying doesn't make sense.
I attached some screen shots. The instance logs have mixed status as I controlled instances for some test.
The ID of the problem job is AXUMF-AXUMF5-JOB1.
instances_log.pngjob_log.png
available_images.png
Bamboo-Cloud account is for my company. So I am so serious.
Please help me.