ceph-cm-ansible.git
3 years agocommon: Ignore /snap mountpoints when checking disk usage 609/head
David Galloway [Tue, 16 Feb 2021 14:46:45 +0000 (09:46 -0500)]
common: Ignore /snap mountpoints when checking disk usage

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #606 from ceph/wip-focal-nosleep
adam kraitman [Thu, 4 Feb 2021 17:31:58 +0000 (19:31 +0200)]
Merge pull request #606 from ceph/wip-focal-nosleep

common: Disable sleeping on Ubuntu 20.04 and later

3 years agocommon: Disable sleeping on Ubuntu 20.04 and later 606/head
David Galloway [Thu, 4 Feb 2021 17:28:51 +0000 (12:28 -0500)]
common: Disable sleeping on Ubuntu 20.04 and later

Fixes: https://tracker.ceph.com/issues/49152
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #605 from ceph/wip-keys-branch
adam kraitman [Tue, 2 Feb 2021 05:45:42 +0000 (07:45 +0200)]
Merge pull request #605 from ceph/wip-keys-branch

users: Support defining different branch

3 years agousers: Support defining different branch 605/head
David Galloway [Mon, 1 Feb 2021 20:05:33 +0000 (15:05 -0500)]
users: Support defining different branch

This will allow one to run the users role prior to a PR being merged.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #604 from ceph/wip-rook-master-update
David Galloway [Mon, 1 Feb 2021 18:06:59 +0000 (13:06 -0500)]
Merge pull request #604 from ceph/wip-rook-master-update

Creating a new tag for updating the master os - master-update

3 years agoCreating a new tag for updating the master os - master-update 604/head
Adam Kraitman [Sun, 31 Jan 2021 18:46:07 +0000 (20:46 +0200)]
Creating a new tag for updating the master os - master-update

And also doing changes to the rook-recovery role

Signed-off-by: Adam Kraitman <akraitma@redhat.com>
3 years agoMerge pull request #603 from kshtsk/pulpito-py3
David Galloway [Thu, 21 Jan 2021 14:16:16 +0000 (09:16 -0500)]
Merge pull request #603 from kshtsk/pulpito-py3

teuthology: py3 for pulpito and paddles

3 years agoteuthology: ensure scheduler user bin exists 603/head
Kyr Shatskyy [Thu, 14 Jan 2021 12:02:37 +0000 (13:02 +0100)]
teuthology: ensure scheduler user bin exists

Before copying crontab script we need to ensure the bin directory
exists for scheduler user.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoteuthology: add opensuse 15.2 specific deps
Kyr Shatskyy [Wed, 13 Jan 2021 16:24:22 +0000 (17:24 +0100)]
teuthology: add opensuse 15.2 specific deps

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoteuthology: use python3 dependencies
Kyr Shatskyy [Thu, 14 Jan 2021 12:05:02 +0000 (13:05 +0100)]
teuthology: use python3 dependencies

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoteuthology: py3 for pulpito and paddles
Kyr Shatskyy [Wed, 13 Jan 2021 12:51:30 +0000 (13:51 +0100)]
teuthology: py3 for pulpito and paddles

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoMerge pull request #602 from ceph/wip-bothplaces
adam kraitman [Thu, 14 Jan 2021 12:38:30 +0000 (14:38 +0200)]
Merge pull request #602 from ceph/wip-bothplaces

container-host: Install mirror cert in both podman and docker paths

3 years agocontainer-host: Install mirror cert in both podman and docker paths 602/head
David Galloway [Fri, 8 Jan 2021 16:30:34 +0000 (11:30 -0500)]
container-host: Install mirror cert in both podman and docker paths

Fixes: https://tracker.ceph.com/issues/48715
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #601 from ceph/wip-make
adam kraitman [Tue, 5 Jan 2021 16:13:30 +0000 (18:13 +0200)]
Merge pull request #601 from ceph/wip-make

testnode: Install make on el8

3 years agotestnode: Install make on el8 601/head
David Galloway [Tue, 5 Jan 2021 15:52:31 +0000 (10:52 -0500)]
testnode: Install make on el8

This package isn't included in the cloud image that the Octo PSI nodes use.

Fixes: https://tracker.ceph.com/issues/48751
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #600 from ceph/wip-container-js
adam kraitman [Mon, 14 Dec 2020 17:51:06 +0000 (19:51 +0200)]
Merge pull request #600 from ceph/wip-container-js

container-host: let me skip registries-conf-ctl tasks

3 years agocontainer-host: Create tag for registries-conf-ctl 600/head
David Galloway [Mon, 14 Dec 2020 17:36:39 +0000 (12:36 -0500)]
container-host: Create tag for registries-conf-ctl

This will let us skip those tasks when we don't want to run them (like on a Jenkins builder)

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agocontainer-host: Configure Jenkins builders too
David Galloway [Mon, 14 Dec 2020 17:34:54 +0000 (12:34 -0500)]
container-host: Configure Jenkins builders too

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #599 from ceph/wip-ignore-errorsrue
adam kraitman [Tue, 8 Dec 2020 15:41:43 +0000 (17:41 +0200)]
Merge pull request #599 from ceph/wip-ignore-errorsrue

container-host: Ignore service restart error on new kernel

3 years agocontainer-host: Ignore service restart error on new kernel 599/head
David Galloway [Tue, 8 Dec 2020 15:35:28 +0000 (10:35 -0500)]
container-host: Ignore service restart error on new kernel

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #598 from ceph/wip-tab
David Galloway [Mon, 7 Dec 2020 18:00:03 +0000 (13:00 -0500)]
Merge pull request #598 from ceph/wip-tab

container-host: Fix service restart syntax

3 years agocontainer-host: Fix service restart syntax 598/head
David Galloway [Mon, 7 Dec 2020 17:59:34 +0000 (12:59 -0500)]
container-host: Fix service restart syntax

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #597 from guits/guits-restart-docker
David Galloway [Mon, 7 Dec 2020 17:27:25 +0000 (12:27 -0500)]
Merge pull request #597 from guits/guits-restart-docker

container-host: restart docker service

3 years agocontainer-host: restart docker service 597/head
Guillaume Abrioux [Mon, 7 Dec 2020 17:05:17 +0000 (18:05 +0100)]
container-host: restart docker service

Once the mirror has been added in `/etc/docker/daemon.json`
we need to restart the daemon.

This is not very elegant but it's a workaround for now.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #596 from guits/guits-quick_enhancement
David Galloway [Mon, 7 Dec 2020 16:35:03 +0000 (11:35 -0500)]
Merge pull request #596 from guits/guits-quick_enhancement

container-host: quick improvement in container_mirror code

3 years agocontainer-host: quick improvement in container_mirror code 596/head
Guillaume Abrioux [Mon, 7 Dec 2020 13:57:50 +0000 (14:57 +0100)]
container-host: quick improvement in container_mirror code

Let's get rid of these consecutives `set_fact`.
We can inject `PATH` variable on the task calling `registries-conf-ctl`
instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #595 from ceph/wip-containers
David Galloway [Thu, 3 Dec 2020 20:59:21 +0000 (15:59 -0500)]
Merge pull request #595 from ceph/wip-containers

Move container tasks to separate role

3 years agoMove container tasks to separate role 595/head
David Galloway [Wed, 2 Dec 2020 22:46:25 +0000 (17:46 -0500)]
Move container tasks to separate role

I would've liked to keep all this in common but there's a chicken and egg situation.

docker and/or podman get installed during the testnode role.  The testnode role can only be run after the common role.  The testnode role is also where some repos are added.

So we need to install docker/podman and configure it after the testnodes role runs.  Since we also want to be able to configure docker/podman on other systems, I couldn't put these tasks in the testnode role.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #594 from ceph/wip-reload
adam kraitman [Wed, 2 Dec 2020 16:38:52 +0000 (18:38 +0200)]
Merge pull request #594 from ceph/wip-reload

testnode: Restart cachefilesd in new kernel

3 years agotestnode: Restart cachefilesd in new kernel 594/head
David Galloway [Wed, 2 Dec 2020 16:16:05 +0000 (11:16 -0500)]
testnode: Restart cachefilesd in new kernel

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #593 from ceph/wip-fscache
adam kraitman [Tue, 1 Dec 2020 20:37:52 +0000 (22:37 +0200)]
Merge pull request #593 from ceph/wip-fscache

testnode: Install and configure cachefilesd

3 years agoMerge pull request #592 from ceph/wip-fs
adam kraitman [Tue, 1 Dec 2020 20:36:34 +0000 (22:36 +0200)]
Merge pull request #592 from ceph/wip-fs

testnode: Basic filesystem and mountpoint support

3 years agotestnode: Install and configure cachefilesd 593/head
David Galloway [Tue, 1 Dec 2020 20:28:30 +0000 (15:28 -0500)]
testnode: Install and configure cachefilesd

Fixes: https://tracker.ceph.com/issues/6373
Signed-off-by: David Galloway <dgallowa@redhat.com>
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