system-config/roles-test
Clark Boylan b5148387ba Upgrade and reboot test nodes before openafs installation
CentOS ARM in particular complains bitterly if we try to upgrade openafs
on it and the kernel it is running is stale compared to packges in the
mirrors. This happens if our images have lagged behind upstream package
updates. To mitigate this we upgrade and reboot the system prior to
testing openafs installation.

To make arm64 reboots onto the new kernel reliable we manually run
grubby --set-default to explicitly set the default kernel to boot to the
newly installed kernel. Then we remove the old kernel with grubby and
finally generate a new grub config. This is necessary likely due to:

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

Note we also do the reboot (but not grub(by) dance) on Debuntu for
symmetry.

Change-Id: If87a0b1d7dc063ac9122d85f65b6fe1c129d2052
2024-11-21 17:51:56 -08:00
..
base.yaml Create ansible roles to install puppet 2018-08-28 16:42:45 +10:00
openafs-client.yaml Role integration-tests : use a group match for openafs 2019-06-17 15:55:05 +10:00
post.yaml roles/openafs-client: small overhaul of rpm builds 2024-01-18 19:32:30 +11:00
pre.yaml Upgrade and reboot test nodes before openafs installation 2024-11-21 17:51:56 -08:00
puppet-install.yaml Remove Puppet 5 testing 2020-06-09 10:15:05 +10:00