StarlingX Upstream packaging
Go to file
Tao Liu 2462f3015a Clean up the stale files
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 removes any stale files when the pod starts.

Story: 2004520
Task: 28392

Change-Id: I613a0db674de9578b3f9d1fa781a1612d9caf214
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2019-01-16 10:04:52 -05:00
doc Clean up and standardize landing pages 2018-12-27 17:11:33 -08:00
openstack Clean up the stale files 2019-01-16 10:04:52 -05:00
releasenotes Clean up and standardize landing pages 2018-12-27 17:11:33 -08:00
.gitignore [Doc] Release Notes Management 2018-09-25 14:43:18 -05:00
.gitreview correct gitreview setting for master 2018-09-20 23:24:29 +08:00
.zuul.yaml Add relnotes publish job 2018-10-12 15:21:30 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:37:19 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:19 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:37:19 -07:00
centos_helm.inc Adding a centos_helm.inc file for use by build-helm-charts 2018-11-14 10:49:11 -06:00
centos_iso_image.inc Refactor patches for rabbitmq-server package 2018-12-21 01:22:31 +00:00
centos_master_docker_images.inc Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
centos_pike_docker_images.inc Create stx-upstream docker image directives files 2018-11-14 15:17:42 -06:00
centos_pike_wheels.inc Update python-django-openstack-auth to build wheel 2018-12-19 09:22:51 -06:00
centos_pkg_dirs Refactor patches for rabbitmq-server package 2018-12-21 01:22:31 +00:00
centos_pkg_dirs_containers Add openstack-helm and openstack-helm-infra to containers build 2018-11-13 13:25:03 -06:00
test-requirements.txt flake8 codestyle fixes and tox flake8 setting enable 2018-08-24 23:19:50 +08:00
tox.ini fix tox python3 overrides 2018-10-05 11:05:44 +00:00

README.rst

stx-upstream

StarlingX Upstream Packages