ceph-cm-ansible.git
2 years agogateway: Support writing addl routes 620/head
David Galloway [Tue, 11 May 2021 16:53:11 +0000 (12:53 -0400)]
gateway: Support writing addl routes

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #618 from ceph/wip-releasever-sooner
Zack Cerza [Thu, 8 Apr 2021 19:50:37 +0000 (13:50 -0600)]
Merge pull request #618 from ceph/wip-releasever-sooner

common: Set releasever on testnodes sooner

3 years agocommon: Set releasever on testnodes sooner 618/head
David Galloway [Thu, 8 Apr 2021 18:52:06 +0000 (14:52 -0400)]
common: Set releasever on testnodes sooner

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #611 from ceph/wip-centos83
adam kraitman [Mon, 5 Apr 2021 15:21:41 +0000 (18:21 +0300)]
Merge pull request #611 from ceph/wip-centos83

Add CentOS 8.3

3 years agoMerge pull request #617 from ceph/wip-releasevar-yum
David Galloway [Mon, 5 Apr 2021 15:16:47 +0000 (11:16 -0400)]
Merge pull request #617 from ceph/wip-releasevar-yum

Adding the releasever variable to rhel7.9 testnodes

3 years agoAdding the releasever varible to rhel7.9 testnodes 617/head
Adam Kraitman [Thu, 1 Apr 2021 15:21:06 +0000 (18:21 +0300)]
Adding the releasever varible to rhel7.9 testnodes

Fixes: https://tracker.ceph.com/issues/49771
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
3 years agoMerge pull request #616 from ceph/wip-centos79
adam kraitman [Sun, 21 Mar 2021 08:04:45 +0000 (10:04 +0200)]
Merge pull request #616 from ceph/wip-centos79

Add CentOS 7.9

3 years agoAdd CentOS 7.9 616/head
David Galloway [Fri, 19 Mar 2021 19:51:55 +0000 (15:51 -0400)]
Add CentOS 7.9

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #615 from ceph/wip-cobbler-imported
adam kraitman [Thu, 11 Mar 2021 05:43:23 +0000 (07:43 +0200)]
Merge pull request #615 from ceph/wip-cobbler-imported

cobbler_profile: s/import/imported

3 years agocobbler_profile: s/import/imported 615/head
David Galloway [Wed, 10 Mar 2021 20:07:20 +0000 (15:07 -0500)]
cobbler_profile: s/import/imported

I guess something changed in ansible so that it doesn't like 'import' as the variable name.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #613 from ceph/wip-norecommends
David Galloway [Wed, 3 Mar 2021 21:39:29 +0000 (16:39 -0500)]
Merge pull request #613 from ceph/wip-norecommends

testnode: Install collectl without recommended packages

3 years agotestnode: Install collectl without recommended packages 613/head
David Galloway [Wed, 3 Mar 2021 20:46:03 +0000 (15:46 -0500)]
testnode: Install collectl without recommended packages

collectl has a bunch of Gnome Desktop Environment packages that are recommended.  So on Ubuntu 20.04 at least, a desktop environment was getting installed and would eventually go to sleep.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #612 from ceph/wip-fix-centos8-qemu
David Galloway [Wed, 3 Mar 2021 19:43:13 +0000 (14:43 -0500)]
Merge pull request #612 from ceph/wip-fix-centos8-qemu

testnode: libgcrypt needs to be updated to match QEMU build

3 years agotestnode: libgcrypt needs to be updated to match QEMU build 612/head
Jason Dillaman [Wed, 3 Mar 2021 00:47:23 +0000 (19:47 -0500)]
testnode: libgcrypt needs to be updated to match QEMU build

See https://bugzilla.redhat.com/show_bug.cgi?id=1828681

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoAdd CentOS 8.3 611/head
David Galloway [Tue, 2 Mar 2021 20:09:23 +0000 (15:09 -0500)]
Add CentOS 8.3

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #610 from ceph/wip-lz4
adam kraitman [Tue, 16 Feb 2021 16:31:56 +0000 (18:31 +0200)]
Merge pull request #610 from ceph/wip-lz4

paddles: Install lz4 for backups

3 years agopaddles: Install lz4 for backups 610/head
David Galloway [Tue, 16 Feb 2021 16:18:14 +0000 (11:18 -0500)]
paddles: Install lz4 for backups

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #608 from kshtsk/wip-nsupdate_web-opensuse
David Galloway [Tue, 9 Feb 2021 22:49:49 +0000 (17:49 -0500)]
Merge pull request #608 from kshtsk/wip-nsupdate_web-opensuse

nsupdate web opensuse

3 years agonsupdate_web: use .conf extention for opensuse nginx 608/head
Kyr Shatskyy [Tue, 19 Mar 2019 18:18:06 +0000 (19:18 +0100)]
nsupdate_web: use .conf extention for opensuse nginx

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
(cherry picked from commit cbb0a82a0380038d33d1b59eb65eed9622ec61d6)

3 years agonsupdate_web: copy keys from secrets dir if present
Kyr Shatskyy [Tue, 19 Mar 2019 18:59:36 +0000 (19:59 +0100)]
nsupdate_web: copy keys from secrets dir if present

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
(cherry picked from commit bac5f08eca5fa018adb16be9db4457cb42c73039)

3 years agoMerge pull request #607 from ceph/wip-rhel8-package-list-change
David Galloway [Tue, 9 Feb 2021 16:30:19 +0000 (11:30 -0500)]
Merge pull request #607 from ceph/wip-rhel8-package-list-change

Adding redhat-lsb, firewalld and wget to rhel8 testnodes

3 years agoAdding redhat-lsb, firewalld and wget to rhel8 testnodes 607/head
Adam Kraitman [Thu, 4 Feb 2021 17:54:08 +0000 (19:54 +0200)]
Adding redhat-lsb, firewalld and wget to rhel8 testnodes

Fixes: https://tracker.ceph.com/issues/48767
Signed-off-by: Adam Kraitman <akraitma@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>