8e62012466
If a node is deleted, it can call the AbstractWorkerThread.stop method while holding the monitor lock on the Jenkins object. This will interrupt the GearmanWorkerImpl thread, and then wait for it to join. However, if at that moment, the GWI is trying to set the node offline (due to OFFLINE_NODE_WHEN_COMPLETE being set), then the system will deadlock while that thread tries to grab the Jenkins object monitor in order to save the new node configuration. Instead, just don't wait for the thread to join, which will eventually release the monitor lock and allow the GWI thread to complete. Change-Id: Ic8dbdf73551feb684ac4f3e46d2ee3e5aef976db |
||
---|---|---|
.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.