7f65cec8da
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> |
||
---|---|---|
.. | ||
__init__.py | ||
aodh.py | ||
barbican.py | ||
base.py | ||
ceilometer.py | ||
cinder.py | ||
common.py | ||
glance.py | ||
gnocchi.py | ||
heat.py | ||
helm.py | ||
horizon.py | ||
ingress.py | ||
ironic.py | ||
keystone.py | ||
libvirt.py | ||
magnum.py | ||
mariadb.py | ||
memcached.py | ||
neutron.py | ||
nova_api_proxy.py | ||
nova.py | ||
openstack.py | ||
openvswitch.py | ||
panko.py | ||
rabbitmq.py | ||
rbd_provisioner.py |