openstack-ansible-os_cinder/releasenotes/notes/cinder_init_time_settings-1ef46f6b9d4fc1df.yaml
Nolan Brubaker 2991a99657 Adjust cinder init restart times, provide variable
In order to facilitate safely shutting down cinder services, allow the
systemd time between SIGTERM and SIGKILL to be adjusted by the deployer.
Also lower the default from 5 minutes to 2.

Also lower the restart time from 150 seconds to 5 to recover more
quickly.

The `cinder_sigkill_timout` variable will also be provided for upstart
via backports.

Change-Id: Ib4381e092e15834c692b2fd76a2f41bf6fed28dd
Requires: I31310dc9b3834e0bf16618db3e473f17eab2b610
2017-03-28 17:34:58 +00:00

20 lines
1.0 KiB
YAML

---
features:
- The ``cinder_sigkill_timeout`` was introduced to control
the time between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting services. This can help in letting long-lived
sessions drain while preventing new ones from starting before a
restart. Default is 120 seconds (was harcoded to 300 seconds).
- The ``cinder_restart_wait`` variable has been added to control the time
between restarts of cinder services. Default is 5 seconds (was
hardcoded to 150 seconds).
upgrade:
- The ``cinder_sigkill_timeout`` was introduced to control
the time between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting services. This can help in letting long-lived
sessions drain while preventing new ones from starting before a
restart. Default is 120 seconds (was harcoded to 300 seconds).
- The ``cinder_restart_wait`` variable has been added to control the time
between restarts of cinder services. Default is 5 seconds (was
hardcoded to 150 seconds).