config/sysinv/sysinv/sysinv/sysinv/helm
Tao Liu 7f65cec8da Increase keystone-api termination grace period
The keystone-api pod gets stuck in CrashLoopBackOff on
AIO-SX lock/unlock attempt.

When Kubernetes decides to kill the keystone-api pod due to readiness
probe failure or other reasons, it calls the preStop hook immediately
before the container is terminated. This hook starts a graceful
shutdown process which includes removing pid, shared memory segment
and wsgi sock files. If the container is not terminated within the
grace period, a SIGKILL is sent, and the container is forced to shut
down.

When the container was forced to terminate without clean up, the
stale files were left behind. On the restart, the application
detected the file existed, and treated it as configuration failure,
hence the exit. As a result, the pod went into a crash loop.

This update sets termination grace period to 60 seconds in
system override and it gives the process more time to gracefully
shut down.

Story: 2004520
Task: 28392

Change-Id: Ibae1e8bf7d5d43bb946a695e565fe204a2077f34
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2019-01-15 21:03:04 -05:00
..
__init__.py Helm Backend for chart specific system overrides 2018-07-31 15:48:45 -04:00
aodh.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
barbican.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
base.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
ceilometer.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
cinder.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
common.py docker images management 2018-12-20 16:28:14 -05:00
glance.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
gnocchi.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
heat.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
helm.py [Trivialfix]Fix typos in docstring 2019-01-06 23:00:52 +08:00
horizon.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
ingress.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
ironic.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
keystone.py Increase keystone-api termination grace period 2019-01-15 21:03:04 -05:00
libvirt.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
magnum.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
mariadb.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
memcached.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
neutron.py Enable neutron sriov backend 2019-01-11 12:31:54 -05:00
nova_api_proxy.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
nova.py Update nova helm chart overrides for service creation 2019-01-11 09:18:14 -06:00
openstack.py Cleanup pylint errors in sysinv 2018-12-28 09:06:15 -06:00
openvswitch.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
panko.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
rabbitmq.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00
rbd_provisioner.py Helm chart image overrides cleanup 2019-01-04 18:04:46 -05:00