-
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:
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.
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-30556Cannot reconnect to running slaves after jenkins restart