StarlingX Integration and packaging
Go to file
Andre Fernando Zanella Kantek e3705e6046 Execute one extra attempt to restore SRIOV device plugin
The service k8s-pod-recovery failed to restore the SRIOV device
plugin, necessary for pods that use SRIOV interfaces to create the
resource, those pods need to add the label 'restart-on-reboot=true'
to be restarted during boot. The failure was observed during an
upgrade, and although rare, it left the operator to actuate by
manually restarting the pods later.

This change adds a wait for the pod stabilization (it is considered
stable when stops the state transitions) and, if still in failure,
execute 2 attempts to restore the plugin. Logs were added to better
register the pod state in case of an error.

Test Plan:
[PASS]  execute 7 upgrades in an AIO-SX lab

Closes-Bug: 1999074

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: I838c35d3e0a3557c71344945a8e00f22ccb50eb4
2022-12-09 05:59:33 -05:00
base Merge "Debian: Add missing patches in pf-bb-config" 2022-11-25 18:20:07 +00:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
centos-debian-compat debian: Split out system presets into separate pkg 2022-09-27 08:21:20 +00:00
ceph/ceph Merge "ceph-manage-journal: add support for mpath device" 2022-05-24 15:58:07 +00:00
config Increase timeout for openstack commands 2022-10-20 10:34:03 -03:00
database Fix the stx-mariadb docker build errors 2022-08-18 13:39:29 +00:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
filesystem debian: Create /drbd directory 2022-06-06 06:27:54 +00:00
golang-github-dev debian-pkg: Uprev cni plugins 2022-10-07 15:01:49 +00:00
gpu/gpu-operator Debian: Do not install gpu-operator into ISO 2022-09-21 14:25:50 +00:00
grub Debian: grub-efi: porting from LAT 2022-10-08 21:50:14 -04:00
kubernetes Execute one extra attempt to restore SRIOV device plugin 2022-12-09 05:59:33 -05:00
ldap Merge "Remove nslcd and related packages on Debian" 2022-08-26 19:06:05 +00:00
livepatch/kpatch/debian kpatch: drop the unnecessary dependencies while target build disabled 2022-11-22 04:32:02 -05:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking debian: Fix openvswitch-vtep shutdown 2022-10-20 09:30:36 -04:00
ostree Make root and var filesystems LVM based 2022-11-22 12:51:47 +02:00
python Create Debian zerorpc-python package 2022-11-14 15:43:13 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security Merge "Debian: shim-unsigned: porting from LAT" 2022-10-17 17:52:29 +00:00
storage-drivers Upgrade Trident to 22.07.0 version. 2022-10-19 08:22:41 -04:00
tools Merge "CentOS: kdump: remove unnecessary bootargs" 2022-12-01 11:00:40 +00:00
virt Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03: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
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst networking: Update keepalived from 1.3.5 to 2.1.5 2021-11-12 12:12:16 -05:00
centos_srpms_centos.lst CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
centos_stable_docker_images.inc Remove k8s-cni-sriov docker image 2022-06-07 21:52:00 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst Merge "Upgrade Trident to 22.07.0 version." 2022-10-19 17:43:53 +00: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 Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03:00
debian_pkg_dirs Debian: Add build structure for virt/libvirt 2022-11-18 18:10:54 -03:00
debian_stable_docker_images.inc Build Debian image(s): n3000-opae 2022-08-29 18:37:10 +00:00
distroless_stable_docker_images.inc Remove k8s-plugin-sriov-network-device image 2022-08-31 14:03:22 -04:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
pylint.rc Updating the pylint tox target to reflect its targets 2021-11-04 10:22:24 -05:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00

integ

StarlingX Integration