]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
8 years agotestnode: Retry zapping disk if sgdisk fails the first time 323/head
David Galloway [Fri, 7 Jul 2017 15:22:09 +0000 (11:22 -0400)]
testnode: Retry zapping disk if sgdisk fails the first time

I've seen `sgdisk -Z` fail the first time on RMA replacement drives from HGST but succeed on re-running it.

@alfredodeza recommended we add a retry.  Can't hurt.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Shred any leftover ceph osd metadata on non-root partitions
David Galloway [Thu, 6 Jul 2017 21:04:15 +0000 (17:04 -0400)]
testnode: Shred any leftover ceph osd metadata on non-root partitions

Fixes: http://tracker.ceph.com/issues/20533
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #322 from ceph/wip-www
Zack Cerza [Tue, 20 Jun 2017 15:05:12 +0000 (09:05 -0600)]
Merge pull request #322 from ceph/wip-www

public_facing: Create separate task yml for letsencrypt/nginx/ipv6 hosts

8 years agopublic_facing: Create separate task yml for letsencrypt/nginx/ipv6 hosts 322/head
David Galloway [Tue, 20 Jun 2017 13:44:41 +0000 (09:44 -0400)]
public_facing: Create separate task yml for letsencrypt/nginx/ipv6 hosts

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #321 from ceph/wip-download
Zack Cerza [Mon, 19 Jun 2017 19:50:35 +0000 (13:50 -0600)]
Merge pull request #321 from ceph/wip-download

public_facing: Changes to download.ceph.com crontab

8 years agopublic_facing: Changes to download.ceph.com crontab 321/head
David Galloway [Mon, 19 Jun 2017 19:27:12 +0000 (15:27 -0400)]
public_facing: Changes to download.ceph.com crontab

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #320 from ceph/wip-rhel74
Zack Cerza [Fri, 16 Jun 2017 22:54:12 +0000 (16:54 -0600)]
Merge pull request #320 from ceph/wip-rhel74

cobbler: Add RHEL 7.4

8 years agoMerge pull request #319 from ceph/wip-18126
Zack Cerza [Thu, 15 Jun 2017 17:34:17 +0000 (11:34 -0600)]
Merge pull request #319 from ceph/wip-18126

Repo changes for Ubuntu testnodes

8 years agotestnode: Only install custom fastcgi repo on Trusty testnodes 319/head
David Galloway [Thu, 15 Jun 2017 16:15:01 +0000 (12:15 -0400)]
testnode: Only install custom fastcgi repo on Trusty testnodes

Now that we're running apt/repos.yml tasks on Xenial, we can move
the fastcgi repo to ubuntu_14.yml since it's exclusive to that distro
version.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Permanently disable/remove custom blkin repo
David Galloway [Thu, 15 Jun 2017 16:07:47 +0000 (12:07 -0400)]
testnode: Permanently disable/remove custom blkin repo

See https://github.com/ceph/ceph-cm-ansible/pull/156

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Perform repo tasks on all Ubuntu testnodes
David Galloway [Thu, 15 Jun 2017 16:00:22 +0000 (12:00 -0400)]
testnode: Perform repo tasks on all Ubuntu testnodes

Just realized apt/repos.yml hasn't been getting run on Xenial testnodes.
There are some important tasks in there that should be run (e.g., Removing custom repos from
/etc/apt/sources.list.d).

We aren't using apt-mirror for Xenial so I've limited writing the master
sources.list to Trusty and earlier.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Add custom repo to Xenial to provide newer version of valgrind
David Galloway [Thu, 15 Jun 2017 15:52:08 +0000 (11:52 -0400)]
testnode: Add custom repo to Xenial to provide newer version of valgrind

Fixes: http://tracker.ceph.com/issues/18126#note-11
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocobbler: Add RHEL 7.4 320/head
David Galloway [Thu, 15 Jun 2017 16:28:13 +0000 (12:28 -0400)]
cobbler: Add RHEL 7.4

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #317 from ceph/wip-13522
Zack Cerza [Wed, 31 May 2017 19:39:09 +0000 (13:39 -0600)]
Merge pull request #317 from ceph/wip-13522

Update libgoogle-perftools4 on Xenial

8 years agoUpdate libgoogle-perftools4 on Xenial 317/head
David Galloway [Wed, 24 May 2017 14:45:44 +0000 (10:45 -0400)]
Update libgoogle-perftools4 on Xenial

Fixes: http://tracker.ceph.com/issues/13522#note-51
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #316 from ceph/wip-retry-unregister
vasukulkarni [Fri, 19 May 2017 16:25:02 +0000 (09:25 -0700)]
Merge pull request #316 from ceph/wip-retry-unregister

common: Retry unregister beta distro from CDN

8 years agocommon: Retry unregister beta distro from CDN 316/head
David Galloway [Fri, 19 May 2017 16:17:14 +0000 (12:17 -0400)]
common: Retry unregister beta distro from CDN

Seeing intermittent `subscription-manager unregister` failures in Octo.
Since the register task has retries, I see no reason unregistering
can't.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #314 from ceph/wip-www-cron
Dan Mick [Tue, 28 Mar 2017 21:45:16 +0000 (14:45 -0700)]
Merge pull request #314 from ceph/wip-www-cron

public_facing: Add cronjobs for www.ceph.com

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #315 from ceph/wip-new-ansible
Dan Mick [Mon, 27 Mar 2017 22:09:47 +0000 (15:09 -0700)]
Merge pull request #315 from ceph/wip-new-ansible

common: Workaround for ansible bug conditional evaluation

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Workaround for new ansible conditional evaluation bug 315/head
David Galloway [Mon, 27 Mar 2017 21:38:24 +0000 (17:38 -0400)]
common: Workaround for new ansible conditional evaluation bug

Prior to ansible v2.2.2.0, if the first conditional was false, the second
conditional wasn't checked.

This change makes sure nrpe-selinux.yml is only included on RHEL/CentOS
which are the only OSes that will have stdout for the selinux_status
var.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Add cronjobs for www.ceph.com 314/head
David Galloway [Tue, 21 Mar 2017 15:34:25 +0000 (11:34 -0400)]
public_facing: Add cronjobs for www.ceph.com

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #313 from ceph/wip-fix-312
Dan Mick [Thu, 16 Mar 2017 18:16:07 +0000 (11:16 -0700)]
Merge pull request #313 from ceph/wip-fix-312

common: Fix a bug in PR #312

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Fix a bug in PR #312 313/head
Zack Cerza [Thu, 16 Mar 2017 18:14:09 +0000 (12:14 -0600)]
common: Fix a bug in PR #312

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #312 from ceph/wip-15439
Dan Mick [Thu, 16 Mar 2017 17:33:17 +0000 (10:33 -0700)]
Merge pull request #312 from ceph/wip-15439

common: Clean apt cache before updating it

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Clean apt cache before updating it 312/head
David Galloway [Fri, 10 Mar 2017 18:57:03 +0000 (13:57 -0500)]
common: Clean apt cache before updating it

This is the first apt transaction that gets run in the common role.

Fixes: http://tracker.ceph.com/issues/15439
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #307 from ceph/wip-public-facing
Dan Mick [Thu, 9 Mar 2017 01:06:56 +0000 (17:06 -0800)]
Merge pull request #307 from ceph/wip-public-facing

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #311 from ceph/wip-vps-replace
Dan Mick [Wed, 8 Mar 2017 22:47:51 +0000 (14:47 -0800)]
Merge pull request #311 from ceph/wip-vps-replace

tools: Replace mira091 w mira005 and add missing hv03

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agotools: Replace mira091 w mira005 and add missing hv03 311/head
David Galloway [Wed, 8 Mar 2017 19:57:22 +0000 (14:57 -0500)]
tools: Replace mira091 w mira005 and add missing hv03

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #310 from ceph/wip-19126
Dan Mick [Wed, 8 Mar 2017 01:04:41 +0000 (17:04 -0800)]
Merge pull request #310 from ceph/wip-19126

common: Reinstall selinux-policy-targeted if needed

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Reinstall selinux-policy-targeted if needed 310/head
David Galloway [Mon, 6 Mar 2017 19:37:33 +0000 (14:37 -0500)]
common: Reinstall selinux-policy-targeted if needed

This ensures module file integrity so we can build the nrpe selinux
module in the proceeding tasks.

Fixes: http://tracker.ceph.com/issues/19126
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #309 from ceph/wip-19126
Dan Mick [Fri, 3 Mar 2017 03:59:38 +0000 (19:59 -0800)]
Merge pull request #309 from ceph/wip-19126

common: Delete leftover SELinux policy modules

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocommon: Delete leftover SELinux policy modules 309/head
David Galloway [Thu, 2 Mar 2017 19:02:45 +0000 (14:02 -0500)]
common: Delete leftover SELinux policy modules

Jobs were occasionally failing due to
/etc/selinux/targeted/active/modules/400/mod_fastcgi/lang_ext being
corrupt.  mod_fastcgi is removed and reinstalled with every
testnodes.yml run anyway so this just makes sure valid SELinux policy
modules are put in place.

Fixes: http://tracker.ceph.com/issues/19126
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Disable PasswordAuthentication in sshd config 307/head
David Galloway [Tue, 21 Feb 2017 22:43:26 +0000 (17:43 -0500)]
public_facing: Disable PasswordAuthentication in sshd config

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Add status.sepia.ceph.com-specific tasks
David Galloway [Tue, 21 Feb 2017 22:32:53 +0000 (17:32 -0500)]
public_facing: Add status.sepia.ceph.com-specific tasks

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Add download.ceph.com-specific tasks
David Galloway [Fri, 10 Feb 2017 21:09:05 +0000 (16:09 -0500)]
public_facing: Add download.ceph.com-specific tasks

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Add fail2ban support
David Galloway [Fri, 10 Feb 2017 21:08:44 +0000 (16:08 -0500)]
public_facing: Add fail2ban support

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #308 from dmick/master
Zack Cerza [Mon, 27 Feb 2017 21:14:08 +0000 (14:14 -0700)]
Merge pull request #308 from dmick/master

Reduce 'internal_poll_interval' to stem the CPU usage tide

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 agopublic_facing: Enable ufw support
David Galloway [Thu, 9 Feb 2017 20:58:42 +0000 (15:58 -0500)]
public_facing: Enable ufw support

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agopublic_facing: Create base role config
David Galloway [Thu, 9 Feb 2017 18:32:05 +0000 (13:32 -0500)]
public_facing: Create base role config

Signed-off-by: David Galloway <dgallowa@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>