StarlingX Integration and packaging
Go to file
Cole Walker 8e84309624 Add check to avoid restarting running device plugin pod
This script was set to always restart the local sriov device plugin pod
which could result in sriov pods not starting properly.

Originally, this sequence of commands would not work properly if the
device plugin was running

kubectl delete pods -n kube-system --selector=app=sriovdp
--field-selector=spec.nodeName=${HOST} --wait=false

kubectl wait pods -n kube-system --selector=app=sriovdp
--field-selector=spec.nodeName=${HOST} --for=condition=Ready
--timeout=360s

Result when device plugin is running:
pod "kube-sriov-device-plugin-amd64-rbjpw" deleted
pod/kube-sriov-device-plugin-amd64-rbjpw condition met

The wait command succeeds against the deleted pod and the script
continues. It then deletes labeled pods without having confirmed that
the device plugin is running and can result in sriov pods not starting
properly.

Ensuring that we are only restarting a not-running device plugin pod
prevents the wait condition from immediately passing.

Closes-Bug: 1928965

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I1cc576b26a4bba4eba4a088d33f918bb07ef3b0d
2021-06-09 17:24:48 -04:00
base systemd: Upgrade to version 219-78.el7_9.3 2021-04-27 02:09:27 +00:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
ceph/ceph Execute once the ceph services script on AIO 2021-05-20 18:08:47 +03:00
config Fix resize of filesystems in puppet logical_volume 2021-05-22 18:41:22 +03:00
database Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08: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/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
filesystem Unmount all targets during drbd stop 2021-04-20 17:35:24 -05:00
gpu/gpu-operator integ: add nvidia gpu-operator helm charts 2021-03-31 17:33:41 +00:00
grub grub2: fix CVE-2020-15707 2021-01-25 04:15:59 -05:00
kubernetes Add check to avoid restarting running device plugin pod 2021-06-09 17:24:48 -04:00
ldap Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking Add alternative command to disable lldp agent for i40e devices 2021-04-19 15:06:40 -04:00
python Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08: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 Copy shim.efi to /pxeboot for UEFI pxeboot support 2021-05-07 11:48:35 -04:00
storage-drivers Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
tools Fix storage topology pylint 2.5.0 error 2020-04-28 02:06:08 -04:00
virt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08: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
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 10:50:16 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07: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
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.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00
centos_pkg_dirs Merge "integ: add nvidia gpu-operator helm charts" 2021-04-07 11:49:01 +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 Add python-daemon to srpm list 2020-05-20 23:22:06 +08:00
centos_srpms_centos.lst systemd: Upgrade to version 219-78.el7_9.3 2021-04-27 02:09:27 +00:00
centos_stable_docker_images.inc Create Docker image for running Intel N3000 FPGA tools 2020-02-20 19:09:13 -05: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 Upversioning armada tarball to 7ef4b86 2021-04-26 09:21:21 -04:00
distroless_stable_docker_images.inc add intel-gpu-plugin docker image to stable docker image build 2019-07-16 09:48:24 +08:00
pylint.rc Filter new pylint warning W0707 2020-09-02 15:16:41 -04:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00

README.rst

integ

StarlingX Integration