octavia/doc/source
Gregory Thiemonge 6fe5df6fd8 Fix controller worker graceful shutdown
Fix an issue that prevents graceful shutdown of controller workers.

cotyledon.Service.terminate function is by definition the graceful
termination function and doesn't have any 'graceful' optional boolean
argument (https://cotyledon.readthedocs.io/en/latest/api.html).

Because of this error, message_listener.wait() was never called in the
consumers' termination functions, so flows could be interrupted before
completion and could leave resources such as load balancer in a
PENDING_* provisioning state.

By default cotyledon.Service terminates the server after a timeout if
the worker could not shutdown itself gracefully. The default value
for the timeout is 300 seconds (set in devstack plugin) and can be
overriden using the graceful_shutdown_timeout setting in octavia.conf
The default value will be updated to a lower value when work on
persistant taskflow will be merged.

Story: 2006603
Task: 36770

Change-Id: I3f776bd018246897c9a889699a2d0ecbbfbb7098
(cherry picked from commit 215c4c2284)
(cherry picked from commit 0fc1ea4789)
2019-11-21 09:29:32 +00:00
..
_static Update Octavia docs for documentation migration 2017-07-03 11:43:40 -07:00
admin Add upgrade guide 2018-06-25 23:22:26 +01:00
cli Add a CLI section to the Octavia docs 2017-08-23 14:39:48 -07:00
configuration Fix controller worker graceful shutdown 2019-11-21 09:29:32 +00:00
contributor Clarify that the driver support library is interim 2018-08-02 08:35:12 -07:00
install Update Octavia docs for documentation migration 2017-07-03 11:43:40 -07:00
reference Update introduction documention page 2018-04-10 11:48:09 +01:00
user Merge "Automatically set Barbican ACLs" 2018-07-26 18:33:30 +00:00
conf.py Temporarily disable flow diagraming 2018-07-22 15:45:09 -07:00
index.rst Add a CLI section to the Octavia docs 2017-08-23 14:39:48 -07:00