]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
9 years agoOnly clone the keys repo once per execution 254/head
Zack Cerza [Fri, 24 Jun 2016 00:22:23 +0000 (18:22 -0600)]
Only clone the keys repo once per execution

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #253 from ceph/wip-fast-keys
Dan Mick [Thu, 23 Jun 2016 23:48:22 +0000 (16:48 -0700)]
Merge pull request #253 from ceph/wip-fast-keys

users: Greatly speed up ssh pubkey deployment

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoPut the keys repo in ~/.cache/src/ by default 253/head
Zack Cerza [Thu, 23 Jun 2016 23:26:02 +0000 (17:26 -0600)]
Put the keys repo in ~/.cache/src/ by default

To avoid multiple invocations by different users on the same host
stepping on each other.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove unnecessary retry
Zack Cerza [Thu, 23 Jun 2016 22:30:33 +0000 (16:30 -0600)]
Remove unnecessary retry

Since each key isn't being fetched from a remote server any longer, we
can drop the retries.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoSpeed up key deployment by using the git repo
Zack Cerza [Thu, 23 Jun 2016 18:57:36 +0000 (12:57 -0600)]
Speed up key deployment by using the git repo

Instead of downloading each key over HTTPS from github.com, we can
simply clone the entire repo (with depth 1) and lookup each key using
the username.

On my laptop, execution time went from 2m49s to 29s.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agousers: Add defaults for keys_repo
Zack Cerza [Thu, 23 Jun 2016 18:27:08 +0000 (12:27 -0600)]
users: Add defaults for keys_repo

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agousers: split tasks/main.yml into separate files
Zack Cerza [Thu, 23 Jun 2016 18:23:57 +0000 (12:23 -0600)]
users: split tasks/main.yml into separate files

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #251 from ceph/wip-edeploy
Dan Mick [Tue, 21 Jun 2016 21:39:55 +0000 (14:39 -0700)]
Merge pull request #251 from ceph/wip-edeploy

users: Set UID_MIN to 1001

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agousers: Set UID_MIN to 1001 251/head
Zack Cerza [Tue, 21 Jun 2016 19:11:12 +0000 (13:11 -0600)]
users: Set UID_MIN to 1001

When building images with edeploy, UID 1000 was being taken by a
"normal" user; we need to reserve this for the teuthology user.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #250 from ceph/wip-no-lsb
Dan Mick [Mon, 20 Jun 2016 18:09:23 +0000 (11:09 -0700)]
Merge pull request #250 from ceph/wip-no-lsb

Don't rely on LSB when testing for distro version

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoDon't rely on LSB when testing for distro version 250/head
Zack Cerza [Mon, 20 Jun 2016 18:02:47 +0000 (12:02 -0600)]
Don't rely on LSB when testing for distro version

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #248 from ceph/wip-xenial
vasukulkarni [Fri, 17 Jun 2016 17:15:56 +0000 (10:15 -0700)]
Merge pull request #248 from ceph/wip-xenial

testnodes: Fix resolvconf issues on xenial

9 years agoImprove network interface discovery 248/head
Zack Cerza [Thu, 16 Jun 2016 23:34:07 +0000 (17:34 -0600)]
Improve network interface discovery

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAlways bounce the main interface on xenial
Zack Cerza [Thu, 16 Jun 2016 20:26:17 +0000 (14:26 -0600)]
Always bounce the main interface on xenial

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #247 from ceph/wip-16119
David Galloway [Mon, 6 Jun 2016 20:06:06 +0000 (16:06 -0400)]
Merge pull request #247 from ceph/wip-16119

pcp: Don't fail when setting permissions

9 years agopcp: Don't fail when setting permissions 247/head
Zack Cerza [Mon, 6 Jun 2016 20:02:43 +0000 (14:02 -0600)]
pcp: Don't fail when setting permissions

http://tracker.ceph.com/issues/16119
Fixes: 16119
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #246 from dmick/master
Dan Mick [Sat, 4 Jun 2016 01:14:40 +0000 (18:14 -0700)]
Merge pull request #246 from dmick/master

smart.sh: default rc to 0 (saw false UNKNOWNs with non-raid)

9 years agosmart.sh: default rc to 0 (saw false UNKNOWNs with non-raid) 246/head
Dan Mick [Sat, 4 Jun 2016 01:12:01 +0000 (18:12 -0700)]
smart.sh: default rc to 0 (saw false UNKNOWNs with non-raid)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #245 from ceph/wip-newsmart
Dan Mick [Fri, 3 Jun 2016 22:34:22 +0000 (15:34 -0700)]
Merge pull request #245 from ceph/wip-newsmart

testnode: Replace old smart.pl with rewritten smart.sh script

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agotestnode: Replace old smart.pl with rewritten smart.sh script 245/head
David Galloway [Tue, 31 May 2016 22:44:47 +0000 (18:44 -0400)]
testnode: Replace old smart.pl with rewritten smart.sh script

Fixes: http://tracker.ceph.com/issues/14682
Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #244 from cooboos/centos
Zack Cerza [Fri, 27 May 2016 16:05:16 +0000 (10:05 -0600)]
Merge pull request #244 from cooboos/centos

testnode: replace hardcoded 'gitbuilder.ceph.com' with {{ gitbuilder_host }}

9 years agotestnode: replace hardcoded 'gitbuilder.ceph.com' with {{ gitbuilder_host }} 244/head
wangsongbo [Wed, 25 May 2016 04:10:20 +0000 (12:10 +0800)]
testnode: replace hardcoded 'gitbuilder.ceph.com' with {{ gitbuilder_host }}

Signed-off-by: wangsongbo <wangsongbo@unitedstack.com>
9 years agoMerge pull request #243 from ceph/wip-sam-ansible
Zack Cerza [Tue, 17 May 2016 21:35:41 +0000 (15:35 -0600)]
Merge pull request #243 from ceph/wip-sam-ansible

testnode/tasks/apt/packages.yml: just force everything

9 years agoMerge pull request #241 from ceph/wip-pcp-settings
Dan Mick [Thu, 12 May 2016 04:12:45 +0000 (21:12 -0700)]
Merge pull request #241 from ceph/wip-pcp-settings

pcp: update upstream packages

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agopcp: update upstream packages 241/head
Zack Cerza [Wed, 11 May 2016 19:51:04 +0000 (13:51 -0600)]
pcp: update upstream packages

PCP's upstream doesn't version its dependencies in all cases. This leads
to situations where, when setting upstream_repo to True, a system ends
up with some old and some new packages. This results in a potentially
broken installation.

This commit causes all installed pcp packages to be upgraded when
upstream_repo is True.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotestnode/tasks/apt/packages.yml: just force everything 243/head
Samuel Just [Wed, 11 May 2016 17:12:26 +0000 (10:12 -0700)]
testnode/tasks/apt/packages.yml: just force everything

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #239 from ceph/wip-pcp-settings
Dan Mick [Mon, 9 May 2016 16:48:13 +0000 (09:48 -0700)]
Merge pull request #239 from ceph/wip-pcp-settings

pcp: retention settings for managers

9 years agoMake pmlogmerge_reduce configurable 239/head
Zack Cerza [Thu, 5 May 2016 22:27:23 +0000 (16:27 -0600)]
Make pmlogmerge_reduce configurable

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMake pmlogmerge_retain configurable
Zack Cerza [Thu, 5 May 2016 22:24:39 +0000 (16:24 -0600)]
Make pmlogmerge_retain configurable

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #240 from ceph/wip-nrpe-load-limits
Dan Mick [Mon, 9 May 2016 15:34:24 +0000 (08:34 -0700)]
Merge pull request #240 from ceph/wip-nrpe-load-limits

testnode: Update nagios CPU load thresholds to be less strict

9 years agotestnode: Update nagios CPU load thresholds to be less strict 240/head
David Galloway [Mon, 9 May 2016 14:47:46 +0000 (10:47 -0400)]
testnode: Update nagios CPU load thresholds to be less strict

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #238 from ceph/wip-pcp-js
Dan Mick [Wed, 4 May 2016 22:14:26 +0000 (15:14 -0700)]
Merge pull request #238 from ceph/wip-pcp-js

pcp: A dynamic dashboard with host- and time-selection

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #237 from ceph/wip-check4-selinux
Zack Cerza [Wed, 4 May 2016 21:20:05 +0000 (15:20 -0600)]
Merge pull request #237 from ceph/wip-check4-selinux

testnode: Skip NRPE selinux setup if selinux disabled

9 years agoindex.js 238/head
Zack Cerza [Mon, 25 Apr 2016 16:39:59 +0000 (10:39 -0600)]
index.js

9 years agotestnode: Skip NRPE selinux setup if selinux disabled 237/head
David Galloway [Tue, 3 May 2016 20:32:36 +0000 (16:32 -0400)]
testnode: Skip NRPE selinux setup if selinux disabled

Fixes: http://tracker.ceph.com/issues/15675
Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #236 from ceph/wip-xenial-nicnames
Dan Mick [Thu, 28 Apr 2016 23:33:34 +0000 (16:33 -0700)]
Merge pull request #236 from ceph/wip-xenial-nicnames

cobbler: Prevent systemd from renaming NICs

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agocobbler: Prevent systemd from renaming NICs 236/head
David Galloway [Thu, 28 Apr 2016 23:02:21 +0000 (19:02 -0400)]
cobbler: Prevent systemd from renaming NICs

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #235 from ceph/wip-no-getty
Dan Mick [Thu, 28 Apr 2016 19:49:52 +0000 (12:49 -0700)]
Merge pull request #235 from ceph/wip-no-getty

testnode: Remove manual configuration of getty

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agotestnode: Remove manual configuration of getty 235/head
David Galloway [Tue, 26 Apr 2016 20:49:28 +0000 (16:49 -0400)]
testnode: Remove manual configuration of getty

Manual configuration of the getty service is no longer required for
Trusty or later.  The system-specific "console=ttySX" parameter in
/proc/cmdline is enough to configure the SOL tty during Ubuntu
installation.

See http://tracker.ceph.com/issues/15269 for further explanation.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #234 from ceph/wip-preseed-bootdev
Dan Mick [Wed, 27 Apr 2016 23:23:05 +0000 (16:23 -0700)]
Merge pull request #234 from ceph/wip-preseed-bootdev

cobbler: Only set bootdev in kickstart if installing Xenial.

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agocobbler: Only set bootdev in kickstart if installing Xenial. 234/head
David Galloway [Wed, 27 Apr 2016 21:00:00 +0000 (17:00 -0400)]
cobbler: Only set bootdev in kickstart if installing Xenial.

"bootdev string default" is only supported in Xenial.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #233 from ceph/wip-preseed-bootdev
Zack Cerza [Wed, 27 Apr 2016 21:05:58 +0000 (15:05 -0600)]
Merge pull request #233 from ceph/wip-preseed-bootdev

cobbler: Only set bootdev in kickstart if installing Xenial.

9 years agocobbler: Only set bootdev in kickstart if installing Xenial. 233/head
David Galloway [Wed, 27 Apr 2016 21:00:00 +0000 (17:00 -0400)]
cobbler: Only set bootdev in kickstart if installing Xenial.

"bootdev string default" is only supported in Xenial.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #232 from ceph/wip-xenial
Zack Cerza [Wed, 27 Apr 2016 17:55:25 +0000 (11:55 -0600)]
Merge pull request #232 from ceph/wip-xenial

Add support for Ubuntu 16.04 Xenial

9 years agocobbler: Make Ubuntu kickstart compatible with Xenial 232/head
David Galloway [Wed, 27 Apr 2016 16:38:52 +0000 (12:38 -0400)]
cobbler: Make Ubuntu kickstart compatible with Xenial

linux-firmware-nonfree package is not available in Xenial

Installer was also stopping after package install asking for
GRUB install destination.  Adding the 'bootdev string default'
line bypasses the message and is already the lab default so
shouldn't affect other distro versions.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agotestnode: Add Xenial-specific packages
David Galloway [Wed, 27 Apr 2016 16:20:44 +0000 (12:20 -0400)]
testnode: Add Xenial-specific packages

Used roles/testnode/vars/ubuntu_14.yml as template.  Differences are:
 - libboost-thread1.54.0 updated to libboost-thread1.58.0
 - libcrypto++9 updated to libcrypto++9v5
 - libssl0.9.8 updated to libssl1.0.0
 - mpich2, libmpich2-dev, and dmapi not available in Xenial

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #229 from ceph/wip-nameserver
Dan Mick [Tue, 26 Apr 2016 01:27:20 +0000 (18:27 -0700)]
Merge pull request #229 from ceph/wip-nameserver

A role for an internal master nameserver

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agotestnode: Add sshd config for Ubuntu 16.04
David Galloway [Mon, 25 Apr 2016 19:25:42 +0000 (15:25 -0400)]
testnode: Add sshd config for Ubuntu 16.04

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agocobbler: Add Ubuntu 16.04 (Xenial Xerus)
David Galloway [Fri, 22 Apr 2016 15:14:36 +0000 (11:14 -0400)]
cobbler: Add Ubuntu 16.04 (Xenial Xerus)

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #231 from ceph/wip-nrpe-selinux
Dan Mick [Fri, 22 Apr 2016 23:03:49 +0000 (16:03 -0700)]
Merge pull request #231 from ceph/wip-nrpe-selinux

testnode: Update SELinux policy when configuring NRPE

9 years agotestnode: Update SELinux policy when configuring NRPE 231/head
David Galloway [Fri, 22 Apr 2016 22:50:10 +0000 (18:50 -0400)]
testnode: Update SELinux policy when configuring NRPE

The 'nagios_run_sudo' boolean was added after RHEL7.1 GA.

https://rhn.redhat.com/errata/RHBA-2015-1140.html

Attempting to set the boolean when it's not present causes ansible
to fail.  NRPE will cause SELinux failures in test jobs unless set
so the only other option would be to disable NRPE on
RHEL/CentOS <= 7.1

This change ensures the testnode has the latest version of SELinux
policy installed, and thus, ensuring the boolean exists.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #230 from ceph/wip-pcp-perms
David Galloway [Fri, 22 Apr 2016 18:28:42 +0000 (14:28 -0400)]
Merge pull request #230 from ceph/wip-pcp-perms

pcp: Correct /var/log/pcp permissions for collectors

9 years agoCorrect /var/log/pcp permissions for collectors 230/head
Zack Cerza [Fri, 22 Apr 2016 18:20:27 +0000 (12:20 -0600)]
Correct /var/log/pcp permissions for collectors

Some hosts were getting a /var/log/pcp/pmmgr that was owned by root:root
for some reason.

Fixes: http://tracker.ceph.com/issues/15575
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #227 from ceph/wip-pcpweb-deb
David Galloway [Fri, 22 Apr 2016 17:47:14 +0000 (13:47 -0400)]
Merge pull request #227 from ceph/wip-pcpweb-deb

Add pcp-webapi on ubuntu upstream setups; set pmcd connect timeout for pmmgr

9 years agonameserver: Add check for ansible_version.major >= 2 229/head
David Galloway [Thu, 21 Apr 2016 20:09:56 +0000 (16:09 -0400)]
nameserver: Add check for ansible_version.major >= 2

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add README
David Galloway [Thu, 21 Apr 2016 19:45:28 +0000 (15:45 -0400)]
nameserver: Add README

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add ability to set named daemon options
David Galloway [Thu, 21 Apr 2016 06:41:54 +0000 (02:41 -0400)]
nameserver: Add ability to set named daemon options

The variable in defaults/main.yml will leave /etc/sysconfig/named
empty which is the package default.  We want IPv4 only however.
This is set in the secrets repo.

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Configure firewalld to allow DNS traffic
David Galloway [Thu, 21 Apr 2016 02:25:57 +0000 (22:25 -0400)]
nameserver: Configure firewalld to allow DNS traffic

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add configuration task for named service
David Galloway [Wed, 20 Apr 2016 23:54:46 +0000 (19:54 -0400)]
nameserver: Add configuration task for named service

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add named service handlers
David Galloway [Wed, 20 Apr 2016 23:24:35 +0000 (19:24 -0400)]
nameserver: Add named service handlers

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add records task
David Galloway [Thu, 14 Apr 2016 02:16:34 +0000 (22:16 -0400)]
nameserver: Add records task

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Add packages task
David Galloway [Tue, 12 Apr 2016 20:28:06 +0000 (16:28 -0400)]
nameserver: Add packages task

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agonameserver: Initial role structure creation
David Galloway [Tue, 12 Apr 2016 19:54:23 +0000 (15:54 -0400)]
nameserver: Initial role structure creation

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agopcp_manager_package varies depending on the source 227/head
Zack Cerza [Thu, 21 Apr 2016 20:47:56 +0000 (14:47 -0600)]
pcp_manager_package varies depending on the source

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoFix typo
Zack Cerza [Thu, 21 Apr 2016 20:47:38 +0000 (14:47 -0600)]
Fix typo

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #228 from ceph/wip-no-lstn
Zack Cerza [Thu, 21 Apr 2016 17:35:13 +0000 (11:35 -0600)]
Merge pull request #228 from ceph/wip-no-lstn

common: Replace bad epel mirror

9 years agocommon: Replace bad epel mirror 228/head
David Galloway [Thu, 21 Apr 2016 17:32:18 +0000 (13:32 -0400)]
common: Replace bad epel mirror

Mirror fedora-epel.mirror.lstn.net is almost a week out of date and
causing yum package transactions to fail due to bad repodata.  Replacing
with a mirror closer to the sepia and octo labs.

Fixes: http://tracker.ceph.com/issues/15539
Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoSet PMCD_CONNECT_TIMEOUT
Zack Cerza [Thu, 21 Apr 2016 16:19:26 +0000 (10:19 -0600)]
Set PMCD_CONNECT_TIMEOUT

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoEnable pcp-webapi on Ubuntu with upstream packages
Zack Cerza [Thu, 21 Apr 2016 16:16:53 +0000 (10:16 -0600)]
Enable pcp-webapi on Ubuntu with upstream packages

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #226 from ceph/wip-pcp-upstream
David Galloway [Wed, 20 Apr 2016 14:57:19 +0000 (10:57 -0400)]
Merge pull request #226 from ceph/wip-pcp-upstream

pcp: Optionally use upstream package repos

9 years agopcp: Optionally use upstream package repos 226/head
Zack Cerza [Fri, 15 Apr 2016 22:58:39 +0000 (16:58 -0600)]
pcp: Optionally use upstream package repos

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #225 from dachary/wip-xenial
Dan Mick [Tue, 12 Apr 2016 18:17:34 +0000 (11:17 -0700)]
Merge pull request #225 from dachary/wip-xenial

testnodes: add ubuntu 16.04 xenial support

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoopenstack: console handling is done differently 225/head
Loic Dachary [Tue, 12 Apr 2016 06:57:52 +0000 (08:57 +0200)]
openstack: console handling is done differently

All hostnames starting with target are created for OpenStack and their
console is accessible via horizon or via other means. There is no need
to configure the serial console in this case.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotestnodes: add ubuntu 16.04 xenial support
Loic Dachary [Sat, 9 Apr 2016 06:56:17 +0000 (08:56 +0200)]
testnodes: add ubuntu 16.04 xenial support

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #219 from dachary/wip-paddles
Zack Cerza [Mon, 11 Apr 2016 22:43:31 +0000 (16:43 -0600)]
Merge pull request #219 from dachary/wip-paddles

minor boostrap paddles fixes

9 years agoMerge pull request #224 from dachary/wip-arch
Loic Dachary [Fri, 8 Apr 2016 16:09:11 +0000 (18:09 +0200)]
Merge pull request #224 from dachary/wip-arch

skip packages / repo unavailable on aarch64

Reviewed-by: Sébastien Han <shan@redhat.com>
9 years agoskip packages / repo unavailable on aarch64 224/head
Loic Dachary [Wed, 6 Apr 2016 19:04:16 +0000 (21:04 +0200)]
skip packages / repo unavailable on aarch64

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #222 from ceph/wip-nagios-load
Dan Mick [Fri, 8 Apr 2016 01:58:29 +0000 (18:58 -0700)]
Merge pull request #222 from ceph/wip-nagios-load

testnodes: Set sane warn/crit thresholds for nagios check_load

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoRevert "replace hardcoded x86_64 with {{ansible_architecture}}"
Loic Dachary [Thu, 7 Apr 2016 07:01:39 +0000 (09:01 +0200)]
Revert "replace hardcoded x86_64 with {{ansible_architecture}}"

This reverts commit 74404d3e9f11c62fddb00fcc1616c02d7f520af3.

9 years agoMerge pull request #214 from ceph/wip-pcp
Dan Mick [Thu, 31 Mar 2016 20:22:35 +0000 (13:22 -0700)]
Merge pull request #214 from ceph/wip-pcp

A role for PCP

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoEmbellish overview documentation 214/head
Zack Cerza [Thu, 31 Mar 2016 18:18:38 +0000 (12:18 -0600)]
Embellish overview documentation

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMention support for CentOS 6 and Debian 8
Zack Cerza [Thu, 31 Mar 2016 16:50:51 +0000 (10:50 -0600)]
Mention support for CentOS 6 and Debian 8

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoSupport Fedora as a collector
Zack Cerza [Thu, 31 Mar 2016 16:14:07 +0000 (10:14 -0600)]
Support Fedora as a collector

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove pcp toward the beginning of the playbook
Zack Cerza [Thu, 31 Mar 2016 15:52:43 +0000 (09:52 -0600)]
Move pcp toward the beginning of the playbook

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDon't depend on the users role
Zack Cerza [Thu, 31 Mar 2016 15:39:39 +0000 (09:39 -0600)]
Don't depend on the users role

It's not a real dependency; if we want to update users on the node we
can run the users.yml playbook.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoSet PMCD_CONNECT_TIMEOUT in pmmgr.options
Zack Cerza [Thu, 31 Mar 2016 15:34:56 +0000 (09:34 -0600)]
Set PMCD_CONNECT_TIMEOUT in pmmgr.options

With ~400 hosts, polling takes a very long time with default values.
Dropping the connect timeout to 0.1s speeds things way up.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove lab_domain from target-host
Zack Cerza [Thu, 31 Mar 2016 15:26:55 +0000 (09:26 -0600)]
Remove lab_domain from target-host

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #223 from ceph/wip-sam-ansible
Zack Cerza [Wed, 30 Mar 2016 22:45:33 +0000 (16:45 -0600)]
Merge pull request #223 from ceph/wip-sam-ansible

Don't use sudo for rpm --rebuild-db and remove more packages for testnode

9 years agoInitial PCP role for performance monitoring
Zack Cerza [Fri, 18 Mar 2016 00:21:50 +0000 (18:21 -0600)]
Initial PCP role for performance monitoring

http://pcp.io/

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotestnodes: Set sane warn/crit thresholds for nagios check_load 222/head
David Galloway [Wed, 30 Mar 2016 15:49:09 +0000 (11:49 -0400)]
testnodes: Set sane warn/crit thresholds for nagios check_load

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agotestnode/tasks/yum_systems.yml: don't use sudo for rpm --rebuilddb 223/head
Samuel Just [Tue, 29 Mar 2016 20:01:44 +0000 (13:01 -0700)]
testnode/tasks/yum_systems.yml: don't use sudo for rpm --rebuilddb

Introduced: 4706498a68d5afd134867754676a874b2603b44b
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agotestnode: remove python-rbd and python-cephfs as well
Samuel Just [Tue, 29 Mar 2016 17:33:21 +0000 (10:33 -0700)]
testnode: remove python-rbd and python-cephfs as well

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #221 from ceph/wip-apt-clean
vasukulkarni [Tue, 29 Mar 2016 19:52:02 +0000 (12:52 -0700)]
Merge pull request #221 from ceph/wip-apt-clean

Package fixes and workarounds

9 years agotestnode/tasks/apt: force yes on upgrade 221/head
Samuel Just [Mon, 28 Mar 2016 19:48:06 +0000 (12:48 -0700)]
testnode/tasks/apt: force yes on upgrade

Fixes: http://tracker.ceph.com/issues/15280
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agotestnode/vars/apt_systems.yml: add ceph-fs-common[-dbg] to ceph_packages_to_remove
Samuel Just [Fri, 25 Mar 2016 01:59:26 +0000 (18:59 -0700)]
testnode/vars/apt_systems.yml: add ceph-fs-common[-dbg] to ceph_packages_to_remove

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoroles/testnode/vars/yum_systems.yml: add missing ceph_packages_to_remove
Samuel Just [Thu, 24 Mar 2016 19:01:19 +0000 (12:01 -0700)]
roles/testnode/vars/yum_systems.yml: add missing ceph_packages_to_remove

I added iozone and mod_fastcgi to ceph_packages_to_remove rather than
ceph_dependency_packages_to_remove since we build them?

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agotestnode/tasks/yum_systems.yml: always rebuild rpmdb
Samuel Just [Thu, 24 Mar 2016 21:29:39 +0000 (14:29 -0700)]
testnode/tasks/yum_systems.yml: always rebuild rpmdb

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agotestnode/tasks/apt_systems.yml: always clean apt cache
Samuel Just [Wed, 23 Mar 2016 20:24:25 +0000 (13:24 -0700)]
testnode/tasks/apt_systems.yml: always clean apt cache

Intended as a work around for #15090 (apt-get update
hash sum mismatch).

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #220 from dachary/wip-arch
Zack Cerza [Mon, 28 Mar 2016 20:17:56 +0000 (14:17 -0600)]
Merge pull request #220 from dachary/wip-arch

replace hardcoded x86_64 with {{ansible_architecture}}

9 years agoreplace hardcoded x86_64 with {{ansible_architecture}} 220/head
Loic Dachary [Sun, 27 Mar 2016 15:32:40 +0000 (17:32 +0200)]
replace hardcoded x86_64 with {{ansible_architecture}}

Signed-off-by: Thierry Delamare <t.delamare@laposte.net>
Signed-off-by: Loic Dachary <loic@dachary.org>