Skip to content

Bugfix jenkins 36878#50

Merged
jswager merged 3 commits intojenkinsci:masterfrom
pjdarton:bugfix_jenkins_36878
Sep 16, 2016
Merged

Bugfix jenkins 36878#50
jswager merged 3 commits intojenkinsci:masterfrom
pjdarton:bugfix_jenkins_36878

Conversation

@pjdarton
Copy link
Copy Markdown
Member

Bugfix to code written for JENKINS-36878.
That code introduced an unwanted link from slaves to the cloud's transient state which then appeared in the serialised data.
Cloud Slaves now re-discover where they came from when they exit.

slaves do not end up with inappropriate serialised state in their
nodes/xxxx/config.xml file.
Bugfix: No longer attempts to restart dying cloud slaves to satisfy
provisioning demands.
Bugfix: No longer uses VSphere.countVms() to judge per-cloud instance
cap - uses internal state instead (faster and more reliable)
Bugfix: On-startup, now re-discovers slaves that were active before
Jenkins restarted, otherwise they don't contribute to the instance cap.
Enhancement: When creating a cloud VM, if the slave-creation fails we
now try to remove the VM.
Enhancement: Added form validation for cloud's max online slaves and
instance cap.
Enhancement: Improve vSphereCloud logging functions to allow easier
logging of exceptions.
VSphere no longer logs to stdout.
Improved exception logging - now includes stacktraces.
Added extra detail into some textual output for easier diagnosis.
@jswager jswager merged commit 8d97ef1 into jenkinsci:master Sep 16, 2016
@pjdarton pjdarton deleted the bugfix_jenkins_36878 branch September 16, 2016 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants