openstack-ansible-os_cinder/releasenotes/notes/cinder_init_time_settings-1ef46f6b9d4fc1df.yaml
Jesse Pretorius b620dc00e9 Replace var approach with config_template approach
Instead of having specific variables do adjust the init
behaviour, the more generalised approach of hard setting
sensible defaults in the template and allowing the use
of config_template to override those is being used.

Change-Id: Id74d06cdfa2cf1e4a6270566d67083a50d82f6ac
2017-04-26 13:08:09 +00:00

19 lines
1.1 KiB
YAML

---
features:
- For the ``os_cinder`` role, the systemd unit ``TimeoutSec`` value which
controls the time between sending a SIGTERM signal and a SIGKILL signal
when stopping or restarting the service has been reduced from 300 seconds
to 120 seconds. This provides 2 minutes for long-lived sessions to drain
while preventing new ones from starting before a restart or a stop. The
``RestartSec`` value which controls the time between the service stop and
start when restarting has been reduced from 150 seconds to 2 seconds to
make the restart happen faster. These values can be adjusted by using the
``cinder_*_init_config_overrides`` variables which use the
``config_template`` task to change template defaults.
upgrade:
- The variables ``cinder_sigkill_timeout`` and ``cinder_restart_wait`` have
been removed. The previous default values have now been set in the
template directly and can be adjusted by using the
``cinder_*_init_overrides`` variables which use the ``config_template``
task to change template defaults.