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 |
||
---|---|---|
.. | ||
config | ||
middleware | ||
scheduler | ||
README | ||
__init__.py | ||
_i18n.py | ||
eventlet_backdoor.py | ||
fileutils.py | ||
gettextutils.py | ||
imageutils.py | ||
loopingcall.py | ||
periodic_task.py | ||
policy.py | ||
service.py | ||
systemd.py | ||
threadgroup.py | ||
versionutils.py |
README
openstack-common ---------------- A number of modules from openstack-common are imported into this project. These modules are "incubating" in openstack-common and are kept in sync with the help of openstack-common's update.py script. See: https://wiki.openstack.org/wiki/Oslo#Syncing_Code_from_Incubator The copy of the code should never be directly modified here. Please always update openstack-common first and then run the script to copy the changes across.