]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
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>
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>
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>
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>
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
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>
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
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>
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
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…
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
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>
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>
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>
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
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>
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
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>
adam kraitman [Sun, 22 Mar 2020 15:39:35 +0000 (17:39 +0200)]
Merge pull request #554 from ceph/wip-forwards
nameserver: Support forwarders
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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
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
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>
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
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>
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>
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
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>
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
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>
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
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>
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
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>
adam kraitman [Wed, 5 Feb 2020 13:41:12 +0000 (15:41 +0200)]
Merge pull request #528 from ceph/epel-mirrorlist
Use epel mirrors
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 .
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 .
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>
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
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>
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
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>
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
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
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>
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
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>
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
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>
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>
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
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>
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
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>
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
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>
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
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
Kefu Chai [Thu, 26 Dec 2019 13:02:52 +0000 (21:02 +0800)]
testnode/var/ubuntu_18: python3-nose
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Jason Dillaman [Mon, 23 Dec 2019 20:34:37 +0000 (15:34 -0500)]
testnode: el8: qemu-kvm-core + qemu-kvm-block-rbd
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
David Galloway [Mon, 23 Dec 2019 18:37:32 +0000 (13:37 -0500)]
Merge pull request #516 from ceph/wip-el8
testnode: el7: install podman-docker
Sage Weil [Mon, 23 Dec 2019 18:07:10 +0000 (12:07 -0600)]
testnode: el7: install podman-docker
Signed-off-by: Sage Weil <sage@redhat.com>
David Galloway [Mon, 23 Dec 2019 16:13:15 +0000 (11:13 -0500)]
Merge pull request #515 from ceph/wip-el8
testnode: el8: podman-docker
Sage Weil [Mon, 23 Dec 2019 16:09:37 +0000 (10:09 -0600)]
testnode: el8: podman-docker
teuthology's cephadmunit.py needs to send a kill signal to the process,
and doesn't (easily) know whether to use the docker or podman command.
This let's us just use 'docker kill ...' and have it work for both.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 22 Dec 2019 20:11:34 +0000 (14:11 -0600)]
Merge pull request #514 from ceph/wip-el8
testnode: el8: fix typo
Sage Weil [Sun, 22 Dec 2019 20:11:07 +0000 (14:11 -0600)]
testnode: el8: fix typo
sigh
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 22 Dec 2019 16:29:06 +0000 (10:29 -0600)]
Merge pull request #513 from ceph/wip-el8
testnode: el8: install valgrind
Sage Weil [Sun, 22 Dec 2019 16:28:16 +0000 (10:28 -0600)]
testnode: el8: install valgrind
Signed-off-by: Sage Weil <sage@redhat.com>
David Galloway [Thu, 19 Dec 2019 19:06:22 +0000 (14:06 -0500)]
Merge pull request #512 from ceph/wip-el8
testnode: el8: dbench, autoconf
Sage Weil [Thu, 19 Dec 2019 19:02:26 +0000 (13:02 -0600)]
testnode: el8: dbench, autoconf
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Dec 2019 15:41:02 +0000 (09:41 -0600)]
Merge pull request #511 from ceph/wip-el8
testnode: el8: libacl-devel
Sage Weil [Thu, 19 Dec 2019 15:39:04 +0000 (09:39 -0600)]
testnode: el8: libacl-devel
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Tue, 17 Dec 2019 15:56:54 +0000 (10:56 -0500)]
Merge pull request #510 from ceph/wip-el8
testnode: el8: drop python3-pytz dep
Sage Weil [Tue, 17 Dec 2019 15:56:18 +0000 (09:56 -0600)]
testnode: el8: drop python3-pytz dep
python3-tempora is now fixed to require this.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 22:57:29 +0000 (16:57 -0600)]
Merge pull request #509 from ceph/wip-el8
testnode: el8: qemu-image
Sage Weil [Mon, 16 Dec 2019 17:43:17 +0000 (11:43 -0600)]
testnode: el8: qemu-img
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Mon, 16 Dec 2019 17:04:02 +0000 (12:04 -0500)]
Merge pull request #508 from ceph/wip-el8
testnode: el8: genisoimage
Sage Weil [Mon, 16 Dec 2019 16:59:52 +0000 (10:59 -0600)]
testnode: el8: genisoimage
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Mon, 16 Dec 2019 16:58:10 +0000 (11:58 -0500)]
Merge pull request #507 from ceph/wip-el8
testnode: python3-nose