system-config/roles-test
Ian Wienand 7f2e6f3325
roles/openafs-client: small overhaul of rpm builds
The main failure case for the openafs packages is when the images are
running an old kernel and upstream has moved on, and we only have
headers available for new kernels.  This usually indicates image
building is stuck.  This adds an inline check to make sure the running
kernel has headers available; if not it bails out with a clear
message.

When this does fail to build, we'd like to get some output of why the
service fails.  This adds an error handler to systemctl dump the
status on failure.

We can cleanup the build a bit to remove the centos7 builds now.

Finally, the log copying was broken -- the paths are different on
centos 8 and 9.  The extant "cp" would fail on centos8 and then the
chown would never run, so we wouldn't collect the build logs.  Make
this a find/cp pair too.

Change-Id: Iaa38357a8a683a474c38900f5dc322e088849416
2024-01-18 19:32:30 +11: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
puppet-install.yaml Remove Puppet 5 testing 2020-06-09 10:15:05 +10:00