integ/centos_pkg_dirs
Robert Church 17c1b8894d Introduce k8s pod recovery service
Add a recovery service, started by systemd on a host boot, that waits
for pod transitions to stabilize and then takes corrective action for
the following set of conditions:
- Delete to restart pods stuck in an Unknown or Init:Unknown state for
  the 'openstack' and 'monitor' namespaces.
- Delete to restart Failed pods stuck in a NodeAffinity state that occur
  in any namespace.
- Delete to restart the libvirt pod in the 'openstack' namespace when
  any of its conditions (Initialized, Ready, ContainersReady,
  PodScheduled) are not True.

This will only recover pods specific to the host where the service is
installed.

This service is installed on all controller types. There is currently no
evidence that we need this on dedicated worker nodes.

Each of these conditions should to be evaluated after the next k8s
component rebase to determine if any of these recovery action can be
removed.

Change-Id: I0e304d1a2b0425624881f3b2d9c77f6568844196
Closes-Bug: #1893977
Signed-off-by: Robert Church <robert.church@windriver.com>
2020-09-03 23:38:41 -04:00

88 lines
2.1 KiB
Plaintext

base/initscripts
base/setup
base/dhcp
base/openssh
config/facter
virt/qemu
python/python-setuptools
virt/libvirt
virt/libvirt-python
base/lighttpd
networking/python-ryu
python/python-voluptuous
networking/lldpd
logging/logrotate
security/shim-unsigned
security/shim-signed
base/sudo
virt/cloud-init
base/watchdog
base/net-snmp
ldap/openldap
networking/openvswitch
base/libevent
security/tss2
security/tpm2-tools
security/libtpms
security/swtpm
security/spectre-meltdown-checker
config/puppet-4.8.2
config/puppet-modules/puppet-boolean-1.0.2
config/puppet-modules/puppet-create_resources
config/puppet-modules/puppet-dnsmasq
config/puppet-modules/puppet-drbd-0.3.1
config/puppet-modules/puppet-filemapper
config/puppet-modules/puppet-haproxy-1.5.0
config/puppet-modules/puppet-ldap
config/puppet-modules/puppet-lvm
config/puppet-modules/puppet-network
config/puppet-modules/puppet-nslcd
config/puppet-modules/puppet-postgresql-4.8.0
config/puppet-modules/puppet-puppi
config/puppet-modules/puppet-rabbitmq-5.5.0
config/puppet-modules/puppet-staging
config/puppet-modules/puppet-stdlib-4.12.0
config/puppet-modules/openstack/puppet-ceph-2.2.0
config/puppet-modules/openstack/puppet-horizon-9.5.0
config/puppet-modules/openstack/puppet-keystone-11.3.0
config/puppet-modules/openstack/puppet-openstacklib-11.3.0
config/puppet-modules/openstack/puppet-oslo-11.3.0
base/systemd
storage-drivers/python-3parclient
storage-drivers/python-lefthandclient
storage-drivers/trident-installer
security/tboot
docker/python-docker
kubernetes/containerd
kubernetes/kubernetes
kubernetes/docker-distribution
kubernetes/etcd
kubernetes/helm
kubernetes/chartmuseum
kubernetes/armada-helm-toolkit
kubernetes/armada
kubernetes/k8s-pod-recovery
grub/grubby
base/dpkg
base/cluster-resource-agents
base/libfdt
base/haproxy
base/ntp
ldap/ldapscripts
networking/net-tools
filesystem/drbd/drbd-tools
database/mariadb
database/python-psycopg2
base/dnsmasq
filesystem/parted
security/python-keyring
grub/grub2
ceph/ceph
bmc/Redfishtool
virt/kvm-timer-advance
requests-toolbelt
python/python-mechanize
python/python-html5lib
python/python-webencodings
python/python-daemon