Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15319

Failure starting slave nodes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.481
    • Similar Issues:

      Description

      Every day or so I get errors like this when starting a slave:

      ERROR: The instance ID 'i-6fdc2512' does not exist
      Status Code: 400, AWS Service: AmazonEC2, AWS Request ID: 195aae09-8d42-4f24-9a30-2d31b7447818, AWS Error Code: InvalidInstanceID.NotFound, AWS Error Message: The instance ID 'i-6fdc2512' does not exist
      at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:547)
      at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:284)
      at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:169)
      at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:5684)
      at com.amazonaws.services.ec2.AmazonEC2Client.describeInstances(AmazonEC2Client.java:2543)
      at hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:97)
      at hudson.plugins.ec2.EC2Computer.getState(EC2Computer.java:76)
      at hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:33)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      and I have to manually delete them to unblock jobs. The odd part is that this instance actually does exists on the EC2 Mgmnt console. Any idea what this is about and how I can resolve it ?

      -John

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: David Glasser
          Path:
          src/main/java/hudson/plugins/ec2/EC2Computer.java
          http://jenkins-ci.org/commit/ec2-plugin/c4a24a9bfb7993e0723953d0f155761cb10f733d
          Log:
          Retries DescribeInstance calls a few times if it fails.

          Addresses JENKINS-15319.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: David Glasser Path: src/main/java/hudson/plugins/ec2/EC2Computer.java http://jenkins-ci.org/commit/ec2-plugin/c4a24a9bfb7993e0723953d0f155761cb10f733d Log: Retries DescribeInstance calls a few times if it fails. Addresses JENKINS-15319 .
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Francis Upton
          Path:
          src/main/java/hudson/plugins/ec2/EC2Computer.java
          http://jenkins-ci.org/commit/ec2-plugin/76c95f9c4a02917d09e28e4e4efa705c845f30df
          Log:
          Merge pull request #38 from meteor/retry-describe-instances

          Retries DescribeInstance calls a few times if it fails. JENKINS-15319

          Compare: https://github.com/jenkinsci/ec2-plugin/compare/64a311d5dc20...76c95f9c4a02


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Francis Upton Path: src/main/java/hudson/plugins/ec2/EC2Computer.java http://jenkins-ci.org/commit/ec2-plugin/76c95f9c4a02917d09e28e4e4efa705c845f30df Log: Merge pull request #38 from meteor/retry-describe-instances Retries DescribeInstance calls a few times if it fails. JENKINS-15319 Compare: https://github.com/jenkinsci/ec2-plugin/compare/64a311d5dc20...76c95f9c4a02 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
          Hide
          johntdyer John Dyer added a comment -

          Any idea when this build will be available

          Show
          johntdyer John Dyer added a comment - Any idea when this build will be available
          Hide
          johntdyer John Dyer added a comment -

          Anyone ?

          Show
          johntdyer John Dyer added a comment - Anyone ?
          Hide
          francisu Francis Upton added a comment -

          Hi John, I will do a release in the next couple of days which will include this fix. Sorry for the delay.

          Show
          francisu Francis Upton added a comment - Hi John, I will do a release in the next couple of days which will include this fix. Sorry for the delay.

            People

            • Assignee:
              francisu Francis Upton
              Reporter:
              johntdyer John Dyer
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: