]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
7 years agotestnode: Stop zapping loop devices 360/head
David Galloway [Wed, 6 Dec 2017 18:51:12 +0000 (13:51 -0500)]
testnode: Stop zapping loop devices

Because it's a waste of time

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #359 from ceph/wip-kopts-post
Zack Cerza [Tue, 5 Dec 2017 20:58:39 +0000 (13:58 -0700)]
Merge pull request #359 from ceph/wip-kopts-post

cobbler_systems: Allow setting post install kernel options

7 years agocobbler_systems: Allow setting post install kernel options 359/head
David Galloway [Tue, 5 Dec 2017 20:00:08 +0000 (15:00 -0500)]
cobbler_systems: Allow setting post install kernel options

If defined in group_vars, kernel_options_post will be used.  Otherwise,
it defaults to the kernel_options_post in defaults/main.yml.

This fixes serial output during firstboot in Xenial or later (instead of
the repeated "Ubuntu 16.04 [-1;-1f" garbage.

Running `cobbler system edit` with --kopts-post="" is fine.  It just
leaves that field blank if kernel_options_post is empty.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #357 from ceph/wip-update-xenial
Zack Cerza [Fri, 1 Dec 2017 19:15:08 +0000 (12:15 -0700)]
Merge pull request #357 from ceph/wip-update-xenial

cobbler_profile: Replace 16.04 with 16.04.3 iso

7 years agocobbler_profile: Replace 16.04 with 16.04.3 iso 357/head
David Galloway [Fri, 1 Dec 2017 18:55:42 +0000 (13:55 -0500)]
cobbler_profile: Replace 16.04 with 16.04.3 iso

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #356 from ceph/wip-fog-csv
Zack Cerza [Fri, 1 Dec 2017 16:50:49 +0000 (09:50 -0700)]
Merge pull request #356 from ceph/wip-fog-csv

tools: Add ansible role to generate FOG host csv file

7 years agotools: Add ansible role to generate FOG host csv file 356/head
David Galloway [Fri, 1 Dec 2017 16:44:40 +0000 (11:44 -0500)]
tools: Add ansible role to generate FOG host csv file

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #355 from ceph/wip-ethtool
Zack Cerza [Fri, 1 Dec 2017 16:33:40 +0000 (09:33 -0700)]
Merge pull request #355 from ceph/wip-ethtool

cobbler: Install ethtool on reimage

7 years agocobbler: Install ethtool on reimage 355/head
David Galloway [Fri, 1 Dec 2017 16:31:32 +0000 (11:31 -0500)]
cobbler: Install ethtool on reimage

ethtool is used in the new rc.local hackery

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #354 from ceph/wip-ubuntu-pkgs
Zack Cerza [Fri, 1 Dec 2017 16:24:37 +0000 (09:24 -0700)]
Merge pull request #354 from ceph/wip-ubuntu-pkgs

Adjust Cobbler's Ubuntu preseed to work with Artful Aardvark and beyond

7 years agocobbler: Install grub to /dev/sda instead of whatever default is 354/head
David Galloway [Fri, 1 Dec 2017 16:19:35 +0000 (11:19 -0500)]
cobbler: Install grub to /dev/sda instead of whatever default is

Apparently on some machines (namely bruuni in Octo), the default disk
returns /dev/nvme0n1 which is not where the OS is installed.

Since we already define which disk the OS should be installed on earlier
in the preseed, it only makes sense to install grub on the same disk.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Set package list for xenial and later instead of just xenial
David Galloway [Fri, 1 Dec 2017 16:04:27 +0000 (11:04 -0500)]
cobbler: Set package list for xenial and later instead of just xenial

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #346 from ceph/wip-set-hostname wip-rhel-ntp
Zack Cerza [Mon, 27 Nov 2017 19:50:53 +0000 (11:50 -0800)]
Merge pull request #346 from ceph/wip-set-hostname

cobbler: Add logic to rc.local for FOG-provisioned machines

7 years agoMerge pull request #353 from ceph/wip-delete-hostkeys
Zack Cerza [Mon, 27 Nov 2017 19:05:54 +0000 (11:05 -0800)]
Merge pull request #353 from ceph/wip-delete-hostkeys

tools: Delete ssh keys so FOG-imaged machines regenerate on firstboot

7 years agotools: Delete ssh keys so FOG-imaged machines regenerate on firstboot 353/head
David Galloway [Mon, 27 Nov 2017 18:42:31 +0000 (13:42 -0500)]
tools: Delete ssh keys so FOG-imaged machines regenerate on firstboot

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Regenerate SSH host keys on Ubuntu firstboot if necessary 346/head
David Galloway [Mon, 27 Nov 2017 19:03:08 +0000 (14:03 -0500)]
cobbler: Regenerate SSH host keys on Ubuntu firstboot if necessary

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #352 from ceph/wip-prep-fog
Zack Cerza [Mon, 20 Nov 2017 23:56:23 +0000 (16:56 -0700)]
Merge pull request #352 from ceph/wip-prep-fog

Tools for FOG image prep

7 years agotools: Add script to modify next-server in DHCP 352/head
David Galloway [Mon, 20 Nov 2017 23:26:31 +0000 (18:26 -0500)]
tools: Add script to modify next-server in DHCP

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotools: One-off playbook to prep a cobbler-imaged machine w/ FOG
David Galloway [Thu, 16 Nov 2017 19:36:05 +0000 (14:36 -0500)]
tools: One-off playbook to prep a cobbler-imaged machine w/ FOG

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Configure testnode NIC on firstboot after FOG image
David Galloway [Fri, 17 Nov 2017 17:28:01 +0000 (12:28 -0500)]
cobbler: Configure testnode NIC on firstboot after FOG image

Signed-off-by: David Galloway <dgallowa@redhat.com>
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 #350 from ceph/wip-front-query
Zack Cerza [Wed, 15 Nov 2017 16:04:06 +0000 (09:04 -0700)]
Merge pull request #350 from ceph/wip-front-query

vmhost: Allow task to fail but ignore errors

7 years agovmhost: Allow task to fail but ignore errors 350/head
David Galloway [Wed, 15 Nov 2017 15:53:04 +0000 (10:53 -0500)]
vmhost: Allow task to fail but ignore errors

With a recent update to ansible, the changed task would never return a
'failed' result with `failed_when` set.  `ignore_errors` is what we want
so the task fails but the playbook proceeds.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #349 from ceph/wip-xfs-fix
Dan Mick [Tue, 14 Nov 2017 01:09:24 +0000 (17:09 -0800)]
Merge pull request #349 from ceph/wip-xfs-fix

Omit XFS options on older OSes

Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agoOmit XFS options on older OSes 349/head
Zack Cerza [Tue, 14 Nov 2017 01:05:06 +0000 (18:05 -0700)]
Omit XFS options on older OSes

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #348 from ceph/wip-var-lib-nofail
Dan Mick [Mon, 13 Nov 2017 23:28:49 +0000 (15:28 -0800)]
Merge pull request #348 from ceph/wip-var-lib-nofail

testnode: Avoid an unmountable /var/lib/ceph

Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agoDon't write a version 5 XFS superblock 348/head
Zack Cerza [Mon, 13 Nov 2017 22:41:44 +0000 (15:41 -0700)]
Don't write a version 5 XFS superblock

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoBoot even if /var/lib partition won't mount
Zack Cerza [Mon, 13 Nov 2017 22:08:33 +0000 (15:08 -0700)]
Boot even if /var/lib partition won't mount

Signed-off-by: Zack Cerza <zack@redhat.com>
7 years agoMerge pull request #347 from ceph/wip-add-apt-repo
David Galloway [Fri, 10 Nov 2017 17:48:27 +0000 (12:48 -0500)]
Merge pull request #347 from ceph/wip-add-apt-repo

testnode: Install software-properties-common

7 years agotestnode: Install software-properties-common 347/head
Zack Cerza [Fri, 10 Nov 2017 17:46:39 +0000 (10:46 -0700)]
testnode: Install software-properties-common

... on Ubuntu, for add-apt-repository

Signed-off-by: Zack Cerza <zack@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

7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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

7 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>
7 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>
7 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

7 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>
7 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

7 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

7 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>
7 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>
7 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`

7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>