]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
8 years agoReduce 'internal_poll_interval' to stem the CPU usage tide 308/head
Dan Mick [Mon, 27 Feb 2017 21:03:14 +0000 (13:03 -0800)]
Reduce 'internal_poll_interval' to stem the CPU usage tide

See https://github.com/ansible/ansible/pull/16560 and
https://github.com/ansible/ansible/issues/14219

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #299 from ceph/wip-nsupdate
David Galloway [Thu, 23 Feb 2017 16:54:02 +0000 (11:54 -0500)]
Merge pull request #299 from ceph/wip-nsupdate

Add role for nsupdate_web

8 years agoAdd role for nsupdate_web 299/head
Zack Cerza [Thu, 22 Dec 2016 19:23:39 +0000 (12:23 -0700)]
Add role for nsupdate_web

See https://github.com/zmc/nsupdate-web/

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #306 from ceph/wip-lsbrelease
Dan Mick [Thu, 9 Feb 2017 20:27:43 +0000 (12:27 -0800)]
Merge pull request #306 from ceph/wip-lsbrelease

nameserver: Install redhat-lsb-core for `lsb_release`

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agonameserver: Install redhat-lsb-core for `lsb_release` 306/head
David Galloway [Thu, 9 Feb 2017 20:23:25 +0000 (15:23 -0500)]
nameserver: Install redhat-lsb-core for `lsb_release`

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #305 from dmick/master
David Galloway [Thu, 9 Feb 2017 16:07:21 +0000 (11:07 -0500)]
Merge pull request #305 from dmick/master

testnode/tasks/ntp: remove '/etc/network/if-up.d/ntpdate' on Xenial

8 years agotestnode/tasks/ntp: remove '/etc/network/if-up.d/ntpdate' on Xenial 305/head
Dan Mick [Mon, 6 Feb 2017 22:24:48 +0000 (14:24 -0800)]
testnode/tasks/ntp: remove '/etc/network/if-up.d/ntpdate' on Xenial

It's buggy (see comment in code) and we don't need it, because
teuthology does what it would do anyway.  Supposed to be fixed in
a later version of the Debian package which is in Yakkety.

Fixes: http://tracker.ceph.com/issues/18837
Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #281 from rjfd/wip-opensuse-upstream-pr
Zack Cerza [Thu, 2 Feb 2017 20:13:00 +0000 (13:13 -0700)]
Merge pull request #281 from rjfd/wip-opensuse-upstream-pr

Support for running teuthology suites in OpenSUSE Leap images

8 years agoMerge pull request #303 from ceph/wip-teuth-mime
David Galloway [Mon, 30 Jan 2017 16:37:42 +0000 (11:37 -0500)]
Merge pull request #303 from ceph/wip-teuth-mime

teuthology: Correct MIME type spec for log files

8 years agoteuthology: Correct MIME type spec for log files 303/head
Zack Cerza [Mon, 30 Jan 2017 16:17:35 +0000 (09:17 -0700)]
teuthology: Correct MIME type spec for log files

Gzipped files were being served as text/plain. Instead of applying text/plain to everythincg, extend the default MIME configuration to serve *.log as text/plain.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #302 from ceph/wip-named-chown
Zack Cerza [Fri, 20 Jan 2017 00:32:56 +0000 (17:32 -0700)]
Merge pull request #302 from ceph/wip-named-chown

nameserver: Fix permissions on /var/named/zones

8 years agonameserver: Fix permissions on /var/named/zones 302/head
David Galloway [Fri, 20 Jan 2017 00:28:42 +0000 (19:28 -0500)]
nameserver: Fix permissions on /var/named/zones

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #301 from ceph/wip-cloud-dns
David Galloway [Thu, 12 Jan 2017 23:21:08 +0000 (18:21 -0500)]
Merge pull request #301 from ceph/wip-cloud-dns

Ensure search domain and domain are set properly in resolv.conf

8 years agoEnsure domain is set in resolv.conf 301/head
Zack Cerza [Tue, 10 Jan 2017 22:58:47 +0000 (15:58 -0700)]
Ensure domain is set in resolv.conf

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoEnsure search domain is set in resolv.conf
Zack Cerza [Tue, 10 Jan 2017 22:58:33 +0000 (15:58 -0700)]
Ensure search domain is set in resolv.conf

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #300 from ceph/wip-dns-slave
Dan Mick [Fri, 6 Jan 2017 06:04:02 +0000 (22:04 -0800)]
Merge pull request #300 from ceph/wip-dns-slave

nameserver: Add support for BIND slave nameservers

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agonameserver: Add support for BIND slave nameservers 300/head
David Galloway [Tue, 3 Jan 2017 23:57:31 +0000 (18:57 -0500)]
nameserver: Add support for BIND slave nameservers

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #298 from ceph/wip-centos73
Zack Cerza [Thu, 22 Dec 2016 23:03:10 +0000 (16:03 -0700)]
Merge pull request #298 from ceph/wip-centos73

Add CentOS 7.3 to Cobbler

8 years agoAdd CentOS 7.3 to Cobbler 298/head
David Galloway [Wed, 21 Dec 2016 22:00:15 +0000 (17:00 -0500)]
Add CentOS 7.3 to Cobbler

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #297 from ceph/wip-ddns-in-front
Dan Mick [Sat, 17 Dec 2016 00:20:38 +0000 (16:20 -0800)]
Merge pull request #297 from ceph/wip-ddns-in-front

nameserver: Dynamic DNS support

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agonameserver: Enable ntpd 297/head
David Galloway [Thu, 8 Dec 2016 23:07:26 +0000 (18:07 -0500)]
nameserver: Enable ntpd

Required for dynamic DNS updates to work

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agonameserver: Configure SELinux for dynamic DNS support
David Galloway [Thu, 8 Dec 2016 23:04:35 +0000 (18:04 -0500)]
nameserver: Configure SELinux for dynamic DNS support

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agonameserver: Support dynamic DNS in named config
David Galloway [Thu, 8 Dec 2016 21:10:14 +0000 (16:10 -0500)]
nameserver: Support dynamic DNS in named config

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agonameserver: Support dynamic DNS zone in records task
David Galloway [Thu, 8 Dec 2016 20:13:26 +0000 (15:13 -0500)]
nameserver: Support dynamic DNS zone in records task

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #295 from ceph/wip-dhcp-cleanup
Dan Mick [Mon, 5 Dec 2016 19:46:55 +0000 (11:46 -0800)]
Merge pull request #295 from ceph/wip-dhcp-cleanup

Cleanup cobbler network setup stuff for Ubuntu testnodes

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoroles: testnode: Support for openSUSE Leap 281/head
Ricardo Dias [Fri, 1 Jul 2016 09:31:03 +0000 (10:31 +0100)]
roles: testnode: Support for openSUSE Leap

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agoroles: common: Support for openSUSE Leap
Ricardo Dias [Fri, 1 Jul 2016 09:30:24 +0000 (10:30 +0100)]
roles: common: Support for openSUSE Leap

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agotestnode: do not configure Nagios on zypper-based systems
Nathan Cutler [Sun, 15 May 2016 21:00:59 +0000 (23:00 +0200)]
testnode: do not configure Nagios on zypper-based systems

Nagios is only used in the Sepia lab. For zypper-based systems we are currently
targeting OpenStack only.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoAdd sshd_config template for openSUSE Leap
Nathan Cutler [Sun, 15 May 2016 20:54:16 +0000 (22:54 +0200)]
Add sshd_config template for openSUSE Leap

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agocleanup: remove fullstops in tasks/ssh.yml
Nathan Cutler [Sun, 15 May 2016 20:50:50 +0000 (22:50 +0200)]
cleanup: remove fullstops in tasks/ssh.yml

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotestnode/templates/ssh: unify permissions to 644
Nathan Cutler [Sun, 15 May 2016 20:47:03 +0000 (22:47 +0200)]
testnode/templates/ssh: unify permissions to 644

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotestnode/tasks/main.yml: support openSUSE
Nathan Cutler [Sun, 15 May 2016 20:41:50 +0000 (22:41 +0200)]
testnode/tasks/main.yml: support openSUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotasks/main.yml: convert comments into names
Nathan Cutler [Sun, 15 May 2016 20:31:57 +0000 (22:31 +0200)]
tasks/main.yml: convert comments into names

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoAdd zypper_systems.yml (straight copy from yum_systems.yml)
Nathan Cutler [Sun, 15 May 2016 20:14:50 +0000 (22:14 +0200)]
Add zypper_systems.yml (straight copy from yum_systems.yml)

8 years agocobbler_profile: Concede to systemd NIC naming methods 295/head
David Galloway [Thu, 1 Dec 2016 20:30:19 +0000 (15:30 -0500)]
cobbler_profile: Concede to systemd NIC naming methods

Setting biosdevname=0 was causing issues with NICs being renamed after
cobbler reimage.  The system would reimage/install fine but the NIC would have a
different name on firstboot.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocobbler: Remove cephlab_ubuntu_network snippet
David Galloway [Thu, 1 Dec 2016 20:26:24 +0000 (15:26 -0500)]
cobbler: Remove cephlab_ubuntu_network snippet

Just cruft at this point.  It hasn't been used since
05267fe001432d326c30262d4b07d1775a2ad0d4

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #294 from ceph/wip-18067
Zack Cerza [Tue, 29 Nov 2016 22:03:04 +0000 (15:03 -0700)]
Merge pull request #294 from ceph/wip-18067

testnode: Install libtool-bin for building xfstests

8 years agotestnode: Install libtool-bin for building xfstests 294/head
David Galloway [Tue, 29 Nov 2016 18:58:41 +0000 (13:58 -0500)]
testnode: Install libtool-bin for building xfstests

Fixes: http://tracker.ceph.com/issues/18067
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #293 from ceph/wip-zap-disks
Zack Cerza [Thu, 17 Nov 2016 21:01:50 +0000 (14:01 -0700)]
Merge pull request #293 from ceph/wip-zap-disks

Zap all non-root disks on testnodes

8 years agocobbler: Install gdisk for use with testnodes zap ansible tag 293/head
David Galloway [Thu, 17 Nov 2016 19:37:17 +0000 (14:37 -0500)]
cobbler: Install gdisk for use with testnodes zap ansible tag

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocobbler: zap disks after cobbler reimage
David Galloway [Thu, 17 Nov 2016 19:05:48 +0000 (14:05 -0500)]
cobbler: zap disks after cobbler reimage

Added to first line to make sure it's run when using -stock profiles

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Zap GPT and MBR on all disks but root
David Galloway [Fri, 5 Aug 2016 01:33:05 +0000 (21:33 -0400)]
testnode: Zap GPT and MBR on all disks but root

Fixes: http://tracker.ceph.com/issues/15951
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #292 from ceph/wip-dns-recurse
Dan Mick [Thu, 17 Nov 2016 00:01:19 +0000 (16:01 -0800)]
Merge pull request #292 from ceph/wip-dns-recurse

nameserver: Add support for enabling/disabling recursion

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #291 from ceph/wip-17922
Dan Mick [Wed, 16 Nov 2016 23:34:48 +0000 (15:34 -0800)]
Merge pull request #291 from ceph/wip-17922

Updates to downstream_setup role

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agodownstream_setup: Dynamically evaluate when statements in main.yml 291/head
David Galloway [Wed, 16 Nov 2016 20:34:25 +0000 (15:34 -0500)]
downstream_setup: Dynamically evaluate when statements in main.yml

See https://github.com/ansible/ansible/issues/18483

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agonameserver: Add support for enabling/disabling recursion 292/head
David Galloway [Wed, 16 Nov 2016 22:07:19 +0000 (17:07 -0500)]
nameserver: Add support for enabling/disabling recursion

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agodownstream-setup: define empty var for repos_to_remove
David Galloway [Wed, 16 Nov 2016 17:57:49 +0000 (12:57 -0500)]
downstream-setup: define empty var for repos_to_remove

This var got missed when working on
https://github.com/ceph/ceph-cm-ansible/pull/287

Fixes: http://tracker.ceph.com/issues/17922
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #290 from ceph/wip-firmware
Dan Mick [Wed, 9 Nov 2016 20:02:42 +0000 (12:02 -0800)]
Merge pull request #290 from ceph/wip-firmware

New role for updating firmware

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agofirmware: Add README for role 290/head
David Galloway [Fri, 4 Nov 2016 18:22:43 +0000 (14:22 -0400)]
firmware: Add README for role

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agofirmware: Add NVMe firmware update support for smithi
David Galloway [Thu, 3 Nov 2016 20:43:19 +0000 (16:43 -0400)]
firmware: Add NVMe firmware update support for smithi

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agofirmware: Add BMC update support for smithi
David Galloway [Fri, 14 Oct 2016 20:28:55 +0000 (16:28 -0400)]
firmware: Add BMC update support for smithi

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agofirmware: Add Areca RAID controller support
David Galloway [Fri, 14 Oct 2016 19:37:18 +0000 (15:37 -0400)]
firmware: Add Areca RAID controller support

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #287 from ceph/wip-ansible22
Zack Cerza [Mon, 7 Nov 2016 21:07:40 +0000 (14:07 -0700)]
Merge pull request #287 from ceph/wip-ansible22

testnode: Define a few empty variables for ansible v2.2 compatibility

8 years agofirmware: New role. Adding BIOS and BMC support for mira
David Galloway [Fri, 14 Oct 2016 17:05:27 +0000 (13:05 -0400)]
firmware: New role.  Adding BIOS and BMC support for mira

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #289 from ceph/wip-rhel73
Dan Mick [Fri, 4 Nov 2016 00:04:13 +0000 (17:04 -0700)]
Merge pull request #289 from ceph/wip-rhel73

Add RHEL7.3 support

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoAdd RHEL7.3 support 289/head
David Galloway [Thu, 3 Nov 2016 18:23:28 +0000 (14:23 -0400)]
Add RHEL7.3 support

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #288 from ceph/wip-nrpe-rhel
Zack Cerza [Wed, 2 Nov 2016 22:56:42 +0000 (16:56 -0600)]
Merge pull request #288 from ceph/wip-nrpe-rhel

common: Install a few additional packages for NRPE

8 years agocommon: Install a few additional packages for NRPE 288/head
David Galloway [Wed, 2 Nov 2016 20:33:24 +0000 (16:33 -0400)]
common: Install a few additional packages for NRPE

check_load nagios plugin needs to be installed on RHEL and CentOS

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Define a few empty variables for ansible v2.2 compatibility 287/head
David Galloway [Tue, 1 Nov 2016 18:20:41 +0000 (14:20 -0400)]
testnode: Define a few empty variables for ansible v2.2 compatibility

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #286 from ceph/wip-users-become
Zack Cerza [Fri, 28 Oct 2016 19:57:45 +0000 (13:57 -0600)]
Merge pull request #286 from ceph/wip-users-become

Use "become: true" for users role

8 years agoUse "become: true" for users role 286/head
David Galloway [Fri, 28 Oct 2016 19:49:31 +0000 (15:49 -0400)]
Use "become: true" for users role

This is needed if the users role is called manually.  Typically it's
called via the common role and "become: true" is inherited.

But in the case of just needing to update update the teuthology_user's pubkeys with @all.pub, just calling the users role manually is quicker.  sudo access is obviously required to modify users and groups.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #285 from ceph/wip-beta2
Zack Cerza [Wed, 19 Oct 2016 17:22:47 +0000 (11:22 -0600)]
Merge pull request #285 from ceph/wip-beta2

common: Change method of detecting beta distro

8 years agocommon: Change method of detecting beta distro 285/head
David Galloway [Tue, 18 Oct 2016 19:03:02 +0000 (15:03 -0400)]
common: Change method of detecting beta distro

It was recently discovered that Release Candidate ISOs of RHEL don't output "Beta" or
"Alpha" in `lsb_release` output.  Therefore, RHEL RC Distros were
registering with CDN and not putting beta_repos in place.

This new method registers every RHEL system with CDN, checks if there are
any available matching repos based on ansible_distribution_version, and
either:
  - Unregisters from CDN and runs beta_distros.yml if there are no CDN repos
  - Continues with setting up desired rhsm_repos

I also added some additional working to task descriptions to hopefully
claer up what's going on in this playbook since there are a lot of when
and if statements.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #283 from ceph/wip-common-updates
Dan Mick [Fri, 23 Sep 2016 21:09:57 +0000 (14:09 -0700)]
Merge pull request #283 from ceph/wip-common-updates

Updates to common role

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Add nagios check_mem command 283/head
David Galloway [Fri, 23 Sep 2016 20:24:16 +0000 (16:24 -0400)]
common: Add nagios check_mem command

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocommon: Create nagios_allowed_hosts var for lab-specific nagios IPs
David Galloway [Thu, 22 Sep 2016 21:30:29 +0000 (17:30 -0400)]
common: Create nagios_allowed_hosts var for lab-specific nagios IPs

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoAdd common.yml playbook file
David Galloway [Thu, 22 Sep 2016 21:22:11 +0000 (17:22 -0400)]
Add common.yml playbook file

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #282 from ceph/wip-vmlist
Dan Mick [Wed, 14 Sep 2016 04:10:19 +0000 (21:10 -0700)]
Merge pull request #282 from ceph/wip-vmlist

Add vmhosts to vmlist.py and run virsh in read-only mode

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoAdd vmhosts to vmlist.py and run virsh in read-only mode 282/head
David Galloway [Tue, 13 Sep 2016 20:15:16 +0000 (16:15 -0400)]
Add vmhosts to vmlist.py and run virsh in read-only mode

'virsh -r' allows vmlist.py to work with RHEV hypervisor hosts

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #280 from ceph/wip-ubuntu-groups
Dan Mick [Wed, 24 Aug 2016 23:05:05 +0000 (16:05 -0700)]
Merge pull request #280 from ceph/wip-ubuntu-groups

users: Leave managed_admin_users' other group memberships alone

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agousers: Leave managed_admin_users' other group memberships alone 280/head
David Galloway [Tue, 23 Aug 2016 22:56:58 +0000 (18:56 -0400)]
users: Leave managed_admin_users' other group memberships alone

This change is mainly so the users role can be run on vps_hosts.

Previously, in order to update the ubuntu user's authorized_keys on
vps_hosts, the testnodes role had to be run which caused ubuntu to be
removed from the libvirtd group.

The ubuntu user is in managed_admin_users on vps_hosts so this will
ensure the user is added to sudo and left in the libvirtd group.

managed_users, on the other hand, we want to make sure are only in
groups we specify so the "Create all users without sudo access." task is
left as-is (without append: yes).

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #279 from ceph/wip-beta-repos
Josh Durgin [Tue, 16 Aug 2016 06:05:40 +0000 (23:05 -0700)]
Merge pull request #279 from ceph/wip-beta-repos

defaults: beta_repos must be a dict

8 years agodefaults: beta_repos must be a dict 279/head
Josh Durgin [Tue, 16 Aug 2016 05:42:46 +0000 (05:42 +0000)]
defaults: beta_repos must be a dict

This causes ceph-cm-ansible to fail every teuthology job due to
the bad default: 'with_dict expects a dict'

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #278 from ceph/wip-beta-distros
Zack Cerza [Mon, 15 Aug 2016 21:58:23 +0000 (15:58 -0600)]
Merge pull request #278 from ceph/wip-beta-distros

Add support for testing RHEL beta distros using internal repos

8 years agocobbler: redhat-lsb-core package is required for ansible_lsb variables 278/head
David Galloway [Thu, 11 Aug 2016 21:02:31 +0000 (17:02 -0400)]
cobbler: redhat-lsb-core package is required for ansible_lsb variables

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnodes: Add support for internal RHEL beta repos
David Galloway [Thu, 11 Aug 2016 20:57:50 +0000 (16:57 -0400)]
testnodes: Add support for internal RHEL beta repos

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #277 from ceph/wip-teuthology
David Galloway [Fri, 5 Aug 2016 18:26:29 +0000 (14:26 -0400)]
Merge pull request #277 from ceph/wip-teuthology

teuthology role updates

8 years agoProvide a default for teuthology_yaml_extra 277/head
Zack Cerza [Tue, 2 Aug 2016 20:49:08 +0000 (14:49 -0600)]
Provide a default for teuthology_yaml_extra

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #272 from ceph/wip-teuth-kill
Zack Cerza [Fri, 5 Aug 2016 17:07:15 +0000 (11:07 -0600)]
Merge pull request #272 from ceph/wip-teuth-kill

teuthology: Create tkill group and grant tkill_users right to run `kill`

8 years agoteuthology: Create test-admins group and grant test_admins right to run `kill` 272/head
David Galloway [Thu, 28 Jul 2016 21:56:19 +0000 (17:56 -0400)]
teuthology: Create test-admins group and grant test_admins right to run `kill`

Fixes: http://tracker.ceph.com/issues/16614
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #276 from ceph/wip-teuth-fixes
Zack Cerza [Tue, 2 Aug 2016 17:23:35 +0000 (11:23 -0600)]
Merge pull request #276 from ceph/wip-teuth-fixes

A couple fixes to teuthology role

8 years agoMerge pull request #274 from ceph/wip-profile-tasks
David Galloway [Tue, 2 Aug 2016 15:31:36 +0000 (11:31 -0400)]
Merge pull request #274 from ceph/wip-profile-tasks

Use the profile_tasks plugin

8 years agoUse the profile_tasks plugin 274/head
Zack Cerza [Mon, 1 Aug 2016 22:45:47 +0000 (16:45 -0600)]
Use the profile_tasks plugin

This will cause ansible to display timing information for tasks,
allowing us to see what's slow and potentially improve speed.

I've been using this locally for a while now. It's nice.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #275 from ceph/wip-ssh-retries
David Galloway [Tue, 2 Aug 2016 15:00:04 +0000 (11:00 -0400)]
Merge pull request #275 from ceph/wip-ssh-retries

Retry SSH connections five times

8 years agoMerge pull request #273 from ceph/wip-strategy-free
David Galloway [Tue, 2 Aug 2016 14:56:17 +0000 (10:56 -0400)]
Merge pull request #273 from ceph/wip-strategy-free

Use strategy: free on some playbooks

8 years agoRetry SSH connections five times 275/head
Zack Cerza [Mon, 1 Aug 2016 22:49:49 +0000 (16:49 -0600)]
Retry SSH connections five times

This may help with some of the problems we've been seeing.

Related to http://tracker.ceph.com/issues/16826
Inspired by
https://github.com/ansible/ansible/issues/13401#issuecomment-216768025

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoUse strategy: free on some playbooks 273/head
Zack Cerza [Mon, 1 Aug 2016 22:47:21 +0000 (16:47 -0600)]
Use strategy: free on some playbooks

See http://docs.ansible.com/ansible/playbooks_strategies.html#strategies

This could potentially improve performance.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoteuthology: Ignore any errors when disabling apache2 276/head
David Galloway [Thu, 28 Jul 2016 19:24:53 +0000 (15:24 -0400)]
teuthology: Ignore any errors when disabling apache2

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoteuthology: Additional packages needed to run bootstrap now
David Galloway [Thu, 28 Jul 2016 18:42:24 +0000 (14:42 -0400)]
teuthology: Additional packages needed to run bootstrap now

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #271 from ceph/wip-no-fw
Zack Cerza [Tue, 26 Jul 2016 15:52:11 +0000 (09:52 -0600)]
Merge pull request #271 from ceph/wip-no-fw

testnode: Disable firewalld and iptables regardless of OS version

9 years agotestnode: Disable firewalld and iptables regardless of OS version 271/head
David Galloway [Tue, 26 Jul 2016 15:08:57 +0000 (11:08 -0400)]
testnode: Disable firewalld and iptables regardless of OS version

iptables was recently found installed and running on a RHEL7 system.
Previous testnode playbook runs wouldn't catch this since it shouldn't
be installed in the first place.  This change ensures firewalld and
iptables are stopped on all RPM-based distros.

Fixes: http://tracker.ceph.com/issues/16809
Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #270 from ceph/wip-keys-retry
David Galloway [Mon, 25 Jul 2016 18:06:09 +0000 (14:06 -0400)]
Merge pull request #270 from ceph/wip-keys-retry

Add a retry when cloning the keys repo

9 years agoAdd a retry when cloning the keys repo 270/head
Zack Cerza [Mon, 25 Jul 2016 17:52:30 +0000 (11:52 -0600)]
Add a retry when cloning the keys repo

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #269 from ceph/wip-cobbler-gitrace
David Galloway [Wed, 20 Jul 2016 22:34:10 +0000 (18:34 -0400)]
Merge pull request #269 from ceph/wip-cobbler-gitrace

Use flock to avoid race conditions with git

9 years agoUse flock to avoid race conditions with git 269/head
Zack Cerza [Wed, 20 Jul 2016 22:29:39 +0000 (16:29 -0600)]
Use flock to avoid race conditions with git

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #265 from ceph/wip-nagios-common
Zack Cerza [Wed, 20 Jul 2016 15:24:22 +0000 (09:24 -0600)]
Merge pull request #265 from ceph/wip-nagios-common

Move NRPE setup to common role

9 years agoMerge pull request #267 from ceph/wip-no-gperftools-devel
vasukulkarni [Tue, 19 Jul 2016 16:40:30 +0000 (09:40 -0700)]
Merge pull request #267 from ceph/wip-no-gperftools-devel

testnode: drop gperftools-devel

9 years agoMerge pull request #268 from ceph/wip-failure-log-debug
Dan Mick [Mon, 18 Jul 2016 23:42:02 +0000 (16:42 -0700)]
Merge pull request #268 from ceph/wip-failure-log-debug

If a YAML error is hit, log the raw object

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoIf a YAML error is hit, log the raw object 268/head
Zack Cerza [Mon, 18 Jul 2016 22:50:01 +0000 (16:50 -0600)]
If a YAML error is hit, log the raw object

We are seeing: "RepresenterError: cannot represent an object: pcp"

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotestnode: drop gperftools-devel 267/head
Ken Dreyer [Mon, 18 Jul 2016 17:32:57 +0000 (11:32 -0600)]
testnode: drop gperftools-devel

Stop installing the gperftools-devel package on testnodes, for the
following reasons:

1. Ceph does not require gperftools-devel at runtime, so installing it
   unnecessarily just slows everything down at this point.

2. When we want to test newer builds of gperftools (say, from RHEL 7.3),
   if the corresponding "gperftools-devel" package is not available on
   the test node, then yum will fail the transaction.

(Additionally, gperftools-devel is no longer in EPEL 7, and it has moved to
RHEL 7 Optional in RHEL 7.2 (https://bugzilla.redhat.com/1213879,
https://access.redhat.com/errata/RHEA-2015:2293). The "epel" list is no
longer the correct list for this package on redhat_7 and centos_7.)