integ/centos_iso_image.inc
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

220 lines
2.2 KiB
PHP

# List of packages to be included/installed in ISO
# If these have dependencies, they will be pulled in automatically
#
# qemu-kvm-ev
qemu-kvm-ev
qemu-img-ev
qemu-kvm-tools-ev
# libvirt
libvirt
libvirt-docs
libvirt-daemon
libvirt-daemon-config-network
libvirt-daemon-config-nwfilter
libvirt-daemon-driver-network
libvirt-daemon-driver-nwfilter
libvirt-daemon-driver-nodedev
libvirt-daemon-driver-secret
libvirt-daemon-driver-storage
libvirt-daemon-driver-qemu
libvirt-daemon-driver-lxc
libvirt-client
# python-ryu
python2-ryu
python-ryu-common
# lldpd
lldpd
# tss2
tss2
# libtpms
libtpms
# swtpm
swtpm
swtpm-cuse
swtpm-tools
# python-3parclient
python-3parclient
# python-lefthandclient
python-lefthandclient
# docker-distribution
docker-distribution
# helm
helm
# armada
armada
# rpm
rpm-plugin-systemd-inhibit
# dpkg
dpkg
# ldapscripts
ldapscripts
# drbd
drbd
drbd-utils
drbd-udev
drbd-pacemaker
drbd-heartbeat
drbd-bash-completion
# initscripts
initscripts
# setup
setup
# nss-pam-ldapd
nss-pam-ldapd
# nfs-utils series package
# dhcp
dhcp
dhclient
# openssh
openssh
openssh-clients
openssh-server
# facter
facter
# vim
vim-enhanced
# python
python
# libvirt-python
python2-libvirt
# lighttpd
lighttpd
lighttpd-fastcgi
lighttpd-mod_geoip
lighttpd-mod_mysql_vhost
# logrotate
logrotate
# novnc
novnc
# sudo
sudo
# config files
# net-snmp
net-snmp-utils
net-snmp-libs
net-snmp-python
# openldap
openldap
openldap-servers
openldap-clients
# openvswitch
openvswitch
# libevent
libevent
# tpm2-tools
tpm2-tools
# audit
# puppet
puppet
# systemd
systemd
# tboot
tboot
# memcached
memcached
# kubernetes
kubernetes
kubernetes-master
kubernetes-node
kubernetes-kubeadm
kubernetes-client
containerd
k8s-pod-recovery
# resource-agents
resource-agents
# haproxy
haproxy
# iptables
# python-psycopg2
python-psycopg2
# dnsmasq
dnsmasq
dnsmasq-utils
# parted
parted
# python-keyring
python-keyring
# grub2
grub2-tools
grub2-efi-x64-modules
# python2-ruamel-yaml
python2-ruamel-yaml
# redfish tool
Redfishtool
# kvm-timer-advance (AIO and worker nodes only)
kvm-timer-advance
# aws packages for interacting with amazon aws registry
# botocore is an unspecified requirement of boto3
python2-botocore
python-boto3