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

Cannot reconnect to running slaves after jenkins restart

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • jclouds-plugin
    • None
    • Jenkins 1.609.3 Latest Jclouds plugin compiled from git.

    Description

      If JClouds slaves are running that initially used the phone-home feature to delay connection until cloud-init scrpts are ready. Those slaves cannot reconnect after jenkins gets restarted.
      When jenkins reads the previously persisted nodes and sets the waitPhoneHome flag to true again. Therefore the phone-home wait period starts again and then obviously times out, because the salve already hat phoned home earlier and ist still running.

      Attachments

        Activity

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
          http://jenkins-ci.org/commit/jclouds-plugin/5814b4db03cdd97f3b3183133730e1d57d73b917
          Log:
          JENKINS-30556 Cannot reconnect to running slaves after jenkins restart

          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/JCloudsSlave.java http://jenkins-ci.org/commit/jclouds-plugin/5814b4db03cdd97f3b3183133730e1d57d73b917 Log: JENKINS-30556 Cannot reconnect to running slaves after jenkins restart

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
          http://jenkins-ci.org/commit/jclouds-plugin/02dcb09bbd93a266a0911a683e4293a756886a3b
          Log:
          Merge pull request #103 from OpenDataSpace/JENKINS-30556

          JENKINS-30556 Cannot reconnect to running slaves after jenkins restart

          Compare: https://github.com/jenkinsci/jclouds-plugin/compare/c36d74077e0c...02dcb09bbd93

          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/JCloudsSlave.java http://jenkins-ci.org/commit/jclouds-plugin/02dcb09bbd93a266a0911a683e4293a756886a3b Log: Merge pull request #103 from OpenDataSpace/ JENKINS-30556 JENKINS-30556 Cannot reconnect to running slaves after jenkins restart Compare: https://github.com/jenkinsci/jclouds-plugin/compare/c36d74077e0c...02dcb09bbd93

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
          http://jenkins-ci.org/commit/jclouds-plugin/7fc49f28802a59e3564389dee5a910c3abf8d368
          Log:
          JENKINS-30556 Cannot reconnect to running slaves after jenkins restart

          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/JCloudsSlave.java http://jenkins-ci.org/commit/jclouds-plugin/7fc49f28802a59e3564389dee5a910c3abf8d368 Log: JENKINS-30556 Cannot reconnect to running slaves after jenkins restart

          People

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

            Dates

              Created:
              Updated:
              Resolved: