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

Take this slave on-line when in demand and off-line when idle option has issues in Jenkins restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, slave-status-plugin
    • None
    • Ubuntu 64 Tomcat/Hotspot

      We use the slave Availability option "Take this slave on-line when in demand and off-line when idle" for many slaves and we found when we restart Jenkins (Tomcat stop/start) what we can find is the slaves where this settings is enabled, comes as offline and we have to launch all of them manually. Normally the slaves with take offline when idle settings, will come online when a job tied to the slave is triggered but in this case that wont happen.

      Looking at the api/xml of such slaves and that are gone idle and got offline, the difference found is no <offlineCause/> tag in the issue slaves. Seems like the cause is not updated to slave properly when the Jenkins is restarted.

            kohsuke Kohsuke Kawaguchi
            ragesh_nair ragesh_nair
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: