upstream/openstack
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
..
cinder_conf_dummy StarlingX open source release updates 2018-05-31 07:37:19 -07:00
distributedcloud/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
distributedcloud-client/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
openstack-aodh/centos Refactor patches for openstack-aodh package 2018-12-01 02:56:14 +00:00
openstack-aodh-config Refactor patches for openstack-aodh package 2018-12-01 02:56:14 +00:00
openstack-helm Clean up the stale files 2019-01-16 10:04:52 -05:00
openstack-helm-infra backport some mariadb fixes from upstream 2018-12-12 10:27:34 -05:00
openstack-ironic/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
openstack-magnum/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
openstack-magnum-ui/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
openstack-murano/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
openstack-murano-ui/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
openstack-os-vif/centos Open vSwitch integration with host and configuration framework 2018-06-12 12:13:34 -05:00
openstack-panko/centos Refactor meta patch for openstack-panko 2018-12-17 01:56:26 +00:00
openstack-panko-config Refactor meta patch for openstack-panko 2018-12-17 01:56:26 +00:00
openstack-ras Move StarlingX OCF scripts into a stand alone package. 2018-09-25 13:47:31 -04:00
python-aodhclient/centos fix alarm interface 2018-10-18 12:13:03 -04:00
python-ceilometer Change compute node to worker node personality 2018-12-12 18:03:49 -05:00
python-ceilometerclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-cinder/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
python-cinderclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-django-openstack-auth/centos Update python-django-openstack-auth to build wheel 2018-12-19 09:22:51 -06:00
python-glance/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
python-glance-store/centos de-fuzz python-glance-store patch 2018-10-09 21:11:00 +08:00
python-glanceclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-gnocchi/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
python-gnocchiclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-heat Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
python-heatclient/centos de-fuzz python-heatclient patch 2018-10-09 22:38:43 +08:00
python-horizon/centos Update stx-horizon.master to include starlingx-dashboard 2019-01-04 14:02:57 -05:00
python-ironicclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-keystone/centos Add directives to build StarlingX services on master 2018-11-30 10:15:51 -06:00
python-keystoneauth1/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-keystoneclient StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-keystonemiddleware/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-magnumclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-muranoclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-networking-bgpvpn/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-networking-odl Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-networking-sfc/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-neutron Change compute node to worker node personality 2018-12-12 18:03:49 -05:00
python-neutron-dynamic-routing/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-neutron-lib/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-neutronclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-nova Add pam-config package to stx-nova 2018-12-19 09:19:31 -06:00
python-novaclient/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-openstackclient/centos Remove StarlingX custom QoS extension 2018-11-09 14:53:02 -05:00
python-openstackdocstheme/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-openstacksdk/centos Add hooks for python wheel generation 2018-10-23 10:36:17 -04:00
python-osc-lib/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-oslo-concurrency/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-oslo-messaging/centos StarlingX open source release updates 2018-05-31 07:37:19 -07:00
python-oslo-service/centos rebase python-oslo-service patch to CentOS7.5 2018-08-28 04:42:08 +08:00
python-wsme/centos de-fuzz python-wsme patches 2018-09-28 08:05:17 +08:00
rabbitmq-server/centos Refactor patches for rabbitmq-server package 2018-12-21 01:22:31 +00:00
rabbitmq-server-config Refactor patches for rabbitmq-server package 2018-12-21 01:22:31 +00:00
stx-ocf-scripts OCF scripts to manage Barbican processes as an HA resource. 2018-11-29 14:00:57 -05:00