Running eventlet.monkey_patch in nova_api breaks the AMQP heartbeat thread
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
High
|
Damien Ciabrini |
Bug Description
As currently discussed in https:/
As a side effect of this work, nova_api now calls eventlet.
Because mod_wsgi stops the execution of its embedded interpreter, the AMQP heartbeat thread can't be resumed until there's a message to be processed in the mod_wsgi queue. This causes long idle period, which in turns makes rabbitmq close the AMQP connection, and makes nova_api logs warnings and reconnect.
Note: other services like heat-api do not use monkey patching and aren't affected, so this seem to confirm that monkey-patching shouldn't happen in nova_api running under mod_wsgi in the first place.
[0] https:/
[1] https:/
[2] https:/
summary: |
- Running eventlet.money_patch in nova_api breaks the AMQP heartbeat + Running eventlet.monkey_patch in nova_api breaks the AMQP heartbeat thread |
description: | updated |
Fix proposed to branch: master /review. opendev. org/657168
Review: https:/