-
Bug
-
Resolution: Fixed
-
Major
-
ec2-plugin 1.23
-
-
1.62
The ec2-plugin will treat a still-launching node as idle (because it has no jbs running) and will thus shut it down if its idle timeout expires.
This means that if the idle timeout for a node is shorter than the time it takes to do one-off configuration on first launch, it will be shut down before it finishes starting up, aborting any init script that might be in progress.
That's a clear bug - a node isn't idle when it's launching, and shouldn't be idled out until it's first made a connection with its slave agent.
- is related to
-
JENKINS-43628 Jenkins slaves were started and stopped during master restart
-
- Fixed but Unreleased
-
-
JENKINS-23787 EC2-plugin not spooling up stopped nodes - "still in the queue ... all nodes of label ... are offline"
-
- Closed
-
[JENKINS-23792] PATCH: EC2 plugin idles-down nodes that are still launching
Link |
New:
This issue is related to |
Labels | Original: demand-launch ec2 idle-shutdown | New: demand-launch ec2 idle-shutdown patch |
Summary | Original: EC2 plugin idles-down nodes that are still launching | New: PATCH: EC2 plugin idles-down nodes that are still launching |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
This also causes a race condition in demand-launched workers, where:
Jenkins doesn't try to start the node again, because as far as it's concerned the node is still starting up. ec2-plugin doesn't start it because as far as it's concerned it started, went idle, and was stopped.