David Galloway [Wed, 13 Nov 2019 16:33:18 +0000 (11:33 -0500)]
cobbler: Don't quit rc.local if anything fails
exiting 1 if anything breaks doesn't do us any favors. What ends up happening is it seems like the system was reimaged but users can't log in because ansible never gets run. Only admins can log in as the cm user to investigate and even then, since we're outputting to the SOL console, one has to be watching the SOL console for errors when a system is reprovisioned with Cobbler.
If the system fails to get its networking set up, then the ansible tasks won't be able to run anyway. If ansible fails, there's still the `|| true` at the end so, again, no purpose in having `set -e` anywhere in this script.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 8 Nov 2019 17:42:14 +0000 (12:42 -0500)]
Merge pull request #484 from ceph/wip-rhel81
cobbler: Add RHEL8.1 to lab
David Galloway [Fri, 8 Nov 2019 17:41:45 +0000 (12:41 -0500)]
cobbler: Add RHEL8.1 to lab
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 7 Nov 2019 23:02:43 +0000 (18:02 -0500)]
Merge pull request #483 from ceph/wip-rhel78
cobbler: Add RHEL7.8
David Galloway [Thu, 7 Nov 2019 21:38:18 +0000 (16:38 -0500)]
cobbler: Add RHEL7.8
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 5 Nov 2019 15:10:41 +0000 (10:10 -0500)]
Merge pull request #482 from ceph/wip-skip-users
users: Tasks to allow skipping of role if all users/keys are already up to date
David Galloway [Mon, 4 Nov 2019 23:25:25 +0000 (18:25 -0500)]
users: Tasks to allow skipping of role if all users/keys are already good
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 4 Nov 2019 18:41:45 +0000 (13:41 -0500)]
Merge pull request #481 from ceph/Rook-Recovery-Role
Adding rook-recovery role which can be used for deploying the rook je…
Adam Kraitman [Mon, 28 Oct 2019 16:46:24 +0000 (18:46 +0200)]
Adding rook-recovery role which can be used for deploying the rook jenkins instance in the rook CI aws vpc, The deployied instance will have two ebs volumes were the jobs and the jobs configuration data is located
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
David Galloway [Wed, 30 Oct 2019 16:18:41 +0000 (12:18 -0400)]
Merge pull request #480 from ceph/wip-remove-multipath
testnode: remove multipath
Sage Weil [Mon, 28 Oct 2019 14:14:34 +0000 (09:14 -0500)]
Merge pull request #479 from ceph/wip-podman-docker
roles/testnode/vars: install podman|docker newer distros
Sage Weil [Mon, 28 Oct 2019 14:14:09 +0000 (09:14 -0500)]
remove opensuse leap 42.1 (very old!)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 16:05:41 +0000 (11:05 -0500)]
roles/testnode/vars: install podman|docker newer distros
This is for ceph-daemon.
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Fri, 25 Oct 2019 15:59:44 +0000 (17:59 +0200)]
testnode: remove multipath
multipath can interfere with krbd tests, particularly with
krbd_udev_enumerate.yaml. Much like udev, multipath opens block
devices behind the scenes, making the block device busy when it
shouldn't be.
None of the lab tests depend on multipath (it's not installed on
ubuntu), so just remove it rather than messing with /etc/multipath.conf
and restarting multipathd. If the need for multipath comes up, rbd
devices would need to be blacklisted like so:
blacklist {
devnode "^rbd[0-9]+"
}
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Zack Cerza [Thu, 10 Oct 2019 20:19:13 +0000 (14:19 -0600)]
Merge pull request #478 from ceph/wip-ifdown
cobbler: Allow ifdown to fail during rc.local
David Galloway [Thu, 10 Oct 2019 17:20:36 +0000 (13:20 -0400)]
cobbler: Allow ifdown to fail during rc.local
Behavior changed in RHEL8. See example below.
```
+ ifdown enp3s0f1
Error: '/etc/sysconfig/network-scripts/ifcfg-enp3s0f1' is not an active connection.
Error: no active connection provided.
```
Then the script would quit.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 27 Sep 2019 21:56:25 +0000 (15:56 -0600)]
Merge pull request #477 from ceph/wip-ok-nagios
cobbler: EPEL8 has nagios packages so we needn't skip those tasks anymore
David Galloway [Fri, 27 Sep 2019 21:28:04 +0000 (17:28 -0400)]
cobbler: EPEL8 has nagios packages so we needn't skip those tasks anymore
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 27 Sep 2019 21:04:29 +0000 (15:04 -0600)]
Merge pull request #476 from ceph/wip-25g
testnode: Set MTU=9000 on 25Gb NICs too
David Galloway [Fri, 27 Sep 2019 20:59:27 +0000 (16:59 -0400)]
testnode: Set MTU=9000 on 25Gb NICs too
Movin' on up!
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 27 Sep 2019 01:28:32 +0000 (19:28 -0600)]
Merge pull request #475 from ceph/wip-centos8
CentOS8!!!
Zack Cerza [Fri, 27 Sep 2019 01:27:46 +0000 (19:27 -0600)]
Merge pull request #474 from ceph/wip-no-pcp-selinux
common: Don't mess with pcp selinux modules
David Galloway [Thu, 26 Sep 2019 23:22:44 +0000 (19:22 -0400)]
common: Add EPEL8 support!
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 26 Sep 2019 22:52:31 +0000 (18:52 -0400)]
testnode: Set vars for CentOS 8 testnodes
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 26 Sep 2019 18:17:30 +0000 (14:17 -0400)]
cobbler: Add CentOS8 to lab
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 26 Sep 2019 23:23:41 +0000 (19:23 -0400)]
common: Don't mess with pcp selinux modules
Not only are we not using pcp anymore but we also reimage machines before every job so they modules can't get corrupt in the first place.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Thu, 26 Sep 2019 22:32:52 +0000 (16:32 -0600)]
Merge pull request #473 from ceph/wip-centos88
cobbler: Check for rhel8 or centos8 to set ansible_python_interpreter
David Galloway [Thu, 26 Sep 2019 22:30:35 +0000 (18:30 -0400)]
cobbler: Check for rhel8 or centos8 to set ansible_python_interpreter
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 28 Aug 2019 15:31:56 +0000 (11:31 -0400)]
Merge pull request #472 from ceph/wip-oops
teuthology: Correct yaml syntax
David Galloway [Wed, 28 Aug 2019 15:03:32 +0000 (11:03 -0400)]
teuthology: Correct yaml syntax
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 28 Aug 2019 13:11:32 +0000 (09:11 -0400)]
Merge pull request #470 from SUSE/wip-teuthology-github-pr
teuthology: support github pr branches
Kyr Shatskyy [Tue, 27 Aug 2019 17:56:02 +0000 (19:56 +0200)]
teuthology: support github pr branches
Add possibility to checkout github pr branches in format:
teuthology_branch: origin/pr/*/merge
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
adam kraitman [Tue, 27 Aug 2019 15:49:50 +0000 (18:49 +0300)]
Merge pull request #469 from ceph/wip-dhcp-restart
dhcp-server: Only restart dhcpd if something changed
David Galloway [Tue, 27 Aug 2019 15:35:43 +0000 (11:35 -0400)]
dhcp-server: Only restart dhcpd if something changed
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 21 Aug 2019 13:35:12 +0000 (09:35 -0400)]
Merge pull request #468 from ceph/wip-adam-rhel77-cobbler-profile
Add RHEL7.7
Adam Kraitman [Wed, 21 Aug 2019 12:58:41 +0000 (15:58 +0300)]
Adding RHEL7.7-x86_64 to cobbler_profile
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
David Galloway [Fri, 16 Aug 2019 18:42:56 +0000 (14:42 -0400)]
Merge pull request #466 from ceph/wip-extras
testnode: Don't set priority for additional repos
David Galloway [Fri, 16 Aug 2019 18:33:47 +0000 (14:33 -0400)]
testnode: Don't set priority for additional repos
Downstream QE was seeing an issue where a newer version of a package was required but the version in lab-extras was being pinned because the priority was set to high.
IMO, we should be letting whichever repo (regardless of source) install the latest package(s).
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 15 Aug 2019 15:02:12 +0000 (11:02 -0400)]
Merge pull request #465 from ceph/wip-cobbler-838
cobbler_profile: Updating SHA for Ubuntu Xenial
Adam Kraitman [Thu, 15 Aug 2019 14:54:04 +0000 (17:54 +0300)]
cobbler_profile: Updating SHA for Ubuntu Xenial
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
David Galloway [Wed, 14 Aug 2019 15:22:23 +0000 (11:22 -0400)]
Merge pull request #464 from ceph/adam-cobbler-212
Updating ISO Image for Ubuntu-16-04
Adam Kraitman [Wed, 14 Aug 2019 15:10:34 +0000 (18:10 +0300)]
cobbler_profile: Updating ISO Image for Ubuntu Xenial
The copy of the image wore too old to work with kickstart
Signed-off-by: Adam Kraitman <akraitma@redhat.com>
Zack Cerza [Thu, 18 Jul 2019 17:29:52 +0000 (11:29 -0600)]
Merge pull request #462 from ceph/wip-missingvars
cobbler_systems: Only populate systems that have necessary vars defined
Zack Cerza [Thu, 18 Jul 2019 17:29:29 +0000 (11:29 -0600)]
Merge pull request #463 from ceph/wip-rhel8-disks
cobbler: Update RHEL disk partition snippet for RHEL8
David Galloway [Thu, 18 Jul 2019 16:48:25 +0000 (12:48 -0400)]
cobbler: Update RHEL disk partition snippet for RHEL8
Syntax was incorrect and caused issues on systems where /dev/sda isn't the first disk in the system.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Thu, 18 Jul 2019 16:32:01 +0000 (12:32 -0400)]
cobbler_systems: Only populate systems that have necessary vars defined
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Mon, 3 Jun 2019 16:17:30 +0000 (10:17 -0600)]
Merge pull request #461 from ceph/wip-rhel8ga
RHEL8 GA updates
David Galloway [Mon, 3 Jun 2019 16:13:43 +0000 (12:13 -0400)]
Merge pull request #460 from SUSE/git-base-url
teuthology: add defaults for ceph_git_base_url
David Galloway [Mon, 3 Jun 2019 15:57:25 +0000 (11:57 -0400)]
common: Only put epel repos in place on EL7 or lower
This should be reversed when EPEL8 is released (http://tracker.ceph.com/issues/40113)
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 3 Jun 2019 15:51:45 +0000 (11:51 -0400)]
common: RHEL8 GAed so use CDN/RHSM repos
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 3 Jun 2019 15:38:08 +0000 (11:38 -0400)]
cobbler: Add rhsm repos for RHEL8 in snippet
Signed-off-by: David Galloway <dgallowa@redhat.com>
Kyr Shatskyy [Fri, 15 Mar 2019 00:17:10 +0000 (01:17 +0100)]
teuthology: add defaults for ceph_git_base_url
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
David Galloway [Mon, 6 May 2019 12:28:31 +0000 (08:28 -0400)]
Merge pull request #459 from ceph/wip-lrc-logs
long_running_cluster: Keep fewer logs & update postrotate
Sage Weil [Wed, 17 Apr 2019 19:08:38 +0000 (14:08 -0500)]
Merge pull request #458 from ceph/wip-el8builds
common: Use internal EL8 repos
David Galloway [Fri, 12 Apr 2019 19:43:15 +0000 (15:43 -0400)]
common: Use internal EL8 repos
Nightly/scratch builds of RHCS4 for EL8 rely on nightly builds of AppStream and BaseOS so we're mirroring them internally.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Apr 2019 19:21:15 +0000 (15:21 -0400)]
long_running_cluster: Keep fewer logs & update postrotate
I guess the logrotate config was updated in the actual Ceph packages at some point so I'm updating this template to match.
Also, we need to keep fewer logs because the reesi keep filling up.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 22 Mar 2019 17:20:38 +0000 (11:20 -0600)]
Merge pull request #456 from ceph/python3-iteritems
python3: s/iteritems/items/
David Galloway [Thu, 21 Mar 2019 19:38:06 +0000 (15:38 -0400)]
Merge pull request #454 from kshtsk/wip-nsupdate-web-branch
nsupdate_web: add nsupdate_web branch parameter
Zack Cerza [Thu, 21 Mar 2019 17:25:23 +0000 (11:25 -0600)]
Merge pull request #457 from ceph/rhel-8-gpg
RHEL 8 uses Red Hat's beta key
Ken Dreyer [Thu, 21 Mar 2019 17:19:35 +0000 (11:19 -0600)]
RHEL 8 uses Red Hat's beta key
The RHEL 8 beta is signed with the beta key, not the GA key.
Zack Cerza [Thu, 21 Mar 2019 17:10:18 +0000 (13:10 -0400)]
python3: s/iteritems/items/
Signed-off-by: Zack Cerza <zack@redhat.com>
Kyr Shatskyy [Thu, 21 Mar 2019 16:29:30 +0000 (17:29 +0100)]
nsupdate_web: switch repo from zmc to ceph space
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
David Galloway [Thu, 21 Mar 2019 16:14:37 +0000 (12:14 -0400)]
Merge pull request #452 from kshtsk/wip-nsupdate-web-user-group
nsupdate_web: make sure nsupdate user group exists
David Galloway [Thu, 21 Mar 2019 16:12:48 +0000 (12:12 -0400)]
Merge pull request #450 from kshtsk/wip-start-beanstalkd
teuthology: make sure beanstalkd is running
David Galloway [Thu, 21 Mar 2019 16:06:58 +0000 (12:06 -0400)]
Merge pull request #453 from kshtsk/wip-teuthology-leap-vars
teuthology: make zypper vars leap version specific
Kyr Shatskyy [Fri, 15 Mar 2019 00:09:35 +0000 (01:09 +0100)]
teuthology: make sure beanstalkd is running
The beanstalkd service should be running before any
try to start workers up
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
David Galloway [Wed, 20 Mar 2019 12:37:08 +0000 (08:37 -0400)]
Merge pull request #437 from ceph/rhel-8-gpg
add GPG checking for RHEL 8
Kyr Shatskyy [Tue, 19 Mar 2019 18:45:23 +0000 (19:45 +0100)]
nsupdate_web: add branch parameter
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Zack Cerza [Wed, 20 Mar 2019 00:09:05 +0000 (18:09 -0600)]
Merge pull request #455 from kshtsk/wip-nsupdate-leap-15
nsupdate_web: add leap 15 vars
Zack Cerza [Wed, 20 Mar 2019 00:08:35 +0000 (18:08 -0600)]
Merge pull request #451 from kshtsk/wip-nsupdate-web-port
nsupdate_web: add nsupdate_web_port parameter
Kyr Shatskyy [Tue, 19 Mar 2019 20:16:38 +0000 (21:16 +0100)]
nsupdate_web: add leap 15 vars
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Tue, 19 Mar 2019 19:46:41 +0000 (20:46 +0100)]
teuthology: make zypper vars leap version specific
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Tue, 19 Mar 2019 18:18:06 +0000 (19:18 +0100)]
nsupdate_web: add nsupdate_web_port parameter
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Tue, 19 Mar 2019 18:48:48 +0000 (19:48 +0100)]
nsupdate_web: make sure nsupdate user group exists
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Zack Cerza [Fri, 15 Mar 2019 16:00:51 +0000 (10:00 -0600)]
Merge pull request #449 from kshtsk/wip-use-archive-base-var
teuthology: use 'archive_base' variable instead of hardcoded value
Kyr Shatskyy [Thu, 14 Mar 2019 22:37:33 +0000 (23:37 +0100)]
teuthology: use 'archive_base' variable instead of hardcoded value
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Zack Cerza [Thu, 14 Mar 2019 19:19:42 +0000 (13:19 -0600)]
Merge pull request #448 from kshtsk/wip-use-teuthology-user-var
teuthology: use variable for user name
Zack Cerza [Thu, 14 Mar 2019 19:18:35 +0000 (13:18 -0600)]
Merge pull request #444 from kshtsk/fix-named-dirs-permissions
nameserver: ensure named directories have right owner and permissions
Zack Cerza [Thu, 14 Mar 2019 19:16:31 +0000 (13:16 -0600)]
Merge pull request #434 from ceph/wip-lvm2
testnode: Install lvm2
Kyr Shatskyy [Thu, 14 Mar 2019 18:00:03 +0000 (19:00 +0100)]
teuthology: use variable for user name
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
David Galloway [Mon, 11 Mar 2019 23:55:34 +0000 (19:55 -0400)]
Merge pull request #446 from kshtsk/add-pulpito-branch
pulpito: add branch parameter for git checkout
David Galloway [Mon, 11 Mar 2019 15:49:30 +0000 (11:49 -0400)]
Merge pull request #443 from kshtsk/wip-nsupdate-suse
support opensuse 42.3 for nsupdate_web
David Galloway [Mon, 11 Mar 2019 13:33:19 +0000 (09:33 -0400)]
Merge pull request #445 from kshtsk/add-paddles-branch
paddles: add branch parameter for git checkout
David Galloway [Mon, 11 Mar 2019 13:32:44 +0000 (09:32 -0400)]
Merge pull request #447 from kshtsk/add-teuthology-branch
teuthology: add branch parameter for git checkout
David Galloway [Fri, 8 Mar 2019 18:23:02 +0000 (13:23 -0500)]
Merge pull request #441 from kshtsk/wip-nameserver-suse-packages
support opensuse package for nameserver role
David Galloway [Fri, 8 Mar 2019 18:17:58 +0000 (13:17 -0500)]
Merge pull request #442 from kshtsk/wip-teuthology-logs
teuthology: make sure teuthology logs directory exists
Kyr Shatskyy [Thu, 7 Mar 2019 13:06:54 +0000 (14:06 +0100)]
teuthology: add branch parameter for git checkout
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Thu, 7 Mar 2019 13:03:40 +0000 (14:03 +0100)]
pulpito: add branch parameter for git checkout
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Thu, 7 Mar 2019 10:54:42 +0000 (11:54 +0100)]
paddles: add branch parameter for git checkout
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 18:25:52 +0000 (19:25 +0100)]
nameserver: ensure named directories have right owner and permissions
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 17:44:52 +0000 (18:44 +0100)]
nsupdate_web: replace python3.5 restriction with python3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 17:43:15 +0000 (18:43 +0100)]
nsupdate_web: support opensuse leap 42.3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 17:11:13 +0000 (18:11 +0100)]
teuthology: make sure teuthology logs directory exists
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 15:42:13 +0000 (16:42 +0100)]
nameserver: make named.conf python3 compatible
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Wed, 6 Mar 2019 15:54:19 +0000 (16:54 +0100)]
nameserver: add suse related packages
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Zack Cerza [Fri, 1 Mar 2019 17:08:22 +0000 (10:08 -0700)]
Merge pull request #440 from ceph/wip-6
long_running_cluster: Force logrotate at 06:25
David Galloway [Fri, 1 Mar 2019 16:12:35 +0000 (11:12 -0500)]
long_running_cluster: Force logrotate at 06:25
The scheduled logrotate cronjob at 06:25 doesn't actually get run like I assumed. This is because the cron.daily job doesn't use -f.
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 19 Feb 2019 12:45:12 +0000 (07:45 -0500)]
Merge pull request #439 from ceph/wip-remoto
testnode: Install remoto on testnodes
Zack Cerza [Wed, 13 Feb 2019 17:17:31 +0000 (10:17 -0700)]
Merge pull request #438 from ceph/wip-fix-timedatectl
common: After reboot, wait longer before polling for connection
David Galloway [Wed, 13 Feb 2019 17:00:41 +0000 (12:00 -0500)]
testnode: Install remoto on testnodes
For use with https://github.com/ceph/ceph/pull/26262
Signed-off-by: David Galloway <dgallowa@redhat.com>