]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
David Galloway [Fri, 11 Jan 2019 17:51:16 +0000 (12:51 -0500)]
cobbler: Fix RPM snippet conditional
We need to check for RHEL or CentOS
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 17 Dec 2018 22:36:11 +0000 (15:36 -0700)]
Merge pull request #430 from ceph/wip-ddzero
testnode: Blow away lingering OSD data and partition data
Zack Cerza [Fri, 14 Dec 2018 20:39:31 +0000 (13:39 -0700)]
Merge pull request #431 from ceph/wip-37614-2
testnode: Only bounce interface on Xenial
David Galloway [Fri, 14 Dec 2018 20:28:51 +0000 (15:28 -0500)]
testnode: Only bounce interface on Xenial
resolvconf isn't installed on Bionic by default so we don't need to
bounce the interface to work around the bug.
Fixes: https://tracker.ceph.com/issues/37614
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 14 Dec 2018 19:53:20 +0000 (14:53 -0500)]
testnode: Blow away lingering OSD and partition data
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 10 Dec 2018 17:14:44 +0000 (12:14 -0500)]
Merge pull request #427 from ceph/wip-int
Fix distro version comparison conditionals
David Galloway [Fri, 7 Dec 2018 23:14:23 +0000 (18:14 -0500)]
Merge pull request #428 from ceph/wip-callypsodrive
cobbler: Support installing to /dev/sdi for callypso machines
David Galloway [Fri, 7 Dec 2018 23:10:14 +0000 (18:10 -0500)]
cobbler: Support installing to /dev/sdi for callypso machines
This will get used when the Octo FOG Images job in Jenkins runs
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 4 Dec 2018 17:56:29 +0000 (12:56 -0500)]
Fix distro version comparison conditionals
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 27 Nov 2018 16:26:59 +0000 (09:26 -0700)]
Merge pull request #426 from ceph/wip-rhel74-jwt
cobbler: Only install python-jwt on RHEL7.5 or later
David Galloway [Tue, 27 Nov 2018 16:02:52 +0000 (11:02 -0500)]
cobbler: Only install python-jwt on RHEL7.5 or later
Fixes: https://tracker.ceph.com/issues/37395
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 21 Nov 2018 18:39:24 +0000 (13:39 -0500)]
Merge pull request #425 from ceph/wip-enforcing
cobbler: Set SELinux = enforcing by default
David Galloway [Tue, 20 Nov 2018 19:31:34 +0000 (14:31 -0500)]
Merge pull request #424 from ceph/wip-fix-prep
prep-fog-capture: Fix failed_when
David Galloway [Tue, 20 Nov 2018 19:28:00 +0000 (14:28 -0500)]
prep-fog-capture: Fix failed_when
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 20 Nov 2018 19:07:59 +0000 (14:07 -0500)]
Merge pull request #422 from ceph/wip-rhel8
Add RHEL8!
David Galloway [Tue, 20 Nov 2018 18:47:57 +0000 (13:47 -0500)]
cobbler: Set SELinux = enforcing by default
Requested by downstream QE. This shouldn't be an issue since only
downstream QE needs SELinux in Enforcing mode. They don't use
ceph-cm-ansible which sets it to Permissive in the testnodes role.
Fixes: http://tracker.ceph.com/issues/37338
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 16 Nov 2018 21:45:17 +0000 (16:45 -0500)]
Run ansible-managed playbook as cm user
The ubuntu (teuthology_user) doesn't get created until the testnode
playbook gets run
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 16 Nov 2018 21:43:49 +0000 (16:43 -0500)]
Set ansible_python_interpreter to python3 if necessary
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 16 Nov 2018 20:48:42 +0000 (15:48 -0500)]
testnode: Support RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 16 Nov 2018 20:48:25 +0000 (15:48 -0500)]
common: Support RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
vasukulkarni [Fri, 16 Nov 2018 23:57:16 +0000 (15:57 -0800)]
Merge pull request #423 from ceph/wip-python3
prep-fog-capture: Support RHEL8/python3
David Galloway [Fri, 16 Nov 2018 23:55:48 +0000 (18:55 -0500)]
prep-fog-capture: Support RHEL8/python3
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 16 Nov 2018 20:14:44 +0000 (15:14 -0500)]
cobbler: Configure snippets & triggers for RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 15 Nov 2018 16:52:49 +0000 (09:52 -0700)]
Merge pull request #421 from ceph/wip-f2b-multiline
public_facing: Add bantime override and multiline filter support
David Galloway [Thu, 15 Nov 2018 15:38:52 +0000 (10:38 -0500)]
public_facing: Support overriding fail2ban bantime per service
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 15 Nov 2018 15:30:42 +0000 (10:30 -0500)]
public_facing: Support multiline regex fail2ban filters
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 7 Nov 2018 21:16:05 +0000 (16:16 -0500)]
Merge pull request #420 from ceph/wip-lockfile
tools: Clean up /ceph-qa-ready lockfile
David Galloway [Wed, 7 Nov 2018 20:40:35 +0000 (15:40 -0500)]
tools: Clean up /ceph-qa-ready lockfile
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 1 Nov 2018 20:18:09 +0000 (16:18 -0400)]
Merge pull request #419 from ceph/wip-jwt
cobbler: Install python-jwt on RPM-based testnodes
David Galloway [Thu, 1 Nov 2018 20:08:13 +0000 (16:08 -0400)]
cobbler: Install python-jwt on RPM-based testnodes
This package is needed for ceph-mgr but is not available in the
base/default repos. Therefore, we need to install it during kickstart
and bake it into our RHEL FOG images.
Fixes: https://tracker.ceph.com/issues/36653
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 29 Oct 2018 21:52:36 +0000 (15:52 -0600)]
Merge pull request #415 from ceph/wip-suse
Add support for OpenSUSE Leap 15.0
David Galloway [Thu, 4 Oct 2018 19:49:23 +0000 (15:49 -0400)]
Merge pull request #418 from kshtsk/wip-zypper-for-teuthology
Add zypper support for teuthology role
David Galloway [Thu, 4 Oct 2018 19:41:34 +0000 (15:41 -0400)]
Merge pull request #417 from kshtsk/wip-zypper-for-paddles
Add zypper support for paddles role
David Galloway [Thu, 4 Oct 2018 19:41:10 +0000 (15:41 -0400)]
Merge pull request #416 from kshtsk/wip-zypper-for-pulpito
Add zypper support for pulpito role
Kyr Shatskyy [Wed, 3 Oct 2018 14:29:36 +0000 (16:29 +0200)]
Add zypper support for teuthology role
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Wed, 3 Oct 2018 14:25:26 +0000 (16:25 +0200)]
Add zypper support for paddles role
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Wed, 3 Oct 2018 14:21:26 +0000 (16:21 +0200)]
Add zypper support for pulpito role
Signed-off-by: Kyr Shatskyy<kyrylo.shatskyy@suse.com>
David Galloway [Tue, 2 Oct 2018 18:57:48 +0000 (14:57 -0400)]
tools: Support OpenSUSE Leap 15.0 in prep-fog-capture playbook
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 2 Oct 2018 18:57:19 +0000 (14:57 -0400)]
testnode: Add support to configure chronyd instead of ntpd
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 2 Oct 2018 18:42:51 +0000 (14:42 -0400)]
testnode: Add support for OpenSUSE Leap 15.0
Some notes:
- Setting hostname with ansible fails. It's a known issue. Bug is in
the yaml. teuthology sets the hostname after FOG provisioning anyway so
NBD.
- Leap mounts all of the root subdirs as separate mountpoints so the `zap`
tasks had to be modified to not wipe those out
- The sshd config is named `sshd_config_opensuse_leap_NA` because the
task that installs the SSHD config uses {{
ansible_distribution_major_version }} which isn't set to 15.0 in Leap
apparently.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 2 Oct 2018 18:40:54 +0000 (14:40 -0400)]
common: Add default repos on OpenSUSE Leap
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 2 Oct 2018 18:39:21 +0000 (14:39 -0400)]
cobbler: Modify snippets to work with OpenSUSE Leap 15.0
The usermod command is a little different in OpenSUSE.
Also, in Leap, the /etc/rc.local equivalent is /etc/init.d/boot.local.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 2 Oct 2018 18:38:40 +0000 (14:38 -0400)]
cobbler: Add OpenSUSE Leap 15.0
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 17 Sep 2018 18:39:17 +0000 (12:39 -0600)]
Merge pull request #413 from ceph/wip-35989
testnode: install gcc-c++ on RPM-based systems
David Galloway [Mon, 17 Sep 2018 14:04:58 +0000 (10:04 -0400)]
testnode: install gcc-c++ on RPM-based systems
Fixes: https://tracker.ceph.com/issues/35989
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 12 Sep 2018 17:36:16 +0000 (11:36 -0600)]
Merge pull request #412 from ceph/wip-curl
cobbler: Install curl during Ubuntu kickstart
David Galloway [Wed, 12 Sep 2018 14:45:38 +0000 (10:45 -0400)]
cobbler: Install curl during Ubuntu kickstart
I replaced wget with curl in rc.local because curl is installed by
default in RPM-based distros while wget isn't even available for RHEL8
(yet?). It apparently is not installed by default in Ubuntu though so
we'll install it during kickstart.
Fixes: http://tracker.ceph.com/issues/35952
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 11 Sep 2018 18:34:26 +0000 (12:34 -0600)]
Merge pull request #407 from ceph/wip-f2b-ufw
public_facing: Support blocking multiple ports in ufw fail2ban action
vasukulkarni [Fri, 7 Sep 2018 17:33:23 +0000 (10:33 -0700)]
Merge pull request #411 from ceph/wip-prep-fog
prep-fog-capture: Modify to work with RHEL8
David Galloway [Fri, 7 Sep 2018 17:32:10 +0000 (13:32 -0400)]
prep-fog-capture: Modify to work with RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
vasukulkarni [Fri, 7 Sep 2018 16:50:37 +0000 (09:50 -0700)]
Merge pull request #408 from ceph/wip-rclocal2
cobbler: break at the appropriate location in rc.local
vasukulkarni [Fri, 7 Sep 2018 16:05:39 +0000 (09:05 -0700)]
Merge pull request #410 from ceph/wip-rhsm-disable
cobbler: Disable all repos before subscribing during kickstart
David Galloway [Fri, 7 Sep 2018 13:30:20 +0000 (09:30 -0400)]
cobbler: Disable all repos before subscribing during kickstart
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 6 Sep 2018 19:48:43 +0000 (15:48 -0400)]
Merge pull request #409 from ceph/wip-rhel8
Add RHEL8
David Galloway [Thu, 6 Sep 2018 19:48:01 +0000 (15:48 -0400)]
Add RHEL8
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 5 Sep 2018 18:09:31 +0000 (14:09 -0400)]
cobbler: break at the appropriate location in rc.local
Before this change, if the first NIC on a machine had a link but wasn't
the uplinked NIC, the break would still get called and no NICs would be
left up.
Now we'll break only after we can ping the Cobbler host.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 5 Sep 2018 14:29:20 +0000 (10:29 -0400)]
public_facing: Support blocking multiple ports in ufw fail2ban action
UFW requires the protocol be specified when multiple ports are given for
a deny rule.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 4 Sep 2018 17:46:33 +0000 (10:46 -0700)]
Merge pull request #406 from ceph/wip-mero-disk
cobbler: Add kickstarts that will install to /dev/sdm
David Galloway [Tue, 4 Sep 2018 16:44:04 +0000 (12:44 -0400)]
cobbler: Add kickstarts that will install to /dev/sdm
The root drive on mero nodes is /dev/sdm. Since Cobbler is only used to
provision testnodes prior to a FOG image capture, I didn't think it'd be
worth the time/effort to automate this further.
The kickstart will have to be manually selected if the Cobbler Web UI is
used. I'll automate setting the kickstart when the octo-fog-images
Jenkins job runs.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 10 Aug 2018 21:55:01 +0000 (17:55 -0400)]
Merge pull request #405 from ceph/wip-rhel76
Add RHEL 7.6
David Galloway [Fri, 10 Aug 2018 20:39:14 +0000 (16:39 -0400)]
libev-devel isn't available in RHEL7.6
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 10 Aug 2018 19:51:30 +0000 (15:51 -0400)]
Add RHEL 7.6
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 30 Jul 2018 18:37:11 +0000 (12:37 -0600)]
Merge pull request #404 from ceph/wip-ovh-rhel
common/testnode: Support skipping entitlements & packages
Zack Cerza [Mon, 30 Jul 2018 18:36:41 +0000 (12:36 -0600)]
Merge pull request #403 from ceph/wip-centos75
Add CentOS 7.5
David Galloway [Mon, 30 Jul 2018 16:40:01 +0000 (12:40 -0400)]
common/testnode: Support skipping entitlements & packages
`skip_entitlements` and `skip_packaging` will be set to true in the
Ansible inventory for OVH nodes
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 30 Jul 2018 14:02:40 +0000 (10:02 -0400)]
Add CentOS 7.5
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 23 Jul 2018 15:14:46 +0000 (09:14 -0600)]
Merge pull request #402 from ceph/wip-dhcp-ns
dhcp-server: Support defining nameservers by host or group var
David Galloway [Mon, 23 Jul 2018 13:47:25 +0000 (09:47 -0400)]
dhcp-server: Support defining nameservers by host or group var
Signed-off-by: David Galloway <dgallowa@redhat.com>
Kefu Chai [Mon, 21 May 2018 12:13:07 +0000 (20:13 +0800)]
Merge pull request #401 from tchaikov/libev
testnodes: s/libevent-dev/libev-dev/
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 19 May 2018 11:46:18 +0000 (19:46 +0800)]
testnodes: s/libevent-dev/libev-dev/
see https://github.com/ceph/swift/pull/7 and
https://github.com/ceph/s3-tests/pull/104
Signed-off-by: Kefu Chai <kchai@redhat.com>
vasukulkarni [Fri, 11 May 2018 19:03:23 +0000 (12:03 -0700)]
Merge pull request #399 from ceph/wip-retry-rhsm
common: Retry rhsm command due to CDN or network flakiness
David Galloway [Fri, 11 May 2018 18:59:52 +0000 (14:59 -0400)]
common: Retry rhsm command due to CDN or network flakiness
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 1 May 2018 14:29:11 +0000 (08:29 -0600)]
Merge pull request #398 from ceph/wip-force
common: Force register with RHSM
David Galloway [Tue, 1 May 2018 14:14:23 +0000 (10:14 -0400)]
common: Force register with RHSM
Fixes: https://tracker.ceph.com/issues/23954
See also: https://bugzilla.redhat.com/show_bug.cgi?id=
1510658
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 30 Apr 2018 12:01:21 +0000 (06:01 -0600)]
Merge pull request #397 from ceph/wip-bionic
Add support for Ubuntu 18.04
David Galloway [Fri, 27 Apr 2018 16:37:02 +0000 (12:37 -0400)]
testnode: Redo LVM removal
For whatever reason, `dmsetup remove_all` fails on Bionic. As long as
there are leftover lvs or vgs, a pv must be linked to them. We can just
force remove the physical volume which wipes out the rest of the LVM
data.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 27 Apr 2018 16:14:46 +0000 (12:14 -0400)]
testnode: Create /etc/default/rcS if missing
File does not exist in Bionic
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 27 Apr 2018 16:13:00 +0000 (12:13 -0400)]
testnode: Create sshd config and set package vars for Bionic
Packages missing in Bionic that were in Xenial:
- libapache2-mod-fastcgi
- libboost-thread1.58.0
- libcrypto++9v5
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 27 Apr 2018 15:53:57 +0000 (11:53 -0400)]
cobbler: Set packages to install for Bionic
- udev-discover is no more
- net-tools provides ifconfig which is used in rc.local
- ifupdown provides `ifdown` and `ifup` which are in rc.local
- python is required for ansible
- ntp isn't installed by default anymore apparently
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 27 Apr 2018 15:53:29 +0000 (11:53 -0400)]
Cobbler: Add Bionic Beaver
Signed-off-by: David Galloway <dgallowa@redhat.com>
vasukulkarni [Tue, 24 Apr 2018 19:41:50 +0000 (12:41 -0700)]
Merge pull request #396 from ceph/wip-23845
testnode: Exclude dm devices from list of physical volumes
David Galloway [Tue, 24 Apr 2018 19:28:42 +0000 (15:28 -0400)]
testnode: Exclude dm devices from list of physical volumes
This was actually happening because when the playbook first runs, the
setup module is run and sees the device mapper devices. We zap them
later in the playbook but ansible doesn't know that. We could just
re-run the setup module but this method will instead guarantee we don't
use dm-* devices.
Fixes: https://tracker.ceph.com/issues/23845
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 11 Apr 2018 18:30:47 +0000 (14:30 -0400)]
Merge pull request #394 from ceph/wip-hwclock
Always set hardware clock
David Galloway [Tue, 10 Apr 2018 13:56:13 +0000 (09:56 -0400)]
Merge pull request #395 from ceph/wip-fog-time
tools: Force time synchronization in FOG images
David Galloway [Tue, 10 Apr 2018 13:53:37 +0000 (09:53 -0400)]
tools: Force time synchronization in FOG images
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 9 Apr 2018 20:36:07 +0000 (16:36 -0400)]
common: Always set the hwclock on all systems
Even if the OS time is correct, the hardware clock could be off.
There's no harm in making sure it is accurate with every job.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-Configuring_the_Date_and_Time-hwclock
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 5 Apr 2018 22:34:56 +0000 (16:34 -0600)]
Merge pull request #391 from ceph/wip-crontabs
teuthology: Script to keep teuthology user's crontab up to date
Zack Cerza [Thu, 5 Apr 2018 22:34:13 +0000 (16:34 -0600)]
Merge pull request #386 from ceph/wip-lrc-role
long_running_cluster role
Zack Cerza [Thu, 5 Apr 2018 22:33:47 +0000 (16:33 -0600)]
Merge pull request #383 from ceph/wip-status
public_facing: Updates to OpenVPN check for status portal
Zack Cerza [Thu, 5 Apr 2018 22:33:29 +0000 (16:33 -0600)]
Merge pull request #379 from ceph/wip-fix-subscribe
cobbler: Fix typo in subscription manager snippet command
Zack Cerza [Thu, 5 Apr 2018 22:33:10 +0000 (16:33 -0600)]
Merge pull request #390 from ceph/wip-console-fix
cobbler: Just output to ttyS1
Zack Cerza [Wed, 4 Apr 2018 18:02:56 +0000 (12:02 -0600)]
Merge pull request #393 from ceph/wip-smart-ssd
common: Fixes to smart.sh to support multiple attributes
Zack Cerza [Wed, 4 Apr 2018 18:01:53 +0000 (12:01 -0600)]
Merge pull request #392 from ceph/wip-dhcp-server
Add dhcp-server role
David Galloway [Tue, 3 Apr 2018 22:22:08 +0000 (18:22 -0400)]
common: Comment bad nvme error-log check
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 3 Apr 2018 18:42:43 +0000 (14:42 -0400)]
common: Fixes to smart.sh to support multiple attributes
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 3 Apr 2018 16:21:29 +0000 (12:21 -0400)]
dhcp-server: Update set-next-server script to work with role
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 29 Mar 2018 20:01:47 +0000 (16:01 -0400)]
Add dhcp-server role
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 27 Mar 2018 18:59:49 +0000 (14:59 -0400)]
teuthology: Script to keep teuthology user's crontab up to date
Fixes: https://tracker.ceph.com/issues/23441
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 28 Mar 2018 15:17:41 +0000 (11:17 -0400)]
long_running_cluster: Custom logrotate rules
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 31 Aug 2017 23:48:23 +0000 (19:48 -0400)]
long_running_cluster: Add check for LRC data pool capacity
Signed-off-by: David Galloway <dgallowa@redhat.com>