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

Cannot reconnect to running slaves after jenkins restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: jclouds-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.609.3 Latest Jclouds plugin compiled from git.
    • Similar Issues:

      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

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

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

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: