ceph-cm-ansible.git
3 years agotestnode: Basic filesystem and mountpoint support 592/head
David Galloway [Tue, 1 Dec 2020 18:23:10 +0000 (13:23 -0500)]
testnode: Basic filesystem and mountpoint support

Fixes: https://tracker.ceph.com/issues/6373
This will really only be useful is `drives_to_partition` or `logical_volumes` gets overridden in ansible.cephlab overrides in teuthology yaml.  e.g.,

```
overrides:
  ansible.cephlab:
    vars:
      drives_to_partition:
        nvme0n1:
          device: "/dev/nvme0n1"
          unit: "GB"
          sizes:
            - "0 80"
            - "80 160"
            - "160 240"
            - "240 320"
            - "320 340"
            - "340 400"
          scratch_devs:
            - p1
            - p2
            - p3
            - p4
      filesystems:
        nvme0n1p6:
          device: "/dev/nvme0n1p6"
          fstype: xfs
          mountpoint: "/var/cache/fscache"
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #590 from ceph/wip-smart-bruuni
adam kraitman [Wed, 25 Nov 2020 16:00:33 +0000 (18:00 +0200)]
Merge pull request #590 from ceph/wip-smart-bruuni

smart.sh enhancements for totally failed drives

3 years agocommon: smart.sh - print serial numbers of bad drives 590/head
David Galloway [Wed, 25 Nov 2020 15:23:00 +0000 (10:23 -0500)]
common: smart.sh - print serial numbers of bad drives

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agocommon: smart.sh - sort failure messages
David Galloway [Wed, 25 Nov 2020 15:02:58 +0000 (10:02 -0500)]
common: smart.sh - sort failure messages

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agocommon: Support smart.sh report failed drive
David Galloway [Wed, 25 Nov 2020 14:56:58 +0000 (09:56 -0500)]
common: Support smart.sh report failed drive

The SSDs in the bruuni, specifically, have mostly catastrophically failed.  There are no details about sectors in the SMART output.  Just obvious failure.  `smart.sh` wasn't capable of detecting that.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #589 from ceph/wip-trust-dockermirror
Dan Mick [Fri, 20 Nov 2020 02:31:06 +0000 (18:31 -0800)]
Merge pull request #589 from ceph/wip-trust-dockermirror

common: Support for container mirror CA certs

3 years agocommon: Support for container mirror CA certs 589/head
David Galloway [Thu, 19 Nov 2020 01:57:35 +0000 (20:57 -0500)]
common: Support for container mirror CA certs

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #588 from ceph/wip-chrony-step
adam kraitman [Sun, 15 Nov 2020 12:33:09 +0000 (14:33 +0200)]
Merge pull request #588 from ceph/wip-chrony-step

Modify playbook to function with chrony

3 years agoModify playbook to function with chrony 588/head
David Galloway [Fri, 13 Nov 2020 17:04:42 +0000 (12:04 -0500)]
Modify playbook to function with chrony

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #587 from ceph/wip-rhel83
adam kraitman [Tue, 10 Nov 2020 21:25:48 +0000 (23:25 +0200)]
Merge pull request #587 from ceph/wip-rhel83

Add RHEL8.3

3 years agoAdd RHEL8.3 587/head
David Galloway [Tue, 27 Oct 2020 19:44:22 +0000 (15:44 -0400)]
Add RHEL8.3

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #586 from ceph/wip-rhel79-centos82-cobbler
David Galloway [Mon, 26 Oct 2020 13:46:50 +0000 (09:46 -0400)]
Merge pull request #586 from ceph/wip-rhel79-centos82-cobbler

Adding RHEL7.9 and Centos8.2 to Sepia & Octo

3 years agoAdding RHEL7.9 and Centos8.2 to Sepia & Octo 586/head
Adam Kraitman [Sun, 25 Oct 2020 18:20:47 +0000 (20:20 +0200)]
Adding RHEL7.9 and Centos8.2 to Sepia & Octo

Signed-off-by: Adam Kraitman <akraitma@redhat.com>
3 years agoMerge pull request #585 from ceph/wip-lvm2
David Galloway [Tue, 20 Oct 2020 16:36:13 +0000 (12:36 -0400)]
Merge pull request #585 from ceph/wip-lvm2

testnode: Install lvm2 on RHEL8 machines

3 years agotestnode: Install lvm2 on RHEL8 machines 585/head
David Galloway [Tue, 20 Oct 2020 15:48:38 +0000 (11:48 -0400)]
testnode: Install lvm2 on RHEL8 machines

The PSI nodes downstream don't have lvm2 pre-installed like the baremetal ISO image.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #584 from ceph/wip-centos7-aarch64
David Galloway [Wed, 7 Oct 2020 20:02:23 +0000 (16:02 -0400)]
Merge pull request #584 from ceph/wip-centos7-aarch64

Adding Centos-7.8-aarch64 to cobbler

3 years agoAdding Centos-7.8-aarch64 to cobbler 584/head
Adam Kraitman [Tue, 29 Sep 2020 14:25:34 +0000 (17:25 +0300)]
Adding Centos-7.8-aarch64 to cobbler

Signed-off-by: Adam Kraitman <akraitma@redhat.com>
3 years agoMerge pull request #583 from dmick/master
David Galloway [Tue, 25 Aug 2020 20:38:08 +0000 (16:38 -0400)]
Merge pull request #583 from dmick/master

teuthology nginx: add gzip_ variables to allow compressed responses

3 years agoteuthology nginx: add gzip_ variables to allow compressed responses 583/head
Dan Mick [Tue, 25 Aug 2020 20:31:43 +0000 (20:31 +0000)]
teuthology nginx: add gzip_ variables to allow compressed responses

in particular, gzip_static on allows the server to return file.gz
(if compression is allowable) for files that are requested as "file".
This handles the teuthology.log.gz files that are still referred to as
teuthology.log from pulpito pages.

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #582 from kshtsk/wip-libvirt-zap
David Galloway [Fri, 14 Aug 2020 15:59:47 +0000 (11:59 -0400)]
Merge pull request #582 from kshtsk/wip-libvirt-zap

testnode: don't zap 'sr' devices

3 years agotestnode: don't zap 'sr' devices 582/head
Kyr Shatskyy [Fri, 14 Aug 2020 13:27:53 +0000 (15:27 +0200)]
testnode: don't zap 'sr' devices

We don't need zapping of libvirt dvd devices

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoMerge pull request #581 from ceph/wip-option-hostname
David Galloway [Fri, 17 Jul 2020 17:00:23 +0000 (13:00 -0400)]
Merge pull request #581 from ceph/wip-option-hostname

dhcp-server: Support for `option host-name` declaration

3 years agodhcp-server: Support for `option host-name` declaration 581/head
David Galloway [Fri, 17 Jul 2020 16:57:37 +0000 (12:57 -0400)]
dhcp-server: Support for `option host-name` declaration

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #580 from ceph/wip-cephkernelugh
adam kraitman [Thu, 16 Jul 2020 12:26:40 +0000 (15:26 +0300)]
Merge pull request #580 from ceph/wip-cephkernelugh

all: Ignore more warnings about systemd failing to control init scripts

3 years agoMerge pull request #579 from ceph/wip-no-copr
adam kraitman [Thu, 16 Jul 2020 12:25:07 +0000 (15:25 +0300)]
Merge pull request #579 from ceph/wip-no-copr

testnode: Stop using Ken's copr repo

3 years agoall: Ignore more warnings about systemd failing to control init scripts 580/head
David Galloway [Wed, 15 Jul 2020 15:05:02 +0000 (11:05 -0400)]
all: Ignore more warnings about systemd failing to control init scripts

Follow-up to https://github.com/ceph/ceph-cm-ansible/pull/578

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agotestnode: Stop using Ken's copr repo 579/head
David Galloway [Mon, 13 Jul 2020 17:40:50 +0000 (13:40 -0400)]
testnode: Stop using Ken's copr repo

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #578 from ceph/wip-systemd-init
adam kraitman [Thu, 18 Jun 2020 07:43:33 +0000 (10:43 +0300)]
Merge pull request #578 from ceph/wip-systemd-init

all: Ignore warnings about systemd failing to control init scripts

3 years agoall: Ignore warnings about systemd failing to control init scripts 578/head
David Galloway [Wed, 17 Jun 2020 14:50:46 +0000 (10:50 -0400)]
all: Ignore warnings about systemd failing to control init scripts

Using the systemd ansible module doesn't help either

https://github.com/ansible/ansible/issues/36585
https://github.com/ansible/ansible/issues/22171

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #577 from ceph/wip-fix-gen
adam kraitman [Mon, 15 Jun 2020 12:35:34 +0000 (15:35 +0300)]
Merge pull request #577 from ceph/wip-fix-gen

generate-fog-csv: Only print a line if the MAC is defined

3 years agogenerate-fog-csv: Only print a line if the MAC is defined 577/head
David Galloway [Thu, 11 Jun 2020 19:14:53 +0000 (15:14 -0400)]
generate-fog-csv: Only print a line if the MAC is defined

There's some hosts that are "cobbler_managed" but don't have a MAC and don't need a MAC.  Ansible doesn't help us out any here and print WHICH host doesn't have a MAC.  Just throws an error.

Also, there's no need to gather facts on localhost so I set that to `false`

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #576 from ceph/wip-abrt
Zack Cerza [Tue, 2 Jun 2020 22:07:36 +0000 (16:07 -0600)]
Merge pull request #576 from ceph/wip-abrt

testnode: Configure ABRT

3 years agotestnode: Configure ABRT 576/head
David Galloway [Tue, 2 Jun 2020 18:50:42 +0000 (14:50 -0400)]
testnode: Configure ABRT

Rachana requested this.

Fixes: https://tracker.ceph.com/issues/45824
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #575 from ceph/wip-fw-whoops
adam kraitman [Sun, 31 May 2020 12:15:40 +0000 (15:15 +0300)]
Merge pull request #575 from ceph/wip-fw-whoops

dhcp-server: firewalld_cmd.msg has to be defined to be evaluated

3 years agodhcp-server: firewalld_cmd.msg has to be defined to be evaluated 575/head
David Galloway [Thu, 28 May 2020 16:45:22 +0000 (12:45 -0400)]
dhcp-server: firewalld_cmd.msg has to be defined to be evaluated

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #574 from ceph/wip-nofw-is-fine
adam kraitman [Wed, 27 May 2020 17:28:24 +0000 (20:28 +0300)]
Merge pull request #574 from ceph/wip-nofw-is-fine

dhcp-server: Skip configuring firewalld if not installed

3 years agodhcp-server: Skip configuring firewalld if not installed 574/head
David Galloway [Wed, 27 May 2020 16:08:02 +0000 (12:08 -0400)]
dhcp-server: Skip configuring firewalld if not installed

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #573 from ceph/wip-rc-time
Zack Cerza [Fri, 15 May 2020 16:29:35 +0000 (10:29 -0600)]
Merge pull request #573 from ceph/wip-rc-time

cobbler: Print the date during rc.local

3 years agocobbler: Print the date during rc.local 573/head
David Galloway [Fri, 15 May 2020 14:37:55 +0000 (10:37 -0400)]
cobbler: Print the date during rc.local

This would have been particularly useful before https://tracker.ceph.com/issues/45341 got fixed so I could say *definitively* that the NIC bouncing was to blame for job failures but it can't hurt to have it now.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #572 from ceph/wip-fk
David Galloway [Thu, 30 Apr 2020 18:18:05 +0000 (14:18 -0400)]
Merge pull request #572 from ceph/wip-fk

common: Retry registering for 2 minutes

3 years agocommon: Retry registering for 2 minutes 572/head
David Galloway [Thu, 30 Apr 2020 18:17:31 +0000 (14:17 -0400)]
common: Retry registering for 2 minutes

Satellite, you make me very sad.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #571 from ceph/wip-no-base
David Galloway [Thu, 30 Apr 2020 18:17:01 +0000 (14:17 -0400)]
Merge pull request #571 from ceph/wip-no-base

testnode: Don't attempt to install base or core

3 years agotestnode: Don't attempt to install base or core 571/head
David Galloway [Thu, 30 Apr 2020 18:11:48 +0000 (14:11 -0400)]
testnode: Don't attempt to install base or core

These groups are already taken care of during Cobbler installation.  We're hitting https://bugzilla.redhat.com/show_bug.cgi?id=1782899 in RHEL8 so let's not bother trying to reinstall during ceph-cm-ansible.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #570 from ceph/wip-release-register
adam kraitman [Thu, 30 Apr 2020 15:36:37 +0000 (18:36 +0300)]
Merge pull request #570 from ceph/wip-release-register

Streamline RHSM transactions

3 years agocommon: Streamline RHEL repo registration 570/head
David Galloway [Thu, 30 Apr 2020 14:48:11 +0000 (10:48 -0400)]
common: Streamline RHEL repo registration

Same thing here as the last commit.  Satellite has slowed down significantly so the first repo would get enabled successfully but the Satellite DB hadn't caught up yet so subsequent repo enablements would throw 500 errors.  This enables all the appropriate repos at the same time reducing the number of times we have to interact with Satellite.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agocommon: Set release when registering
David Galloway [Thu, 30 Apr 2020 14:37:49 +0000 (10:37 -0400)]
common: Set release when registering

Because we're running Satellite in a VM in RHV on Gluster, we get really slow I/O performance.  Sadly *well* below the recommended performance: https://access.redhat.com/solutions/3397771

When attempting to set the release in a task later in this tasklist, Satellite would throw 500 errors because it was busy still trying to let the postgres DB know the system had been registered.

Setting the release during registration will save minutes per registration.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #569 from ceph/wip-retry
David Galloway [Wed, 29 Apr 2020 20:58:29 +0000 (16:58 -0400)]
Merge pull request #569 from ceph/wip-retry

common: Retry setting release for 2 minutes

3 years agocommon: Retry setting release for 2 minutes 569/head
David Galloway [Wed, 29 Apr 2020 20:57:39 +0000 (16:57 -0400)]
common: Retry setting release for 2 minutes

Getting really REALLY sick of workarounds for ~*~Satellite~*~

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #568 from ceph/wip-retry
David Galloway [Wed, 29 Apr 2020 18:56:41 +0000 (14:56 -0400)]
Merge pull request #568 from ceph/wip-retry

common: Retries does nothing without until

3 years agocommon: Retries does nothing without until 568/head
David Galloway [Wed, 29 Apr 2020 18:44:06 +0000 (14:44 -0400)]
common: Retries does nothing without until

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #567 from ceph/wip-retry
David Galloway [Wed, 29 Apr 2020 17:07:33 +0000 (13:07 -0400)]
Merge pull request #567 from ceph/wip-retry

common: Retry setting rhsm release

3 years agocommon: Retry setting rhsm release 567/head
David Galloway [Wed, 29 Apr 2020 16:53:14 +0000 (12:53 -0400)]
common: Retry setting rhsm release

Why is this even necessary, Satellite?!

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #566 from ceph/wip-set-release
Zack Cerza [Tue, 28 Apr 2020 21:10:57 +0000 (15:10 -0600)]
Merge pull request #566 from ceph/wip-set-release

common: Define release with subscription-manager

3 years agocommon: Define release with subscription-manager 566/head
David Galloway [Tue, 28 Apr 2020 20:39:16 +0000 (16:39 -0400)]
common: Define release with subscription-manager

See comment

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #565 from ceph/wip-c8
adam kraitman [Sun, 26 Apr 2020 15:51:05 +0000 (18:51 +0300)]
Merge pull request #565 from ceph/wip-c8

testnode: Fix CentOS repo mirrorlists

3 years agotestnode: Fix CentOS repo mirrorlists 565/head
David Galloway [Sun, 26 Apr 2020 15:48:00 +0000 (11:48 -0400)]
testnode: Fix CentOS repo mirrorlists

I think there used to be individual directories with the ansible_lsb.release in the path but now there only seems to be "8" and "8.1.1911" so we'll just use 8.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #564 from ceph/wip-fix-c8
David Galloway [Fri, 24 Apr 2020 18:22:25 +0000 (14:22 -0400)]
Merge pull request #564 from ceph/wip-fix-c8

testnode: Fix pip vars for CentOS/RHEL8

3 years agotestnode: Fix pip vars for CentOS/RHEL8 564/head
David Galloway [Fri, 24 Apr 2020 18:20:56 +0000 (14:20 -0400)]
testnode: Fix pip vars for CentOS/RHEL8

Apparently ansible is smart enough to figure this out on CentOS/RHEL8 (python3 distros) but not Ubuntu Focal.  So when I manually set the vars for a python3 distro and only included Fossa, it broke CentOS8.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #563 from ceph/wip-focal
Andrew Schoen [Fri, 24 Apr 2020 17:52:34 +0000 (12:52 -0500)]
Merge pull request #563 from ceph/wip-focal

Focal Fossa

3 years agotestnode: Update pip tasks to support pip3 563/head
David Galloway [Fri, 24 Apr 2020 16:29:05 +0000 (12:29 -0400)]
testnode: Update pip tasks to support pip3

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agotestnode: Shuffle package lists around to support Ubuntu 20.04
David Galloway [Fri, 24 Apr 2020 16:26:48 +0000 (12:26 -0400)]
testnode: Shuffle package lists around to support Ubuntu 20.04

It appears Focal doesn't come with python2 anything so the python2 packages are no longer "common" across all Ubuntu distros.

I moved them out of `common_packages` and added them to the appropriate package lists for each distro_majorversion.yml back to Xenial.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agotestnode: SSH config for Ubuntu 20.04
David Galloway [Fri, 24 Apr 2020 16:26:34 +0000 (12:26 -0400)]
testnode: SSH config for Ubuntu 20.04

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agocobbler: Add Ubuntu 20.04 support
David Galloway [Fri, 24 Apr 2020 16:22:40 +0000 (12:22 -0400)]
cobbler: Add Ubuntu 20.04 support

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #562 from ceph/wip-nrpeopts
adam kraitman [Thu, 23 Apr 2020 14:10:58 +0000 (17:10 +0300)]
Merge pull request #562 from ceph/wip-nrpeopts

common: Also define new NRPE_OPTS var

3 years agocommon: Also define new NRPE_OPTS var 562/head
David Galloway [Thu, 23 Apr 2020 13:57:12 +0000 (09:57 -0400)]
common: Also define new NRPE_OPTS var

Not sure if this was a change in new NRPE or Ubuntu but let's just set both and cover our bases

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #561 from lxbsz/iozone
David Galloway [Thu, 16 Apr 2020 13:39:57 +0000 (09:39 -0400)]
Merge pull request #561 from lxbsz/iozone

testnode: install iozone package from sepia lab repo

4 years agotestnode: install iozone package from spia lab repo 561/head
Xiubo Li [Thu, 16 Apr 2020 09:27:05 +0000 (05:27 -0400)]
testnode: install iozone package from spia lab repo

The iozone package is remove from centos/rhel 8 dues to the license
issue, and this will install the package from the spia lab repo.

Fixes: https://tracker.ceph.com/issues/43600
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge pull request #559 from ceph/wip-additional-repos
Zack Cerza [Tue, 7 Apr 2020 19:36:06 +0000 (13:36 -0600)]
Merge pull request #559 from ceph/wip-additional-repos

testnode: Add support for additional yum repos defined in secrets

4 years agoMerge pull request #558 from ceph/wip-if-inrange
adam kraitman [Sun, 5 Apr 2020 10:20:55 +0000 (13:20 +0300)]
Merge pull request #558 from ceph/wip-if-inrange

dhcp-server: Only create host declaration if its IP is in subnet we'r…

4 years agoMerge pull request #560 from ceph/wip-cobbler-mac
Dan Mick [Fri, 3 Apr 2020 17:44:20 +0000 (10:44 -0700)]
Merge pull request #560 from ceph/wip-cobbler-mac

cobbler_systems: Only update systems if mac and ip are defined

4 years agocobbler_systems: Only update systems if mac and ip are defined 560/head
David Galloway [Fri, 3 Apr 2020 16:08:51 +0000 (12:08 -0400)]
cobbler_systems: Only update systems if mac and ip are defined

We must have some systems that snuck into cobbler without having a MAC or IP so when this second "update" task runs, it fails

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agotestnode: Add support for additional yum repos defined in secrets 559/head
David Galloway [Thu, 2 Apr 2020 18:16:55 +0000 (14:16 -0400)]
testnode: Add support for additional yum repos defined in secrets

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agodhcp-server: Only create host declaration if its IP is in subnet we're writing 558/head
David Galloway [Thu, 2 Apr 2020 15:25:03 +0000 (11:25 -0400)]
dhcp-server: Only create host declaration if its IP is in subnet we're writing

In the Octo lab, we have multiple subnets with the same domain and VLAN.  This is problematic because in the `dhcp_subnets` dict, we only anticipate there being one cidr.

This change will let you have multiple "subnets" in `dhcp_subnets` without fiddling with the ansible inventory ipvars or macvars.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #557 from ceph/wip-dnf-cache
adam kraitman [Tue, 31 Mar 2020 11:33:22 +0000 (14:33 +0300)]
Merge pull request #557 from ceph/wip-dnf-cache

prep-fog-capture: Disable dnf-makecache service on EL8

4 years agoprep-fog-capture: Disable dnf-makecache service on EL8 557/head
David Galloway [Mon, 30 Mar 2020 19:12:29 +0000 (15:12 -0400)]
prep-fog-capture: Disable dnf-makecache service on EL8

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1814337
Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #556 from ceph/wip-rhel82
adam kraitman [Sun, 29 Mar 2020 10:04:35 +0000 (13:04 +0300)]
Merge pull request #556 from ceph/wip-rhel82

cobbler: Add RHEL8.2

4 years agocobbler: Add RHEL8.2 556/head
David Galloway [Fri, 27 Mar 2020 20:52:19 +0000 (16:52 -0400)]
cobbler: Add RHEL8.2

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #554 from ceph/wip-forwards
adam kraitman [Sun, 22 Mar 2020 15:39:35 +0000 (17:39 +0200)]
Merge pull request #554 from ceph/wip-forwards

nameserver: Support forwarders

4 years agonameserver: Support forwarders 554/head
David Galloway [Sun, 22 Mar 2020 15:28:02 +0000 (11:28 -0400)]
nameserver: Support forwarders

When setting up this nameserver role in Octo, recursive lookups were failing.  I suspect maybe BIND is doing an `NS` lookup when it doesn't know about a domain it is asked about.  Red Hat blocks all external DNS queries so I've defined an internal DNS server for the Octo BIND server to forward to.  Now external lookups work.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #553 from ceph/wip-secrets
adam kraitman [Sun, 22 Mar 2020 14:58:11 +0000 (16:58 +0200)]
Merge pull request #553 from ceph/wip-secrets

nameserver: Don't require secrets

4 years agonameserver: Don't require secrets 553/head
David Galloway [Sun, 22 Mar 2020 14:39:49 +0000 (10:39 -0400)]
nameserver: Don't require secrets

secrets/nameserver.yml is only required if we're using DDNS

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #552 from ceph/wip-ns-updates2
adam kraitman [Sun, 22 Mar 2020 14:19:34 +0000 (16:19 +0200)]
Merge pull request #552 from ceph/wip-ns-updates2

nameserver: Configure selinux only if enabled

4 years agonameserver: Configure selinux only if enabled 552/head
David Galloway [Sun, 22 Mar 2020 14:17:05 +0000 (10:17 -0400)]
nameserver: Configure selinux only if enabled

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #551 from ceph/wip-ns-updates
adam kraitman [Sun, 22 Mar 2020 14:13:35 +0000 (16:13 +0200)]
Merge pull request #551 from ceph/wip-ns-updates

nameserver: Support python2 and python3 in named.conf template

4 years agonameserver: Support python2 and python3 in named.conf template 551/head
David Galloway [Sun, 22 Mar 2020 14:11:45 +0000 (10:11 -0400)]
nameserver: Support python2 and python3 in named.conf template

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #550 from ceph/wip-44501
adam kraitman [Tue, 17 Mar 2020 16:11:24 +0000 (18:11 +0200)]
Merge pull request #550 from ceph/wip-44501

testnode: Set ansible_python_interpreter for OpenSUSE

4 years agotestnode: Set ansible_python_interpreter for OpenSUSE 550/head
David Galloway [Tue, 17 Mar 2020 15:24:06 +0000 (11:24 -0400)]
testnode: Set ansible_python_interpreter for OpenSUSE

Fixes: https://tracker.ceph.com/issues/44501
Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #549 from ceph/wip-cleanup-dnf
adam kraitman [Tue, 17 Mar 2020 10:17:42 +0000 (12:17 +0200)]
Merge pull request #549 from ceph/wip-cleanup-dnf

prep-fog-capture: Clean yum cache

4 years agoprep-fog-capture: Clean yum cache 549/head
David Galloway [Mon, 16 Mar 2020 13:49:37 +0000 (09:49 -0400)]
prep-fog-capture: Clean yum cache

Hopefully fixes: https://github.com/ceph/ceph-cm-ansible/pull/544#issuecomment-599076564

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #544 from ceph/wip-epel-nobaseurl
David Galloway [Fri, 13 Mar 2020 23:11:44 +0000 (19:11 -0400)]
Merge pull request #544 from ceph/wip-epel-nobaseurl

common: Don't use baseurl for epel at all

4 years agocommon: Don't use baseurl for epel at all 544/head
David Galloway [Fri, 13 Mar 2020 22:40:54 +0000 (18:40 -0400)]
common: Don't use baseurl for epel at all

Despite having a mirrorlist present in the repo file, if contacting the baseurl fails, the yum transaction fails which causes our jobs to fail.  Let's try *just* using a mirrorlist.

See https://github.com/ceph/ceph-cm-ansible/pull/542#issuecomment-598924481

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #542 from ceph/wip-centos-mirrorlist
adam kraitman [Tue, 10 Mar 2020 15:01:16 +0000 (17:01 +0200)]
Merge pull request #542 from ceph/wip-centos-mirrorlist

testnode: Use mirrorlists for CentOS 8 repos

4 years agotestnode: Use mirrorlists for CentOS 8 repos 542/head
David Galloway [Tue, 10 Mar 2020 14:41:36 +0000 (10:41 -0400)]
testnode: Use mirrorlists for CentOS 8 repos

Fixes ``Failed to download metadata for repo 'extras'`` errors.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #541 from smithfarm/wip-leap-152-no-py3
David Galloway [Tue, 3 Mar 2020 17:39:15 +0000 (12:39 -0500)]
Merge pull request #541 from smithfarm/wip-leap-152-no-py3

testnode: use Python 3 in openSUSE Leap 15.2

4 years agotestnode: use Python 3 in openSUSE Leap 15.2 541/head
Nathan Cutler [Tue, 3 Mar 2020 17:36:58 +0000 (18:36 +0100)]
testnode: use Python 3 in openSUSE Leap 15.2

We should not be using Python 2 at all...

Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #540 from ceph/wip-cobbler-centos-aarch64
David Galloway [Tue, 3 Mar 2020 17:01:07 +0000 (12:01 -0500)]
Merge pull request #540 from ceph/wip-cobbler-centos-aarch64

Adding CentOS-8.1.1911-aarch64 to cobbler

4 years agoAdding CentOS-8.1.1911-aarch64 to cobbler 540/head
Adam Kraitman [Tue, 3 Mar 2020 16:22:02 +0000 (18:22 +0200)]
Adding CentOS-8.1.1911-aarch64 to cobbler

Signed-off-by: Adam Kraitman <akraitma@redhat.com>
4 years agoMerge pull request #539 from ceph/wip-suse-152
David Galloway [Tue, 3 Mar 2020 14:31:40 +0000 (09:31 -0500)]
Merge pull request #539 from ceph/wip-suse-152

Add OpenSUSE 15.2

4 years agoAdd OpenSUSE 15.2 539/head
David Galloway [Tue, 3 Mar 2020 14:21:47 +0000 (09:21 -0500)]
Add OpenSUSE 15.2

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #537 from ceph/wip-fedora31-cobbler
David Galloway [Thu, 27 Feb 2020 16:18:42 +0000 (11:18 -0500)]
Merge pull request #537 from ceph/wip-fedora31-cobbler

Adding Fedora 31 support to the common role