[JIRA] (JENKINS-56891) EC2 Plugin using Spot Instances fails

7 views
Skip to first unread message

serban.nicusor0@gmail.com (JIRA)

unread,
Apr 4, 2019, 7:54:04 PM4/4/19
to jenkinsc...@googlegroups.com
Serban Nicusor created an issue
 
Jenkins / Bug JENKINS-56891
EC2 Plugin using Spot Instances fails
Issue Type: Bug Bug
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2019-04-04 23:53
Environment: Jenkins ver. 2.150.3
Ubuntu 18.04 Host
Amazon EC2 plugin 1.42
Labels: ec2-plugin aws spot
Priority: Major Major
Reporter: Serban Nicusor

Hey.

 

The plugin works perfectly without Spot instances!

I've tried to use the `Amazon EC2 plugin` with Spot Instances ( m5d.12xlarge ).

The AMI image was configured correctly as of https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin steps.

My jobs needs one Instance based on Label ( linux ).

The Instance Count Limit is set to 4/this instance and 4/Global.

 

The problem starts to happen when Jenkins is trying to create a Spot Instance to serve my builds queue.

In AWS i get around 7-8 Spot Instances created at an interval of 3~30 seconds when i only need one ...

Jenkins only sees only one Agent online, doesn't even see the others as offline ...

 

 

Am i missing something? Did I do something wrong ? 

 

Thanks!

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

fabrizio.manfredi@gmail.com (JIRA)

unread,
Jun 26, 2019, 11:36:01 AM6/26/19
to jenkinsc...@googlegroups.com
FABRIZIO MANFREDI commented on Bug JENKINS-56891
 
Re: EC2 Plugin using Spot Instances fails

Do you have spike in the load ? and how much is your boot time of the machine ? 

The algorithm to raise node is quite aggresive

fabrizio.manfredi@gmail.com (JIRA)

unread,
Jun 26, 2019, 11:36:02 AM6/26/19
to jenkinsc...@googlegroups.com
FABRIZIO MANFREDI edited a comment on Bug JENKINS-56891
Do you have spike in the load ? and how much is your boot time of the machine ? 

The algorithm to raise node is quite aggresive aggressive

serban.nicusor0@gmail.com (JIRA)

unread,
Jun 26, 2019, 4:09:02 PM6/26/19
to jenkinsc...@googlegroups.com

I had Jenkins on an old mac machine.

Switched to new machine of Ubuntu 18.04 with a fresh install of Jenkins LTS, everything is working smooth now.

raihaan.shouhell@autodesk.com (JIRA)

unread,
Oct 4, 2019, 3:39:03 AM10/4/19
to jenkinsc...@googlegroups.com
Raihaan Shouhell resolved as Cannot Reproduce
 
Change By: Raihaan Shouhell
Status: Open Resolved
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages