openstack-zuul-jobs/roles
Clark Boylan e89e5dcb15 Update system packages and reboot when building centos openafs
We often hit issues with our CentOS arm images being slightly stale.
When this happens we get openafs package build errors because available
headers don't match the running kernel. Address this by updating the
entire running system and rebooting onto any new kernel before we build
the openafs package. This should ensure our local install matches
upstream packages when it comes to kernel packages.

We also manually select the new kernel as the default kernel and remove
the old kernel with grubby as dnf doesn't reliably update the kernel to
boot automatically on arm64 centos 9 images. This is likely due to this
issue:

  https://bugzilla.redhat.com/show_bug.cgi?id=2032680

Also switch package module installs to dnf module installs since all of
our installations are occuring on CentOS 9 or newer.

Change-Id: Idb42386071d6652312bb343923473a62c55e2828
2024-11-21 17:51:03 -08:00
..
build-pdf-docs linters: minor cosmetic updates 2022-07-28 15:22:44 +10:00
build-wheel-cache wheels: Add "wheel" to build venv 2022-05-25 09:30:38 +10:00
configure-swap Run latest ansible-lint on Ubuntu Noble 2024-10-07 12:36:32 -07:00
infra-deb-package-build Install fakeroot for openafs packaeg builds 2024-11-13 15:18:24 -08:00
infra-deb-ppa-push infra-deb-ppa-push: push to production repos 2022-05-10 17:09:55 +10:00
legacy-copy-jenkins-scripts Run latest ansible-lint on Ubuntu Noble 2024-10-07 12:36:32 -07:00
neutron-horizon-hack Remove the get_md5 parameter from ansible stat tasks 2024-08-01 13:18:37 -07:00
openafs-rpm-package-build Update system packages and reboot when building centos openafs 2024-11-21 17:51:03 -08:00
prepare-build-pdf-docs add tex-gyre package for tgtermes.sty 2021-07-26 14:41:21 +00:00
prepare-docs-for-afs Update include 2020-05-26 15:59:19 +02:00
prepare-infra-docs-for-afs Update include 2020-05-26 15:59:19 +02:00
prepare-zanata-client Run latest ansible-lint on Ubuntu Noble 2024-10-07 12:36:32 -07:00
set-service-type-data-fact linters: minor cosmetic updates 2022-07-28 15:22:44 +10:00