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

jclouds single-use slave never cleaned up

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • jclouds-plugin
    • None
    • Jenkins 2.229
      jclouds plugin 2.17

      When I use the jclouds plugin to spawn instances at DigitalOcean and EC2, I noticed that the single-use slaves are never removed. They are marked offline as soon as the job finishes, but they remain offline in Jenkins and they are active with the cloud provider.

      As soon as the job finishes, I see this in the logs:

       2020-04-02 18:30:42.634+0000 [id=3070]	WARNING	j.p.j.c.JCloudsOneOffSlave$JCloudsOneOffSlaveDisposer#tearDown: Taking single-use slave [COMPUTER_NAME] offline.
      

      I let it sit for two hours and nothing changed. I had to delete the agent manually from inside Jenkins' build executors listing.

      Am I missing a step? I'll gladly turn on more debug logging if that would help diagnose the issue.

            felfert Fritz Elfert
            mhayden Major Hayden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: