Merge "Clean up eventlet monkey patch comment and reno"

This commit is contained in:
Jenkins 2017-03-06 23:37:17 +00:00 committed by Gerrit Code Review
commit a6796ccae9
2 changed files with 7 additions and 3 deletions

View File

@ -13,8 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.
# NOTE(yuriyz): Do eventlet monkey patching here, not in ironic/__init__.py
# This allows API service runs under Apache.
# NOTE(yuriyz): Do eventlet monkey patching here, instead of in
# ironic/__init__.py. This allows the API service to run without monkey
# patching under Apache (which uses its own concurrency model). Mixing
# concurrency models can cause undefined behavior and potentially API timeouts.
import os
os.environ['EVENTLET_NO_GREENDNS'] = 'yes'

View File

@ -1,3 +1,5 @@
---
fixes:
- Fix issue with multiple threads when ironic API service runs under Apache.
- Fixes an issue with requests to the ironic API service sometimes timing
out when running under Apache. This was due to mixing two concurrency
models (for handling multiple threads).