70c6a35684
Currently, termination of WSGI application or RPC server immediately stops service and so interrupts in-progress request. Graceful handler for SIGTERM signal was added. SIGINT signal handler was removed to allow instantaneous termination of service. DocImpact: graceful termination of process can be done by sending SIGTERM signal to parent WSGI process. Graceful termination is not instantaneous. To force instantaneous termination SIGINT signal must be sent. (cherry picked from commit 13ce823686062d70b268b4d3888849adef07e4ff) Additional fix: oslo.service provides this facility through it's wait() method, so we need to call it in Cinder Service wait() method which gets called when graceful shutdown is requested by sending the process SIGTERM. Change-Id: Icaedec63c0df0255c6842b688c6d83a496f142b8 Closes-Bug: 1464822 |
||
---|---|---|
.. | ||
common | ||
__init__.py |