Increase container shutdown delay before force-killing to avoid db
corruption after controller reboots
Parameterize SHUTDOWNDELAY envvar as lxc_container_shutdown_delay
with default value 60 seconds
Rename lxc.default.j2 template to lxc-net.default.j2 to align with
destination config file name lxc-net
Add new lxc.default.j2 template to use the lxc_container_shutdown_delay
variable and allow user-defined value
Reviewed: https:/ /review. openstack. org/625998 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=d0d9384aee3 6277e899aa664bc 9f64835c33d6c4
Committed: https:/
Submitter: Zuul
Branch: master
commit d0d9384aee36277 e899aa664bc9f64 835c33d6c4
Author: Justin Alford <email address hidden>
Date: Tue Dec 18 13:04:57 2018 -0700
Increase LXC container default shutdown delay
Increase container shutdown delay before force-killing to avoid db shutdown_ delay shutdown_ delay
corruption after controller reboots
Parameterize SHUTDOWNDELAY envvar as lxc_container_
with default value 60 seconds
Rename lxc.default.j2 template to lxc-net.default.j2 to align with
destination config file name lxc-net
Add new lxc.default.j2 template to use the lxc_container_
variable and allow user-defined value
Related-Bug: 1806696
Change-Id: I1d3b7990e46214 0fdb402883f8d25 422eafca66b