|
I have Jenkins 2.7 with ec2-plugin 1.33 configured with Eucalyptus cloud. When launching nodes in the cloud, sometimes it so happens that Eucalyptus is taking way too long to launch the instance (more than an hour). This is because the cloud is near max capacity so it is expected that some instances might take a long time to launch.
I would expect that the ec2-plugin node startup procedure terminates after certain time when node fails to launch (as indicated by https://issues.jenkins-ci.org/browse/JENKINS-23790 where 30 minutes timeout is mentioned)
However, the launch process is not terminated and it blocks launching new nodes that might start up successfully, for example in a different availability zone.
Here is a snippet from instance launch log file:
{{FINEST: Node CentOS 7.2 2016-04-19 (i-5f209379)(i-5f209379) is still pending/launching, waiting 5s Jun 07, 2016 7:06:45 PM hudson.plugins.ec2.EC2Cloud log FINEST: Node CentOS 7.2 2016-04-19 (i-5f209379)(i-5f209379) is still pending/launching, waiting 5s ... FINEST: Node CentOS 7.2 2016-04-19 (i-5f209379)(i-5f209379) is still pending/launching, waiting 5s Jun 07, 2016 9:03:23 PM hudson.plugins.ec2.EC2Cloud log FINEST: Node CentOS 7.2 2016-04-19 (i-5f209379)(i-5f209379) is still pending/launching, waiting 5s Jun 07, 2016 9:03:28 PM hudson.plugins.ec2.EC2Cloud log INFO: Node CentOS 7.2 2016-04-19 (i-5f209379)(i-5f209379) is terminated or terminating, aborting launch}}
As you can see above, the instance was launching for almost two hours, then Eucalyptus timeout triggered and ec2-plugin gave up with launching this instance.
|