]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
David Galloway [Wed, 24 Aug 2022 21:40:40 +0000 (17:40 -0400)]
cobbler: Put CentOS9 Stream repos in place during kickstart
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 23 Aug 2022 18:43:44 +0000 (12:43 -0600)]
Merge pull request #700 from ceph/el9
testnode: RHEL9 ceph_dependency_packages_to_remove
David Galloway [Wed, 17 Aug 2022 21:57:15 +0000 (17:57 -0400)]
testnode: Modify ceph_deps_pkgs_to_remove
Removing python-requests removed subscription-manager which understandably causes a massive problem.
This task/list of packages may not even be necessary anyway since it's a relic from the days we didn't reimage testnodes before every job.
Signed-off-by: David Galloway <dgallowa@redhat.com>
adam kraitman [Tue, 23 Aug 2022 17:32:49 +0000 (20:32 +0300)]
Merge pull request #699 from ceph/cobbler-module
Fixes to support Cobbler 3
David Galloway [Tue, 23 Aug 2022 17:03:29 +0000 (13:03 -0400)]
cobbler: Install ansible from epel on RHEL9
This used to be in pip_packages but the distro-provided one is new enough
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 23 Aug 2022 14:04:40 +0000 (10:04 -0400)]
cobbler: Fix conditional
Not always defined
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 23 Aug 2022 14:03:48 +0000 (10:03 -0400)]
cobbler: Define a ks_dir
Cobbler2: /var/lib/cobbler/kickstarts
Cobbler3: /var/lib/cobbler/templates
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 02:15:04 +0000 (22:15 -0400)]
cobbler: Define autoinstall flag based on version
Cobbler2: --kickstart
Cobbler3: --autoinstall
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 02:05:58 +0000 (22:05 -0400)]
cobbler: Define kernel options flag based on version
Cobbler2: --kopts
Cobbler3: --kernel-options
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 01:57:21 +0000 (21:57 -0400)]
cobbler: Convert var to int
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 01:38:56 +0000 (21:38 -0400)]
cobbler: Define settings file path based on version
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 01:32:28 +0000 (21:32 -0400)]
cobbler: Support RHEL8 when importing tasks and vars
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 22 Aug 2022 01:20:45 +0000 (21:20 -0400)]
cobbler: Enable Cobbler 3 Stream on RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 18 Aug 2022 15:32:40 +0000 (11:32 -0400)]
Merge pull request #698 from ceph/wip-ifupdown
ifup and ifdown has been deprecated replaced by ip link set $device u…
Adam Kraitman [Thu, 18 Aug 2022 13:47:50 +0000 (16:47 +0300)]
Adding the NetworkManager-initscripts-updown package to rhel9
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
adam kraitman [Thu, 18 Aug 2022 08:58:59 +0000 (11:58 +0300)]
Merge pull request #697 from ceph/el9
RHEL9 support
David Galloway [Wed, 17 Aug 2022 21:57:15 +0000 (17:57 -0400)]
testnode: RHEL9 vars/templates
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 17 Aug 2022 21:54:24 +0000 (17:54 -0400)]
common: No more lsb!
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 17 Aug 2022 21:52:53 +0000 (17:52 -0400)]
common: vars for rhel9
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 10 Aug 2022 23:12:19 +0000 (17:12 -0600)]
Merge pull request #696 from ceph/jammy-pdev
testnode: Move python-dev to distro-specific vars files
David Galloway [Wed, 10 Aug 2022 19:37:34 +0000 (15:37 -0400)]
testnode: Move python-dev to distro-specific vars files
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 5 Aug 2022 21:50:46 +0000 (15:50 -0600)]
Merge pull request #695 from ceph/sdc
cobbler: Install on sdc for cali systems
David Galloway [Fri, 5 Aug 2022 21:18:24 +0000 (17:18 -0400)]
cobbler: Install on sdc for cali systems
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 5 Aug 2022 20:08:28 +0000 (14:08 -0600)]
Merge pull request #694 from ceph/seriously
cobbler_systems: Set default_profile to a newer distro
David Galloway [Fri, 5 Aug 2022 19:45:23 +0000 (15:45 -0400)]
cobbler_systems: Set default_profile to a newer distro
I just chose RHEL8.6 because it's available in both Sepia and Octo labs. Ubuntu and CentOS aren't.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 5 Aug 2022 18:37:07 +0000 (12:37 -0600)]
Merge pull request #693 from ceph/jammy2
testnode: Ubuntu Jammy vars
David Galloway [Fri, 5 Aug 2022 16:35:37 +0000 (12:35 -0400)]
testnode: Ubuntu Jammy vars
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 26 Jul 2022 20:19:53 +0000 (14:19 -0600)]
Merge pull request #692 from ceph/incerta
tools: Playbook to configure incerta back NIC
David Galloway [Tue, 26 Jul 2022 19:04:15 +0000 (15:04 -0400)]
tools: Playbook to configure incerta back NIC
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 26 Jul 2022 18:01:59 +0000 (14:01 -0400)]
Merge pull request #673 from ceph/secondary-nic
Move secondary NIC tasks to common role
David Galloway [Mon, 25 Jul 2022 17:13:38 +0000 (13:13 -0400)]
Merge pull request #691 from ceph/containerized-testnodes
testnode: Skip stopping apache2 in containers
Zack Cerza [Mon, 25 Jul 2022 16:34:45 +0000 (10:34 -0600)]
testnode: Skip stopping apache2 in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 19 Jul 2022 18:39:14 +0000 (12:39 -0600)]
Merge pull request #690 from ceph/irvingi
David Galloway [Tue, 19 Jul 2022 18:37:04 +0000 (14:37 -0400)]
container-host: s/slaves/builders
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 14 Jul 2022 21:02:03 +0000 (14:02 -0700)]
Merge pull request #689 from ceph/fix-satellite
Reinstall Satellite CA Cert
David Galloway [Thu, 14 Jul 2022 18:53:06 +0000 (14:53 -0400)]
common: Remove, clean up, and reinstall Satellite CA cert
This reverts commit
ed59d0bb3f6470ecf62fc6af19663d0f674dd84e .
This was originally added because if one upgrades the Satellite server, the katello-ca-consumer-latest RPM actually gets an incremented version number and conflicts with an already installed katello-ca RPM. `rpm --reinstall` was not sufficient to "upgrade" the package.
We won't ever be upgrading the Satellite server again and the proper way to "reinstall" the Satellite's CA Cert is to remove it, subscription-manager clean, then reinstall as per https://access.redhat.com/solutions/
3336921 .
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 14 Jul 2022 14:24:09 +0000 (10:24 -0400)]
Merge pull request #688 from ceph/fix-docs
README: Make doc more specific/clear
David Galloway [Thu, 14 Jul 2022 14:23:35 +0000 (10:23 -0400)]
README: Make doc more specific/clear
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 28 Jun 2022 16:57:38 +0000 (10:57 -0600)]
Merge pull request #687 from ceph/zap-rhel
David Galloway [Tue, 28 Jun 2022 16:27:32 +0000 (12:27 -0400)]
testnode: No pkg tasks before repos are set up
Newer versions of RHEL8 don't like having yum called if they don't have repos setup.
When a RHEL8 machine gets provisioned via Cobbler, we zap the disks before we register the server to Satellite (or CDN).
We don't really need to check if gdisk and device-mapper are installed during a Cobbler install because we know they're installed in https://github.com/ceph/ceph-cm-ansible/blob/main/roles/cobbler/templates/snippets/cephlab_packages_rhel
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 28 Jun 2022 15:24:16 +0000 (11:24 -0400)]
Merge pull request #685 from ceph/curl
common: Install Satellite RPM via rpm command
David Galloway [Tue, 28 Jun 2022 14:43:07 +0000 (10:43 -0400)]
Merge pull request #686 from ceph/scripts
tools: Add a couple workstation scripts
David Galloway [Tue, 28 Jun 2022 14:31:33 +0000 (10:31 -0400)]
tools: Add a couple workstation scripts
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 27 Jun 2022 22:51:57 +0000 (18:51 -0400)]
common: Install Satellite RPM via rpm command
Seriously... https://access.redhat.com/solutions/
6438061
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 27 Jun 2022 16:05:33 +0000 (12:05 -0400)]
Merge pull request #683 from ceph/zap_disks_paren
testnode: Add missing parenthesis to conditional
adam kraitman [Mon, 27 Jun 2022 14:53:21 +0000 (17:53 +0300)]
Merge pull request #684 from ceph/fqdn
common: RHSM register w/ full hostname
David Galloway [Mon, 27 Jun 2022 14:29:08 +0000 (10:29 -0400)]
common: RHSM register w/ full hostname
For some reason, sometimes hosts try to register with their short hostname. Sometimes with the FQDN.
As of Satellite 6.5, the service won't let you register two different hostnames with the same UUID (https://access.redhat.com/solutions/
4207781 ).
This change makes sure all hosts register with the FQDN so there's no more conflicts.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 16 Jun 2022 21:51:51 +0000 (15:51 -0600)]
testnode: Add missing parenthesis to conditional
Signed-off-by: Zack Cerza <zack@redhat.com>
adam kraitman [Wed, 8 Jun 2022 19:50:10 +0000 (22:50 +0300)]
Merge pull request #682 from ceph/rhel86
cobbler: RHEL8.6
Zack Cerza [Wed, 8 Jun 2022 16:43:43 +0000 (10:43 -0600)]
Merge pull request #681 from ceph/true2
David Galloway [Wed, 8 Jun 2022 15:57:25 +0000 (11:57 -0400)]
cobbler: RHEL8.6
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 8 Jun 2022 14:05:49 +0000 (10:05 -0400)]
testnode: Fix jinja2 conditional
https://docs.ansible.com/ansible/latest/dev_guide/testing/sanity/no-tests-as-filters.html
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 31 May 2022 15:58:05 +0000 (11:58 -0400)]
Merge pull request #680 from ceph/wip-adding-rhel9
Adding rhel9 to sepia cobbler
Adam Kraitman [Mon, 30 May 2022 16:58:26 +0000 (19:58 +0300)]
Adding rhel9 to sepia cobbler
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
David Galloway [Tue, 24 May 2022 22:05:51 +0000 (18:05 -0400)]
Merge pull request #679 from ceph/inclusive-language
Inclusive language update
Zack Cerza [Tue, 24 May 2022 21:25:11 +0000 (15:25 -0600)]
Inclusive language update
Issues not addressed here:
- FOG still uses master
- lots of gitbuilder URLs in yaml files and docs referencing master
- named uses 'master zones'
Signed-off-by: Zack Cerza <zack@redhat.com>
adam kraitman [Mon, 16 May 2022 15:57:51 +0000 (18:57 +0300)]
Merge pull request #678 from ceph/mirrorsbroken
Work around rare CentOS infra mirror mismatch
David Galloway [Mon, 16 May 2022 15:41:11 +0000 (11:41 -0400)]
testnode: Work around rare CentOS infra mirror mismatch
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 16 May 2022 15:25:20 +0000 (11:25 -0400)]
testnode: Fix BaseOS repo name
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 2 May 2022 17:31:31 +0000 (13:31 -0400)]
Merge pull request #677 from ceph/nginx-yaml
teuthology: Serve yaml files as text/plain
Zack Cerza [Fri, 29 Apr 2022 20:30:18 +0000 (14:30 -0600)]
teuthology: Serve yaml files as text/plain
So browers display them rather than download.
Signed-off-by: Zack Cerza <zack@cerza.org>
Ilya Dryomov [Wed, 6 Apr 2022 10:52:53 +0000 (12:52 +0200)]
Merge pull request #676 from ceph/dedupe
testnode: Remove duplicated common_yum_repos
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 6 Apr 2022 10:43:11 +0000 (12:43 +0200)]
testnode: make it clearer that centos_8.yml and centos_8_stream.yml get combined
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
David Galloway [Tue, 5 Apr 2022 17:40:02 +0000 (13:40 -0400)]
testnode: Remove duplicated common_yum_repos
Signed-off-by: David Galloway <dgallowa@redhat.com>
adam kraitman [Tue, 5 Apr 2022 15:25:41 +0000 (18:25 +0300)]
Merge pull request #675 from ceph/gcc-stream
testnode: Fix CentOS 8 Stream packages list
David Galloway [Tue, 5 Apr 2022 15:07:25 +0000 (11:07 -0400)]
testnode: Fix CentOS 8 Stream packages list
I guess we were relying on a bug for the past few months. What would happen is centos_8.yml would get pulled in and the `packages` list got populated. Then later when we detect this is CentOS Stream, centos_8_stream.yml would get pulled in which overrode the original `packages` list.
Fixes: https://tracker.ceph.com/issues/55177
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 31 Mar 2022 22:11:32 +0000 (18:11 -0400)]
Merge pull request #674 from ceph/failover
common: failovermethod is deprecated
David Galloway [Thu, 31 Mar 2022 18:54:19 +0000 (14:54 -0400)]
common: failovermethod is deprecated
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 24 Mar 2022 20:30:28 +0000 (16:30 -0400)]
common: Document secondary_nic_mtu var
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 24 Mar 2022 19:14:26 +0000 (15:14 -0400)]
common: Refactor MTU setting
This allows us to define an 'mtu' per machine type in group_vars.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 24 Mar 2022 19:06:57 +0000 (15:06 -0400)]
common: Split out ethtool install so we can enable epel on CentOS
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 24 Mar 2022 19:00:47 +0000 (15:00 -0400)]
Move secondary-nic tag to common role
So I can use it for LRC hosts
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 17 Mar 2022 18:24:45 +0000 (12:24 -0600)]
Merge pull request #672 from ceph/containerized-nodes
Moving toward supporting containerized testnodes
Zack Cerza [Thu, 10 Feb 2022 21:15:08 +0000 (14:15 -0700)]
testnode: Ensure fuse, kvm and disk groups exist.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 7 Feb 2022 23:33:25 +0000 (16:33 -0700)]
testnode: Skip more kernel tasks in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 27 Jan 2022 20:55:11 +0000 (13:55 -0700)]
testnode: Skip static IP setup in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 27 Jan 2022 00:16:44 +0000 (17:16 -0700)]
testnode: Skip perl user_xattr stuff in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 26 Jan 2022 23:44:04 +0000 (16:44 -0700)]
common: Don't use systemd in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 26 Jan 2022 23:14:09 +0000 (16:14 -0700)]
users: Skip role if keys_repo is undefined
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Thu, 10 Mar 2022 21:31:19 +0000 (16:31 -0500)]
Merge pull request #671 from ceph/no-umount-var-log
testnode: Filter ansible_mounts with regex
Zack Cerza [Thu, 10 Mar 2022 20:51:51 +0000 (13:51 -0700)]
Merge pull request #666 from ceph/strea
Fix non-stream to stream conversion
Zack Cerza [Wed, 9 Mar 2022 02:50:57 +0000 (19:50 -0700)]
testnode: Filter ansible_mounts with regex
This catches cases where e.g. /var is on the root volume but /var/log is
not.
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Wed, 2 Feb 2022 22:20:07 +0000 (17:20 -0500)]
cobbler: Change the way we convert non-stream to stream
The old method doesn't work since the non-stream repos have moved.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 9 Mar 2022 23:21:49 +0000 (16:21 -0700)]
Merge pull request #662 from ceph/ubuntu2004
cobbler_profile: Update Ubuntu 20.04 image URL
Zack Cerza [Fri, 21 Jan 2022 18:58:19 +0000 (11:58 -0700)]
testnode: Skip certain actions in containers
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Fri, 11 Feb 2022 15:02:26 +0000 (10:02 -0500)]
Merge pull request #668 from ceph/fix-failure-log
failure_log: Use a default YAML representer
David Galloway [Fri, 11 Feb 2022 14:46:17 +0000 (09:46 -0500)]
Merge pull request #670 from ceph/osrelease
testnode: Alternate method of detecting Stream (for Openstack instances)
David Galloway [Thu, 10 Feb 2022 20:56:52 +0000 (15:56 -0500)]
testnode: Install lvm2 on CentOS 8 Stream
This package is missing from the vanilla Openstack instance image.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 10 Feb 2022 18:39:59 +0000 (13:39 -0500)]
testnode: Alternate method of detecting Stream
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 10 Feb 2022 17:40:58 +0000 (12:40 -0500)]
Merge pull request #669 from kshtsk/wip-supervisord-protect-home
roles/paddles: do not ProtectHome=true for supervisord
Kyr Shatskyy [Wed, 9 Feb 2022 23:11:36 +0000 (00:11 +0100)]
roles/paddles: do not ProtectHome=true for supervisord
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Zack Cerza [Wed, 9 Feb 2022 00:34:25 +0000 (17:34 -0700)]
failure_log: Use a default YAML representer
Before, we looked recursively for a certain Ansible type in the values
of the dict; this broke when another type was added in Ansible, but was
made worse by the type being used in _keys_, not just values.
This is a better method.
Signed-off-by: Zack Cerza <zack@redhat.com>
Casey Bodley [Thu, 3 Feb 2022 21:25:49 +0000 (16:25 -0500)]
Merge pull request #667 from cbodley/wip-arrow-revert
Revert "testnode: Add Apache Arrow repo"
Casey Bodley [Thu, 3 Feb 2022 19:30:22 +0000 (14:30 -0500)]
Revert "testnode: Add Apache Arrow repo"
This reverts commit
3f960fe1b6957bdfb551bd4e53ad275d0d446855 .
Signed-off-by: Casey Bodley <cbodley@redhat.com>
David Galloway [Wed, 2 Feb 2022 19:13:24 +0000 (14:13 -0500)]
cobbler_profile: Modernize dict combination
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 26 Jan 2022 20:59:15 +0000 (15:59 -0500)]
Merge pull request #665 from ceph/wip-dns-collision
nameserver: Check for and print IP collisions
David Galloway [Wed, 19 Jan 2022 17:48:51 +0000 (12:48 -0500)]
nameserver: Check for and print IP collisions
Signed-off-by: David Galloway <dgallowa@redhat.com>
adam kraitman [Thu, 23 Dec 2021 21:42:11 +0000 (23:42 +0200)]
Merge pull request #664 from ceph/downstream-podman
container-host: distro-specific secrets file
David Galloway [Thu, 23 Dec 2021 16:53:14 +0000 (11:53 -0500)]
container-host: distro-specific secrets file
`container_packages` was getting set to `podman` for all downstream distros. That won't work for Ubuntu so we'll use distro-specific secrets overrides.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 23 Dec 2021 15:06:42 +0000 (10:06 -0500)]
Merge pull request #663 from ceph/fix-epel
common: Fix epel repo template