StarlingX Integration and packaging
Go to file
Andre Kantek 1c628f50a6 Test kube-api server availability for longer time
It was observed that during dead office recovery (when all nodes
restart simultaneously) that the availability of kube-api-server can
be larger than the current wait loops used to check pod stabilization.
This can lead to a failed execution of important pod operations to
recover them to normal operation.

This change adds an initial specific loop to wait for the API server
availability, in case of failure it exits the script and now the
service is marked as failed which will trigger new attempts to execute
in case of failure (with a 10s interval between service executions).

A 5 minutes time was chosen to have a better chance of finishing the
script without needing to have systemd to restart the service.

The monitoring is done using the instructions in:
https://kubernetes.io/docs/reference/using-api/health-checks/

Test Plan:
install AIO-DX and:
[PASS] execute nodes lock/unlock and observe the service correct
       execution, kube-api is immediately available.
[PASS] execute simultaneous node reboots and observe that the service
       remains waiting for kube-api server for some time (in vbox
       it was 2.5min) and after that it executes the script

Closes-Bug: 2089864

Change-Id: I0d77da1735ecb829ab1da013fe93431688e4cb97
Signed-off-by: Andre Kantek <andrefernandozanella.kantek@windriver.com>
2024-11-29 15:04:33 -03:00
base Remove sw-patch-agent from systemd presets 2024-11-25 08:53:11 -03:00
bmc Merge "Remove CentOS/OpenSUSE build support" 2024-05-22 15:14:42 +00:00
centos-debian-compat Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
ceph/ceph Merge "Start Ceph processes before start monitoring" 2024-11-06 19:10:09 +00:00
config Dynamize Postgres Auth Method Definition 2024-09-26 20:04:41 +02:00
database/mariadb/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Fix tox-docs failing sphinx 2023-08-29 16:52:04 -03:00
docker/python-docker/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
filesystem Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
golang-github-dev fix golang-github-golang-jwt-jwt-dev url 2024-01-31 10:39:34 -05:00
gpu/gpu-operator Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
grub Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
kata-containers/debian Changing Kata-container files path. 2024-10-28 15:58:45 -03:00
kubernetes Test kube-api server availability for longer time 2024-11-29 15:04:33 -03:00
ldap Merge "Change ldapsetpasswd error message" 2024-06-03 16:24:57 +00:00
networking Correct support for gateway address checking in dual-stack 2024-09-09 10:30:31 -03:00
ostree Make sure the default driver is the in-tree drivers 2024-10-17 01:08:52 +00:00
python Debian: setuptools: fix CVE-2022-40897/CVE-2024-6345 2024-09-26 16:52:28 +08:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
security Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
storage-drivers/trident-installer/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
tools Update parse_schedtop to accomodate fields: D, bmax, cgroup 2024-11-19 14:00:32 -05:00
virt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.pylintrc tox: fixed warnings 2023-09-06 17:54:55 -03:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Fix crashdump could not generate after kernel upgrade 2024-11-02 00:11:19 +08:00
debian_pkg_dirs Fix crashdump could not generate after kernel upgrade 2024-11-02 00:11:19 +08:00
debian_stable_docker_images.inc Disable n3000 container build 2024-07-03 10:43:52 -04:00
distroless_stable_docker_images.inc Remove Armada related packages from stx build 2023-09-27 18:58:13 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00
tox.ini Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00

integ

StarlingX Integration