EC2 plugin not provisioning new instances

73 views
Skip to first unread message

praveen

unread,
Aug 5, 2016, 1:39:07 PM8/5/16
to Jenkins Users

Goal: I would like to use Amazon Ec2 Plugin to add dynamic slaves to Jenkins based on the load.


Architecture: Jenkins Master + 4 slaves + dynamic slaves (based on the requirement)
1st job runs on dynamic slave (no concurrent builds) - label1 (ami-12345)
2nd job runs concurrently on dynamic slaves - label2 (ami-23314)

These two has different AMI and different labels.


PROBLEM: first job is able to spin up the instance and executes job everything looks good. If I run the 2nd job Jenkins able to spin up the instance, However if jobs are queued up it's not adding new slaves.Even though I added the instance to 4 for that AMI(cloud instance cap 10).


Can somebody help me on this?


Jenkins v1.656
Amazon EC2 plugin v1.31

Baptiste Mathus

unread,
Aug 5, 2016, 4:41:18 PM8/5/16
to jenkins...@googlegroups.com

Hello,
Could you please stop reposting that question? I think I've seen it at least thrice in a few days.
Thanks


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4030f739-6cff-489d-b60b-d07f8a4247a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

praveen

unread,
Aug 5, 2016, 5:12:07 PM8/5/16
to Jenkins Users
It was not my intention. I thought it was not posted yesterday. sorry my bad.

praveen

unread,
Aug 8, 2016, 6:02:26 PM8/8/16
to Jenkins Users
 

I tried to minimize the number of executors on master and try to run the job, But no luck. Changed EC2 instance size to little bit low and increased number of executors(in order increase more load the slave). Job waited for couple of minutes(~5 minutes) and started another slave.


Solution: Your cluster should be overloaded for more than couple of minutes to add a new dynamic slave.




On Friday, August 5, 2016 at 10:39:07 AM UTC-7, praveen wrote:
Reply all
Reply to author
Forward
0 new messages