ad75b7e0b0
In particular, an InterruptedException is likely in the portions of safeExecuteFunction that wait for the Jenkins job to complete. In those cases, we still want to return an exception, but we also want to make sure that once we have scheduled a build on a node, when that build is finished (even if it is due to some catastrophe such as a failure to communicate with the node), we still take the node offline. We have seen the occasional scheduled job stuck in Jenkins because of a situation where a node fails, and the gearman plugin schedules another build on the node because the offline method has not run. Meanwhile, nodepool deletes the node (because Jenkins said the job finished) and the scheduled build gets stuck. This should eliminate that. Change-Id: I69b1e4b21430b7427ed47c3cb43bd94e04213321 |
||
---|---|---|
.settings | ||
src | ||
.classpath | ||
.gitignore | ||
.gitreview | ||
.project | ||
.pydevproject | ||
LICENSE | ||
README.rst | ||
bsd.txt | ||
debug | ||
install-fast | ||
pom.xml | ||
run-fast |
README.rst
Overview
This plugin uses Gearman to support multiple Jenkins masters. More info can be found at https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin
Contributing
If you would like to contribute to the development of OpenStack, you must follow the steps in the "If you're a developer, start here" section of this page:
Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at:
Pull requests submitted through GitHub will be ignored.
Project site:
Patches are submitted via Gerrit at:
Bugs should be filed on Launchpad, not GitHub:
Cloning:
License
Copyright 2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.