]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
7 years agocobbler: Set hostname using DHCP every boot on testnodes
David Galloway [Fri, 10 Nov 2017 17:20:44 +0000 (12:20 -0500)]
cobbler: Set hostname using DHCP every boot on testnodes

This is for use with FOG.  When we create an OS image, the image
inherits the testnode's hostname that was used to create the image.

This rc.local snippet will make sure the testnode's hostname is set to
whatever the IP's PTR record is on every boot.

`rclocal_nameserver` should be set in the inventory groupvars.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #340 from ceph/wip-find-fail
Zack Cerza [Fri, 3 Nov 2017 16:25:17 +0000 (10:25 -0600)]
Merge pull request #340 from ceph/wip-find-fail

testnode: Avoid job failure due to fs loop

8 years agotestnode: Avoid job failure due to fs loop 340/head
David Galloway [Fri, 29 Sep 2017 22:50:20 +0000 (18:50 -0400)]
testnode: Avoid job failure due to fs loop

Example:

failed: [smithi205.front.sepia.ceph.com] (item=/var/run/) => {"changed": false, "cmd": "find /var/run/ -name \"*ceph*\"", "delta": "0:00:00.004976", "end": "2017-09-29 18:42:23.050412", "failed": true, "failed_when_result": true, "item": "/var/run/", "rc": 1, "start": "2017-09-29 18:42:23.045436", "stderr": "find: File system loop detected; '/var/run/rpc_pipefs/gssd' is part of the same file system loop as '/var/run/rpc_pipefs'.", "stderr_lines": ["find: File system loop detected; '/var/run/rpc_pipefs/gssd' is part of the same file system loop as '/var/run/rpc_pipefs'."], "stdout": "", "stdout_lines": []}

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #345 from ceph/wip-21989
Zack Cerza [Tue, 31 Oct 2017 20:20:18 +0000 (14:20 -0600)]
Merge pull request #345 from ceph/wip-21989

testnode: Be super aggressive with wiping LVM data

8 years agotestnode: Be super aggressive with wiping LVM data 345/head
David Galloway [Tue, 31 Oct 2017 19:02:33 +0000 (15:02 -0400)]
testnode: Be super aggressive with wiping LVM data

Fixes: http://tracker.ceph.com/issues/21989
Fixes: http://tracker.ceph.com/issues/21935 (hopefully)
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #344 from ceph/wip-named-ddos
Zack Cerza [Fri, 6 Oct 2017 17:33:23 +0000 (11:33 -0600)]
Merge pull request #344 from ceph/wip-named-ddos

nameserver: Double max amount of concurrent connections

8 years agonameserver: Double max amount of concurrent connections 344/head
David Galloway [Fri, 6 Oct 2017 17:29:04 +0000 (13:29 -0400)]
nameserver: Double max amount of concurrent connections

I observed an unintentional DoS on ns1.front last night right as most of
the nightly scheduled jobs started up.  Lots of "nf_conntrack: table
full, dropping packet" messages in the syslog.

Doubling it should be safe.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #343 from ceph/wip-shuffle-tasks
Zack Cerza [Thu, 5 Oct 2017 20:19:10 +0000 (14:19 -0600)]
Merge pull request #343 from ceph/wip-shuffle-tasks

testnode: Shuffle tasks around to make sure packages install first

8 years agotestnode: Shuffle tasks around to make sure packages install first 343/head
David Galloway [Thu, 5 Oct 2017 20:13:31 +0000 (16:13 -0400)]
testnode: Shuffle tasks around to make sure packages install first

I moved lvm.conf in https://github.com/ceph/ceph-cm-ansible/pull/342
because I wanted all the disk management tasks clustered together.  I
failed to take into account the fact that the lvm2 package might not be
installed yet (like on OVH nodes).

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #342 from ceph/wip-var-lib-ceph
Zack Cerza [Thu, 5 Oct 2017 18:11:21 +0000 (12:11 -0600)]
Merge pull request #342 from ceph/wip-var-lib-ceph

testnode: Mount /var/lib/ceph to NVMe partition on smithi

8 years agotestnode: Mount /var/lib/ceph to NVMe partition on smithi 342/head
David Galloway [Fri, 29 Sep 2017 18:59:40 +0000 (14:59 -0400)]
testnode: Mount /var/lib/ceph to NVMe partition on smithi

Fixes: http://tracker.ceph.com/issues/20910
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #341 from ceph/wip-dmsetup
Zack Cerza [Mon, 2 Oct 2017 19:27:19 +0000 (13:27 -0600)]
Merge pull request #341 from ceph/wip-dmsetup

testnode: Update dependencies for zap tasks

8 years agotestnode: Update dependencies for zap tasks 341/head
David Galloway [Mon, 2 Oct 2017 19:10:04 +0000 (15:10 -0400)]
testnode: Update dependencies for zap tasks

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #339 from ceph/wip-lvm
Zack Cerza [Fri, 29 Sep 2017 22:25:56 +0000 (16:25 -0600)]
Merge pull request #339 from ceph/wip-lvm

Support LVM on testnodes

8 years agotestnode: Docs for lvm tasks 339/head
David Galloway [Fri, 29 Sep 2017 21:54:55 +0000 (17:54 -0400)]
testnode: Docs for lvm tasks

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Support logical volume management
David Galloway [Fri, 29 Sep 2017 19:27:15 +0000 (15:27 -0400)]
testnode: Support logical volume management

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #338 from ceph/wip-smithi-part
Zack Cerza [Fri, 29 Sep 2017 20:12:29 +0000 (14:12 -0600)]
Merge pull request #338 from ceph/wip-smithi-part

Re-do how we partition drives

8 years agotestnode: Add some missing tags 338/head
David Galloway [Fri, 29 Sep 2017 17:34:52 +0000 (13:34 -0400)]
testnode: Add some missing tags

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Add README for partition_dict
David Galloway [Fri, 29 Sep 2017 17:34:00 +0000 (13:34 -0400)]
testnode: Add README for partition_dict

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Erase /scratch_devs each run in case the devices changed
David Galloway [Fri, 29 Sep 2017 17:31:39 +0000 (13:31 -0400)]
testnode: Erase /scratch_devs each run in case the devices changed

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Use new drives_to_partition dict to partition drives
David Galloway [Fri, 29 Sep 2017 16:52:19 +0000 (12:52 -0400)]
testnode: Use new drives_to_partition dict to partition drives

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: Create gpt instead of msdos table.
David Galloway [Fri, 29 Sep 2017 16:21:04 +0000 (12:21 -0400)]
testnode: Create gpt instead of msdos table.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotestnode: We repartition on every job after zapping
David Galloway [Fri, 29 Sep 2017 14:31:43 +0000 (10:31 -0400)]
testnode: We repartition on every job after zapping

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #337 from ceph/wip-apt-pinning
Zack Cerza [Wed, 27 Sep 2017 17:16:02 +0000 (11:16 -0600)]
Merge pull request #337 from ceph/wip-apt-pinning

testnode: Update apt pinning URL

8 years agotestnode: Update apt pinning URL 337/head
David Galloway [Wed, 27 Sep 2017 15:20:34 +0000 (11:20 -0400)]
testnode: Update apt pinning URL

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #336 from ceph/wip-ntp-install
Zack Cerza [Tue, 26 Sep 2017 17:44:44 +0000 (11:44 -0600)]
Merge pull request #336 from ceph/wip-ntp-install

cobbler: Install ntp package on RHEL/CentOS during kickstart

8 years agocobbler: Install ntp package on RHEL/CentOS during kickstart 336/head
David Galloway [Tue, 26 Sep 2017 17:41:18 +0000 (13:41 -0400)]
cobbler: Install ntp package on RHEL/CentOS during kickstart

Apparently doesn't come stock with CentOS 7.4 which was causing the
Cobbler ansible-playbook post-install run to fail.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #335 from ceph/wip-pub-ssl
Zack Cerza [Fri, 15 Sep 2017 17:02:49 +0000 (11:02 -0600)]
Merge pull request #335 from ceph/wip-pub-ssl

public_facing: Finally get letsencrypt automated renewal  working

8 years agopublic_facing: Finally get letsencrypt automated renewal working 335/head
David Galloway [Fri, 15 Sep 2017 16:16:14 +0000 (12:16 -0400)]
public_facing: Finally get letsencrypt automated renewal  working

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #334 from ceph/wip-selinux-modules
Zack Cerza [Fri, 15 Sep 2017 15:37:52 +0000 (09:37 -0600)]
Merge pull request #334 from ceph/wip-selinux-modules

Make selinux policy module checking bulletproof

8 years agocommon: Check for *any* empty selinux policy module files 334/head
David Galloway [Fri, 15 Sep 2017 14:17:10 +0000 (10:17 -0400)]
common: Check for *any* empty selinux policy module files

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocommon: reinstall pcpupstream selinux policy module if corrupt
David Galloway [Fri, 15 Sep 2017 14:09:42 +0000 (10:09 -0400)]
common: reinstall pcpupstream selinux policy module if corrupt

Makes sure policy module is latest and not empty

Fixes: http://tracker.ceph.com/issues/21403
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #333 from ceph/wip-centos74
Zack Cerza [Thu, 14 Sep 2017 16:49:01 +0000 (10:49 -0600)]
Merge pull request #333 from ceph/wip-centos74

cobbler: Add CentOS 7.4

8 years agocobbler: Add CentOS 7.4 333/head
David Galloway [Thu, 14 Sep 2017 16:17:44 +0000 (12:17 -0400)]
cobbler: Add CentOS 7.4

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #326 from ceph/wip-20623
Zack Cerza [Fri, 8 Sep 2017 20:37:47 +0000 (14:37 -0600)]
Merge pull request #326 from ceph/wip-20623

testnodes: Clean up leftover Ceph artifacts from previous jobs

8 years agoMerge pull request #331 from ceph/wip-cobbler-script
Zack Cerza [Fri, 8 Sep 2017 16:01:56 +0000 (10:01 -0600)]
Merge pull request #331 from ceph/wip-cobbler-script

tools: Script to simplify Cobbler user creation

8 years agotestnodes: Clean up leftover Ceph artifacts from previous jobs 326/head
David Galloway [Mon, 31 Jul 2017 20:53:22 +0000 (16:53 -0400)]
testnodes: Clean up leftover Ceph artifacts from previous jobs

Fixes: http://tracker.ceph.com/issues/20623
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agotools: Script to simplify Cobbler user creation 331/head
David Galloway [Fri, 1 Sep 2017 19:18:29 +0000 (15:18 -0400)]
tools: Script to simplify Cobbler user creation

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #330 from ceph/wip-sudo-nvme
Zack Cerza [Tue, 29 Aug 2017 14:59:00 +0000 (08:59 -0600)]
Merge pull request #330 from ceph/wip-sudo-nvme

common: Grant nrpe user access to `sudo nvme`

8 years agocommon: Grant nrpe user access to `sudo nvme` 330/head
David Galloway [Tue, 29 Aug 2017 14:49:44 +0000 (10:49 -0400)]
common: Grant nrpe user access to `sudo nvme`

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #329 from ceph/wip-krbd-lvm-conf
David Galloway [Wed, 23 Aug 2017 16:50:22 +0000 (12:50 -0400)]
Merge pull request #329 from ceph/wip-krbd-lvm-conf

testnode: edit lvm.conf on both ubuntu and centos

8 years agotestnode: edit lvm.conf on both ubuntu and centos 329/head
Ilya Dryomov [Mon, 21 Aug 2017 13:14:46 +0000 (15:14 +0200)]
testnode: edit lvm.conf on both ubuntu and centos

This modification is needed for krbd xfstests (e.g. generic/081), so
factor out lvm.conf snippet from setup-ubuntu.yml into tasks/.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agotestnode: correct krbd max_partitions value in lvm.conf
Ilya Dryomov [Mon, 21 Aug 2017 13:09:39 +0000 (15:09 +0200)]
testnode: correct krbd max_partitions value in lvm.conf

1024 is clearly a made up number.  16 reflects the current reality,
more or less:

  "Under single_major scheme introduced in kernel 3.14, rbd devices
  support up to 16 partitions.  In pre-single_major mode, rbd driver
  takes up the whole major."

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #327 from ceph/wip-20456
Dan Mick [Tue, 15 Aug 2017 22:21:25 +0000 (15:21 -0700)]
Merge pull request #327 from ceph/wip-20456

teuthology: minor README update

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #318 from ceph/wip-smart-nvme-binary
Dan Mick [Tue, 15 Aug 2017 22:17:54 +0000 (15:17 -0700)]
Merge pull request #318 from ceph/wip-smart-nvme-binary

Support NVMe drive monitoring via Nagios

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoteuthology: minor README update 327/head
David Galloway [Tue, 1 Aug 2017 18:06:49 +0000 (14:06 -0400)]
teuthology: minor README update

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #325 from ceph/wip-nrpe-pidfile
Zack Cerza [Mon, 24 Jul 2017 22:15:31 +0000 (15:15 -0700)]
Merge pull request #325 from ceph/wip-nrpe-pidfile

common: Change path to nrpe pid_file on RedHat/CentOS

8 years agocommon: Change path to nrpe pid_file on RedHat/CentOS 325/head
David Galloway [Mon, 24 Jul 2017 20:40:38 +0000 (16:40 -0400)]
common: Change path to nrpe pid_file on RedHat/CentOS

I can't find the exact commit in nrpe that caused this to change but the
path has changed and the nrpe service fails to start on CentOS/RHEL now.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #324 from ceph/wip-zap-fix
Alfredo Deza [Tue, 11 Jul 2017 18:00:33 +0000 (14:00 -0400)]
Merge pull request #324 from ceph/wip-zap-fix

testnode: Try wipefs without --force if flag is missing

8 years agotestnode: Try wipefs without --force if flag is missing 324/head
David Galloway [Tue, 11 Jul 2017 17:51:53 +0000 (13:51 -0400)]
testnode: Try wipefs without --force if flag is missing

Fixes bug introduced in https://github.com/ceph/ceph-cm-ansible/pull/323

The version of wipefs shipped with Trusty lacks the --force flag

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #323 from ceph/wip-20533
Zack Cerza [Tue, 11 Jul 2017 17:13:56 +0000 (11:13 -0600)]
Merge pull request #323 from ceph/wip-20533

Updates to testnode disk zapping

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 agocommon: Add support for NVMe drives in smart.sh 318/head
David Galloway [Thu, 13 Apr 2017 19:38:15 +0000 (15:38 -0400)]
common: Add support for NVMe drives in smart.sh

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocommon: Install nvme-cli for use with smart.sh
David Galloway [Thu, 13 Apr 2017 18:40:55 +0000 (14:40 -0400)]
common: Install nvme-cli for use with smart.sh

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocommon: Don't return WARN if previous disk is CRIT in smart.sh
David Galloway [Thu, 13 Apr 2017 17:07:25 +0000 (13:07 -0400)]
common: Don't return WARN if previous disk is CRIT in smart.sh

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>