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

Vsphere plugin keeps reseting the slave when slave is configured for on demand start

XMLWordPrintable

      i am facing this problem with vsphere cloud plugin , where i have configured my slaves (vsphere images) to be turned on on demand, the problem is when i submit the job it goes in waiting queue , after a while Jenkins turn on the corresponding slave , now while the process of turning on the slave is in progress a poll operation is performed by jenkins and restarts the slave , so this operation keeps on going endlessly.

      log-Jan 09, 2014 7:30:45 PM INFO hudson.slaves.RetentionStrategy$Demand check
      Launching computer Vistax64_sp1 as it has been in demand for 10 min

      Jan 09, 2014 7:30:45 PM INFO hudson.slaves.RetentionStrategy$Demand check
      Launching computer Vistax64_sp2 as it has been in demand for 10 min

      Jan 09, 2014 7:30:45 PM INFO org.jenkinsci.plugins.vSphereCloud InternalLog
      Vistax86_sp2 Starting Virtual Machine...

      Jan 09, 2014 7:30:45 PM INFO org.jenkinsci.plugins.vSphereCloud InternalLog
      Vistax64_sp1 Starting Virtual Machine...

      http://javadoc.jenkins-ci.org/hudson/slaves/CloudSlaveRetentionStrategy.html

      Retention strategy polls after every two minutes and resets the slave , is there any way to increase this polling period ?

      Jenkins Version - 1.544

      VSphere Plugin - 1.1.2

            Unassigned Unassigned
            dev009 Deevanshu Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: