Commit Graph

8 Commits

Author SHA1 Message Date
Ian Wienand 4c5030e478
openafs-client: get logs better
I'm not sure if something changed in dkms, but this log file is
helpful on centos 9-stream and the other check doesn't match anything.

Also update the README.rst slightly to be more in line with reality.

Change-Id: Ic8cab980ef43490eb1b3ca0b7a0d0c2329bb94ce
2023-04-27 16:12:00 +10:00
Ian Wienand 039aae5fa7
openafs: copy dkms log directory
Grab the make logs from the dkms directory.  This is helpful if the
modules are failing to build.

The /var/lib/dkms directory contains all the source and object files,
etc., which seems unnecessary to store in general.  Thus we just trim
this to the log directory.

Change-Id: I9b5abc9cf4cd59305470a04dda487dfdfd1b395a
2022-11-21 10:33:11 +11:00
Ian Wienand 57e29c3680 system-config-roles: only match jobs on roles tested
It seems we have some debugging to do on the openafs roles.  The other
roles here, particularly the bazelisk one, aren't tested here, so
reduce the file matcher.

We can overhaul this more, but it seems like a post-puppet/xenial
thing to do.

Change-Id: I0a41ef48eab0560a23a4e29463435dfe0758d01e
2021-05-07 11:05:21 +10:00
Ian Wienand 4fa8e22ffc Remove Puppet 5 testing
We have pivoted to Ansible and We don't use puppet5 anywhere.  Stop
testing on Bionic as we're not really interested in maintaing it, and
remove the puppet-install installation path there so we don't have
code that isn't being tested.

Change-Id: Ia2d05f7c75e46bc01717d11457b832e42522fa95
2020-06-09 10:15:05 +10:00
Ian Wienand 6256d26f47 Role integration-tests : use a group match for openafs
This adds a group match for the openafs hosts.  This is so a further
role can run kafs separately.

Change-Id: I5ade7a4c34c89f79012fbcd85efcefddb9c0e810
2019-06-17 15:55:05 +10:00
Clark Boylan 9c465131db Make kdc03 the master kerberos kdc and admin server
This change will convert kdc03 to a master from a hot standby and will
remove kdc01 from management.

Cutover plan:
  Disable kdc01 in ansible emergeny file
  Stop run-kprop cron on kdc01
  Stop kadmind on kdc01
  Execute run-kprop.sh on kdc01
  Merge this change
  Wait for puppet to convert kdc03 to the master
  Confirm that run-kprop works from kdc03 to kdc04
  Update dns records as documented in our kerberos docs
  Test kadmin works
  Delete old kdc01 server

Change-Id: Ib14b11fa1f0a6bc11b0f615ce5b6f6be214b5629
2019-02-22 15:47:49 -08:00
Ian Wienand ee7faefe08 Create ansible roles to install puppet
Currently our puppet-requiring hosts (all !bridge) do not manage their
puppet installs.  This is OK for existing servers, but new servers
come up without puppet installed.

This is playbooks to manage puppet installs on hosts.  It is mostly a
port of the relevant parts of ./install_puppet.sh for our various
control-plane platforms.

Basic testing with zuul-integration jobs is added.  Using this in the
control-plane base.yaml playbooks will be a follow-on.

Change-Id: Id5b2f5eb0f1ade198acf53a7c886dd5b3ab79816
2018-08-28 16:42:45 +10:00
Ian Wienand 7bfb0db43f Add role integration jobs
The top-level roles in roles/* should be usable as roles under Zuul
and as generic Ansible roles (for control plane).

Add an integration job to ensure this.  Start with the kerberos and
afs roles.

Change-Id: I9f5d572d5f69ca4b58e6e62b06fc873fe7a1e2f0
2018-08-28 11:28:42 +10:00