ceph-cm-ansible.git
3 years agocobbler: Add CentOS 7.8 wip-centos78
David Galloway [Thu, 30 Apr 2020 20:08:31 +0000 (16:08 -0400)]
cobbler: Add CentOS 7.8

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

4 years agoAdding Fedora 31 support to the common role wip-fedora31-cobbler 537/head
David Galloway [Wed, 26 Feb 2020 19:33:36 +0000 (14:33 -0500)]
Adding Fedora 31 support to the common role

testnodes: add vars for opensuse_leap_15.2

4 years agoMerge pull request #536 from smithfarm/wip-44292
David Galloway [Wed, 26 Feb 2020 19:33:36 +0000 (14:33 -0500)]
Merge pull request #536 from smithfarm/wip-44292

testnodes: add vars for opensuse_leap_15.2

4 years agotestnodes: add vars for opensuse_leap_15.2 536/head
Nathan Cutler [Tue, 25 Feb 2020 20:25:04 +0000 (21:25 +0100)]
testnodes: add vars for opensuse_leap_15.2

Fixes: https://tracker.ceph.com/issues/44292
Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #535 from ceph/wip-f31-snippet2
adam kraitman [Tue, 25 Feb 2020 18:19:02 +0000 (20:19 +0200)]
Merge pull request #535 from ceph/wip-f31-snippet2

cobbler: More kickstart adjustments for Fedora 31

4 years agocobbler: Install ethtool on all RPM-based installs 535/head
David Galloway [Tue, 25 Feb 2020 18:13:53 +0000 (13:13 -0500)]
cobbler: Install ethtool on all RPM-based installs

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agocobbler: Forget about server groupname and just install python3
David Galloway [Tue, 25 Feb 2020 15:43:16 +0000 (10:43 -0500)]
cobbler: Forget about server groupname and just install python3

Let's just hope the basic packages we'd need to at least get ceph-cm-ansible running exist in the base Fedora 31 DVD image.

We can't figure out the @base -> @infrastructure-server-environment -> @???? group name progression/changes so forget it.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #533 from ceph/wip-f31-snippet
adam kraitman [Tue, 25 Feb 2020 15:16:46 +0000 (17:16 +0200)]
Merge pull request #533 from ceph/wip-f31-snippet

cobbler: Update snippet for clarity and Fedora 31

4 years agocobbler: Update snippet for clarity and Fedora 31 533/head
David Galloway [Tue, 25 Feb 2020 14:51:08 +0000 (09:51 -0500)]
cobbler: Update snippet for clarity and Fedora 31

Changes:
  - @infrastructure-server group name change
  - perl and redhat-lsb-core aren't available in Fedora 31 apparently
  - Added some comments for clarity

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #532 from ceph/wip-fedora31-cobbler
adam kraitman [Sun, 23 Feb 2020 14:15:11 +0000 (16:15 +0200)]
Merge pull request #532 from ceph/wip-fedora31-cobbler

Adding Fedora 31 to sepia cobbler

4 years agoAdding Fedora 31 to sepia cobbler 532/head
Adam Kraitman [Thu, 20 Feb 2020 15:15:46 +0000 (17:15 +0200)]
Adding Fedora 31 to sepia cobbler

Signed-off-by: Adam Kraitman <akraitma@redhat.com>
4 years agoMerge pull request #530 from ceph/wip-44158
David Galloway [Mon, 17 Feb 2020 20:13:57 +0000 (15:13 -0500)]
Merge pull request #530 from ceph/wip-44158

cobbler: Correct ifcfg syntax for OpenSUSE

4 years agocobbler: Correct ifcfg syntax for OpenSUSE 530/head
David Galloway [Mon, 17 Feb 2020 18:47:49 +0000 (13:47 -0500)]
cobbler: Correct ifcfg syntax for OpenSUSE

Fixes: https://tracker.ceph.com/issues/44158
Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #529 from ceph/wip-updategrub
adam kraitman [Tue, 11 Feb 2020 16:56:22 +0000 (18:56 +0200)]
Merge pull request #529 from ceph/wip-updategrub

cobbler_profile: Disable OS prober to prevent update-grub hang

4 years agocobbler_profile: Disable OS prober to prevent update-grub hang 529/head
David Galloway [Tue, 11 Feb 2020 16:51:49 +0000 (11:51 -0500)]
cobbler_profile: Disable OS prober to prevent update-grub hang

The Ubuntu installer appears to at least probe non-root disks during the `update-grub` step.  This was hanging on LVs leftover from previous installations on the smithi NVMe drives.

Settings this kernel option fixes it.

See https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1854839/comments/2

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #528 from ceph/epel-mirrorlist
adam kraitman [Wed, 5 Feb 2020 13:41:12 +0000 (15:41 +0200)]
Merge pull request #528 from ceph/epel-mirrorlist

Use epel mirrors

4 years agoRevert "common: Update yum metadata from upstream epel and exclude mirrors" 528/head
David Galloway [Tue, 4 Feb 2020 23:04:51 +0000 (18:04 -0500)]
Revert "common: Update yum metadata from upstream epel and exclude mirrors"

This reverts commit 93e0a4a8f5f34c248d3467f3d1c8300ced0f5148.

4 years agoRevert "common: rm yum cache that doesn't get cleaned with `yum clean`"
David Galloway [Tue, 4 Feb 2020 23:04:41 +0000 (18:04 -0500)]
Revert "common: rm yum cache that doesn't get cleaned with `yum clean`"

This reverts commit 946bf1576b56c20e5fec42f15a70d921dd440d00.

4 years agocommon: Use global epel_repos var
David Galloway [Tue, 4 Feb 2020 23:00:20 +0000 (18:00 -0500)]
common: Use global epel_repos var

I diverged a bit when CentOS/RHEL 8 came out and was using metalink when I meant to use mirrorlist.  We're seeing intermittent epel failures which should be resolved by using a mirrorlist instead of relying on dl.fedoraproject.org

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #527 from ceph/wip-no404
David Galloway [Thu, 30 Jan 2020 19:08:31 +0000 (14:08 -0500)]
Merge pull request #527 from ceph/wip-no404

common: Add baseurl to epel repo files

4 years agocommon: Add baseurl to epel repo files 527/head
David Galloway [Wed, 29 Jan 2020 19:32:13 +0000 (14:32 -0500)]
common: Add baseurl to epel repo files

Honestly not even sure how this was working at all but in order for https://github.com/ceph/ceph-cm-ansible/pull/487 to work, the repo file needs to actually point to upstream epel to refresh the yum metadata.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #526 from ceph/wip-centos81
David Galloway [Wed, 29 Jan 2020 18:17:11 +0000 (13:17 -0500)]
Merge pull request #526 from ceph/wip-centos81

Add CentOS 8.1

4 years agoAdd CentOS 8.1 526/head
David Galloway [Wed, 29 Jan 2020 15:33:57 +0000 (10:33 -0500)]
Add CentOS 8.1

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #525 from ceph/wip-43448
David Galloway [Mon, 27 Jan 2020 16:50:05 +0000 (11:50 -0500)]
Merge pull request #525 from ceph/wip-43448

testnode: Move dbench to epel_packages so it gets installed

4 years agoMerge pull request #524 from ceph/wip-el8
Sage Weil [Mon, 27 Jan 2020 13:10:39 +0000 (07:10 -0600)]
Merge pull request #524 from ceph/wip-el8

testnode: el8: install gdb for test-crash.sh

4 years agotestnode: el8: install gdb for test-crash.sh 524/head
Sage Weil [Mon, 27 Jan 2020 13:03:11 +0000 (07:03 -0600)]
testnode: el8: install gdb for test-crash.sh

Signed-off-by: Sage Weil <sage@redhat.com>
4 years agoMerge pull request #523 from ceph/wip-el7
David Galloway [Wed, 22 Jan 2020 16:09:08 +0000 (11:09 -0500)]
Merge pull request #523 from ceph/wip-el7

testnode: Fix typo so task only runs on EL8

4 years agotestnode: Fix typo so task only runs on EL8 523/head
David Galloway [Wed, 22 Jan 2020 16:01:48 +0000 (11:01 -0500)]
testnode: Fix typo so task only runs on EL8

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #522 from ceph/wip-bz1782899
David Galloway [Tue, 21 Jan 2020 15:04:44 +0000 (10:04 -0500)]
Merge pull request #522 from ceph/wip-bz1782899

testnode: Workaround for BZ 1782899

4 years agotestnode: Workaround for BZ 1782899 522/head
David Galloway [Tue, 21 Jan 2020 14:37:16 +0000 (09:37 -0500)]
testnode: Workaround for BZ 1782899

This will stop all the RHEL8 failures.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agotestnode: Move dbench to epel_packages so it gets installed 525/head
David Galloway [Mon, 20 Jan 2020 17:58:16 +0000 (12:58 -0500)]
testnode: Move dbench to epel_packages so it gets installed

Octo lab doesn't use epel by default but by moving this package to `epel_packages`, it will get installed during this task: https://github.com/ceph/ceph-cm-ansible/blob/master/roles/testnode/tasks/yum/packages.yml#L58

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #521 from ceph/wip-exclusive
David Galloway [Mon, 20 Jan 2020 16:48:22 +0000 (11:48 -0500)]
Merge pull request #521 from ceph/wip-exclusive

ansible_managed: Remove unmanaged keys

4 years agoansible_managed: Remove unmanaged keys 521/head
David Galloway [Thu, 16 Jan 2020 23:14:25 +0000 (18:14 -0500)]
ansible_managed: Remove unmanaged keys

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #520 from ceph/wip-interpreter
adam kraitman [Tue, 7 Jan 2020 18:54:47 +0000 (20:54 +0200)]
Merge pull request #520 from ceph/wip-interpreter

cobbler: Don't set ansible_python_interpreter manually anymore

4 years agocobbler: Don't set ansible_python_interpreter manually anymore 520/head
David Galloway [Tue, 7 Jan 2020 18:40:48 +0000 (13:40 -0500)]
cobbler: Don't set ansible_python_interpreter manually anymore

Both cobbler hosts (cobbler.front.sepia.ceph.com and magna001.ceph.redhat.com) are now running versions of ansible that handle python interpreter discovery automatically.

Setting this manually was actually causing issues because some ceph-cm-ansible tasks get delegated to localhost (Like 'Clone the keys repo' in the Users role).  So when setting -e ansible_python_interpreter=/usr/bin/python3, ansible looks for that binary on the localhost.  magna001 doesn't have python3 so the playbook run would fail.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #519 from ceph/wip-el8-nfs
Jason Dillaman [Tue, 7 Jan 2020 13:58:12 +0000 (08:58 -0500)]
Merge pull request #519 from ceph/wip-el8-nfs

testnode: el8: nfs-utils

4 years agotestnode: el8: nfs-utils 519/head
Jason Dillaman [Tue, 7 Jan 2020 13:56:22 +0000 (08:56 -0500)]
testnode: el8: nfs-utils

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #517 from ceph/wip-rhel8-kvm
Jason Dillaman [Tue, 7 Jan 2020 13:21:12 +0000 (08:21 -0500)]
Merge pull request #517 from ceph/wip-rhel8-kvm

testnode: el8: qemu-kvm-core + qemu-kvm-block-rbd

4 years agoMerge pull request #518 from tchaikov/python3-nose-for-bionic
Kefu Chai [Thu, 26 Dec 2019 13:08:46 +0000 (21:08 +0800)]
Merge pull request #518 from tchaikov/python3-nose-for-bionic

testnode/var/ubuntu_18: python3-nose