-
Bug
-
Resolution: Fixed
-
Major
-
None
I have a slave that I have been unable to get rid of. The instance doesnt exist and any time I try to delete it via the UI I get the following error:
Exception: Status Code: 400, AWS Service: AmazonEC2, AWS Request ID: 3a682e66-152a-407c-a52a-f3b2d3423ccf, AWS Error Code: InvalidInstanceID.NotFound, AWS Error Message: The instance ID 'i-c81ba6b8' does not exist
Full Logs: https://gist.github.com/johntdyer/5271754
I have restarted Jenkins, I have upgraded to the latest Jenkins build ( 1.508 ) which also restarted the server, but this slave just wont go away. Is there some way to remove it manually ?
Do you see this EC2 instance via the AWS console?
It could be an AWS issue. Perhaps your instance has been terminated (sometimes when they're stuck, AWS kills them).
You can remove it by manually
stop jenkins
edit the config.xml (the main jenkins xml)
delete that node from the xml
save the config.xml
start up jenkins
The node will be gone.