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

[ec2-plugin] Unable to delete slave for spot request that no longer exists.

      Not the same as JENKINS-17410. Stack trace here.

      When deleting a Jenkins Slave for a Spot Instance request that no longer exists the EC2-Plugin throws the error linked above.

      Currently the only way to resolve the issue is to modify the config.xml and restart Jenkins.

      I believe this can be resolve by updating hudson.plugins.ec2.EC2SpotSlave.getSpotRequest(EC2SpotSlave.java:95) method to return null when unable to retrieve SpotInstanceRequest for given ID.
      Will give it a go.

          [JENKINS-19500] [ec2-plugin] Unable to delete slave for spot request that no longer exists.

          Matthew Riddle created issue -
          Matthew Riddle made changes -
          Labels New: ec2-plugin instance internal master spot
          Matthew Riddle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Matthew Riddle made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Matthew Riddle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150954 ] New: JNJira + In-Review [ 193750 ]

            mriddle Matthew Riddle
            mriddle Matthew Riddle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: