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

OpenStack-Clouds-Plugin (single-use slave has already been used and is pending removal for 10 Mins.)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When the Job finishes building.
      The slave status becomes "Single-use slave has already been used and is pending removal."
      but the VM is still stale.
      Force deleting it switches to "Slave is pending removal.", until it eventually
      gets deleted. if i do not interfere by force deleting the VM, it gets deleted after 10 Mins.
      The VM should get deleted instantly after the job finishes.

        Attachments

        1. 10.png
          10.png
          11 kB
        2. 2.png
          2.png
          11 kB
        3. 3.png
          3.png
          3 kB
        4. 3.png
          3.png
          20 kB
        5. 4.png
          4.png
          17 kB
        6. 5.png
          5.png
          11 kB
        7. 9.png
          9.png
          21 kB

          Activity

          Hide
          jenkinsguru Jenkins Guru added a comment -

          How long should it take to the node offline and delete it ?

          Show
          jenkinsguru Jenkins Guru added a comment - How long should it take to the node offline and delete it ?
          Hide
          jenkinsguru Jenkins Guru added a comment -

          I tried using Single Use Slave Plugin to try and speed up the deletion process.
          However, it still takes 10 minutes.

          Show
          jenkinsguru Jenkins Guru added a comment - I tried using Single Use Slave Plugin to try and speed up the deletion process. However, it still takes 10 minutes.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsComputer.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsRetentionStrategy.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
          http://jenkins-ci.org/commit/jclouds-plugin/f141bc7633987e691856e4c20af6dd262e27f9c1
          Log:
          Fixing JENKINS-28403 and JENKINS-27471 (WIP)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fritz Elfert Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsComputer.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsRetentionStrategy.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java http://jenkins-ci.org/commit/jclouds-plugin/f141bc7633987e691856e4c20af6dd262e27f9c1 Log: Fixing JENKINS-28403 and JENKINS-27471 (WIP)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/pom.xml
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/InstancesToRun.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsCloud.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsStartupHandler.java
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/internal/TerminateNodes.java
          jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/InstancesToRun/config.jelly
          jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper/help-instancesToRun.html
          jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper/help.html
          jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave/help.html
          jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/internal/TerminateNodesTest.java
          http://jenkins-ci.org/commit/jclouds-plugin/3bc1200cba16f54c9bcad01cec6402bf29b2e6c6
          Log:
          Fixing JENKINS-28403 and JENKINS-27471 (WIP)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fritz Elfert Path: jclouds-plugin/pom.xml jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/InstancesToRun.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsCloud.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsStartupHandler.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/internal/TerminateNodes.java jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/InstancesToRun/config.jelly jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper/help-instancesToRun.html jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsBuildWrapper/help.html jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsOneOffSlave/help.html jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/internal/TerminateNodesTest.java http://jenkins-ci.org/commit/jclouds-plugin/3bc1200cba16f54c9bcad01cec6402bf29b2e6c6 Log: Fixing JENKINS-28403 and JENKINS-27471 (WIP)
          Hide
          felfert Fritz Elfert added a comment -

          Should be fixed now in git.
          Single-use JClouds-slaves ar now usually removed much faster.
          Please note however, that removal is postponed until they are completely idle, which might not be obvious if they are executing FlyWeight tasks.

          Show
          felfert Fritz Elfert added a comment - Should be fixed now in git. Single-use JClouds-slaves ar now usually removed much faster. Please note however, that removal is postponed until they are completely idle, which might not be obvious if they are executing FlyWeight tasks.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              jenkinsguru Jenkins Guru
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: