openstack-ansible-os_swift/releasenotes/notes/swift_init_time_settings-20ea7817cbd2dca9.yaml
Jesse Pretorius 5bf8389219 Rename release note to unique hash
Change-Id: Icf5fda2c7c0ff0b8b04f2b1f01620180f3ce2f16
2017-04-28 11:40:02 +01:00

24 lines
1.5 KiB
YAML

---
features:
- For the ``os_swift`` 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
``swift_*_init_config_overrides`` variables which use the
``config_template`` task to change template defaults.
upgrade:
- For the ``os_swift`` 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
``swift_*_init_config_overrides`` variables which use the
``config_template`` task to change template defaults.