]>
git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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 .
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>
Zack Cerza [Thu, 31 Mar 2016 18:18:38 +0000 (12:18 -0600)]
Embellish overview documentation
Signed-off-by: Zack Cerza <zack@redhat.com>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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}}
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>
Loic Dachary [Fri, 25 Mar 2016 17:08:21 +0000 (18:08 +0100)]
paddles: cope with undefined paddles_address
Signed-off-by: Thierry Delamare <t.delamare@laposte.net>
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 25 Mar 2016 17:07:45 +0000 (18:07 +0100)]
paddles: do not fail to disable if apache2 if not there
If apache2 is not installed no need to disable it.
Signed-off-by: Thierry Delamare <t.delamare@laposte.net>
Signed-off-by: Loic Dachary <loic@dachary.org>
Dan Mick [Thu, 24 Mar 2016 21:57:35 +0000 (14:57 -0700)]
Merge pull request #218 from ceph/wip-auth-openvpn
gateway: modify auth-openvpn script to ignore comments and blank lines
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Thu, 24 Mar 2016 20:45:23 +0000 (16:45 -0400)]
gateway: modify auth-openvpn script to ignore comments and blank lines
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 24 Mar 2016 18:18:06 +0000 (11:18 -0700)]
Merge pull request #217 from ceph/wip-gw-tweaks
gateway: Add logrotate to to-do
David Galloway [Thu, 24 Mar 2016 18:12:12 +0000 (14:12 -0400)]
gateway: Add logrotate to to-do
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Thu, 24 Mar 2016 18:09:08 +0000 (11:09 -0700)]
Merge pull request #216 from ceph/wip-gw-tweaks
gateway: Adding additional functionality and some missing files
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Wed, 23 Mar 2016 15:08:15 +0000 (11:08 -0400)]
gateway: Add defaults for vars in secrets repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 22:02:11 +0000 (18:02 -0400)]
gateway: Renaming 'copy secrets' task
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:52:58 +0000 (17:52 -0400)]
gateway: Write universal 'auth-openvpn' user auth script
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:36:47 +0000 (17:36 -0400)]
gateway: Manage service state based on openvpn_server_name
Also updated list of secrets we maintain
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:34:25 +0000 (17:34 -0400)]
gateway: Create openvpn_data_dir if it doesn't exist
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 22 Mar 2016 21:32:31 +0000 (17:32 -0400)]
gateway: Add common role
Configures epel repo and grants ssh access to admin_users
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Tue, 22 Mar 2016 20:07:58 +0000 (13:07 -0700)]
Merge pull request #215 from ceph/wip-gw
New role to manage OpenVPN gateway
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:25:14 +0000 (15:25 -0400)]
gateway: Final documentation update for initial PR
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 21:41:13 +0000 (17:41 -0400)]
gateway: add openvpn_users list from secrets repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:48:49 +0000 (15:48 -0400)]
gateway: Add task to write CA, key, and cert
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Mon, 21 Mar 2016 19:29:09 +0000 (15:29 -0400)]
gateway: Add check to ensure service is running
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 22:14:24 +0000 (18:14 -0400)]
gateway: Users task
Takes 'ovpn' variable from secrets repo users and write to openvpn server
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 19:43:45 +0000 (15:43 -0400)]
gateway: Set packages needed for gateway role
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 18 Mar 2016 19:42:48 +0000 (15:42 -0400)]
Create initial files for new 'gateway' role
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 16 Mar 2016 23:10:05 +0000 (17:10 -0600)]
Merge pull request #213 from ceph/wip-nrpe-user
testnodes: Configure per-OS nrpe user and group name
David Galloway [Wed, 16 Mar 2016 20:42:16 +0000 (16:42 -0400)]
testnodes: Configure per-OS nrpe user and group name
NRPE on CentOS/RHEL ignore the nrpe_user variable in nrpe.cfg due to the
systemd init file. See https://github.com/NagiosEnterprises/nrpe/issues/28
The 'nagios' user is created by default on *.deb
The 'nrpe' user is created by default on *.rpm
Further reading: https://www.mooash.me/2014/10/24/nagios-nrpe-ansible-role/
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Wed, 16 Mar 2016 18:54:36 +0000 (12:54 -0600)]
Merge pull request #212 from ceph/wip-nrpe-selinux
testnodes: configure selinux for nagios monitoring
David Galloway [Wed, 16 Mar 2016 17:06:45 +0000 (13:06 -0400)]
testnodes: configure selinux for nagios monitoring
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 16 Mar 2016 17:40:03 +0000 (10:40 -0700)]
Merge pull request #210 from ceph/wip-cobbler-tz
cobbler: set testnodes timezone during kickstart
Reviewed-by: Dan Mick <dmick@redhat.com>
Dan Mick [Wed, 16 Mar 2016 01:48:31 +0000 (18:48 -0700)]
Merge pull request #211 from ceph/wip-nrpe-service
testnode: add check to make sure NRPE service is running
Reviewed-by: Dan Mick<dmick@redhat.com>
David Galloway [Wed, 16 Mar 2016 01:36:32 +0000 (21:36 -0400)]
Updating documentation to reflect NRPE support on CentOS and RHEL now
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 16 Mar 2016 01:29:39 +0000 (21:29 -0400)]
testnode: add check to make sure NRPE service is running
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 16 Mar 2016 01:12:58 +0000 (18:12 -0700)]
Merge pull request #209 from ceph/wip-nrpe-ssl
testnodes: Disable ssl requirement for nrpe on rpm-based distros
Reviewed-by: Dan Mick<dmick@redhat.com>
David Galloway [Tue, 15 Mar 2016 22:33:55 +0000 (18:33 -0400)]
testnodes: Disable ssl requirement for nrpe on rpm-based distros
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 16 Mar 2016 00:40:58 +0000 (20:40 -0400)]
cobbler: set testnodes timezone during kickstart
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 21:25:15 +0000 (14:25 -0700)]
Merge pull request #208 from ceph/wip-rhel6-8
Prep for RHEL6.8
David Galloway [Fri, 4 Mar 2016 20:43:11 +0000 (15:43 -0500)]
Prep for RHEL6.8
http://tracker.ceph.com/issues/14982
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 20:48:29 +0000 (13:48 -0700)]
Merge pull request #207 from ceph/wip-rhel6-8
Prep for RHEL6.8
David Galloway [Fri, 4 Mar 2016 20:43:11 +0000 (15:43 -0500)]
Prep for RHEL6.8
http://tracker.ceph.com/issues/14982
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Fri, 4 Mar 2016 20:01:58 +0000 (13:01 -0700)]
Merge pull request #206 from ceph/wip-cobbler-noansible
cobbler: enable stock OS provisioning
David Galloway [Fri, 4 Mar 2016 19:01:27 +0000 (14:01 -0500)]
cobbler: enable stock OS provisioning
http://tracker.ceph.com/issues/14725
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Fri, 4 Mar 2016 18:59:58 +0000 (10:59 -0800)]
Merge pull request #205 from ceph/wip-plugin
Adapt failure_log plugin to work with ansible 2.0
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Wed, 2 Mar 2016 22:08:38 +0000 (15:08 -0700)]
Adapt failure_log plugin to work with ansible 2.0
This commit maintains backward compatibility
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Sun, 28 Feb 2016 04:45:15 +0000 (11:45 +0700)]
Merge pull request #204 from ceph/revert-203-wip-14914-defaults
Revert "ansible.cfg: do not set vault_password_file"
Loic Dachary [Sun, 28 Feb 2016 04:45:00 +0000 (11:45 +0700)]
Revert "ansible.cfg: do not set vault_password_file"
Loic Dachary [Sun, 28 Feb 2016 02:08:25 +0000 (09:08 +0700)]
Merge pull request #203 from dachary/wip-14914-defaults
ansible.cfg: do not set vault_password_file
Loic Dachary [Sun, 28 Feb 2016 02:05:50 +0000 (09:05 +0700)]
ansible.cfg: do not set vault_password_file
So that ansible-playbook can run from the root of the repository and not
pick up this value which is unlikely to be correct.
http://tracker.ceph.com/issues/14914 Fixes: #14914
Signed-off-by: Loic Dachary <loic@dachary.org>
Dan Mick [Thu, 25 Feb 2016 22:42:43 +0000 (14:42 -0800)]
Merge pull request #202 from yuriw/wip-14848-master
Added "- ncurses-devel" for xfstests to run and pass
Reviewed-by: Dan Mick <dmick@redhat.com>
Yuri Weinstein [Thu, 25 Feb 2016 22:27:05 +0000 (14:27 -0800)]
Added "- ncurses-devel" for xfstests to run and pass
Fixes: #14848
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Zack Cerza [Sat, 20 Feb 2016 00:00:28 +0000 (17:00 -0700)]
Merge pull request #201 from dmick/master
common/tasks/kerberos.yml: Test ansible_os_family for packaging type
Dan Mick [Fri, 19 Feb 2016 23:11:06 +0000 (15:11 -0800)]
common/tasks/kerberos.yml: Test ansible_os_family for packaging type
...rather than ansible_distribution
Fixes: #14751
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Thu, 18 Feb 2016 04:12:11 +0000 (20:12 -0800)]
Merge pull request #200 from ceph/wip-f22-int
Reviewed-by: Dan Mick <dmick@redhat.com>
David Galloway [Thu, 18 Feb 2016 03:34:35 +0000 (22:34 -0500)]
Fixes http://tracker.ceph.com/issues/14790
Cobbler would fail to create kickstart because non-Fedora distros would return 7.X, for example, as the integer resulting in CentOS and RHEL kickstarts to fail
Fixes: #14790
Signed-off-by: David Galloway <dgallowa@redhat.com>
Dan Mick [Wed, 17 Feb 2016 18:23:40 +0000 (10:23 -0800)]
Merge pull request #198 from ceph/wip-ansible-2-prep
Preparation for ansible 2.x
Reviewed-by: <dan.mick@redhat.com>
Zack Cerza [Wed, 17 Feb 2016 00:33:56 +0000 (17:33 -0700)]
Merge pull request #199 from ceph/wip-f22-gpg
Install yum on Fedora 22 and higher
David Galloway [Wed, 17 Feb 2016 00:19:59 +0000 (19:19 -0500)]
yum package is not available from dvd image repo
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Wed, 17 Feb 2016 00:17:07 +0000 (19:17 -0500)]
Install yum on Fedora 22 and higher
Existing tasks like gpg_keys.yml rely on the yum module
This is temporary until we can move to ansible v2.0's package module
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 22:07:34 +0000 (15:07 -0700)]
Rename ansible_user to cm_user
ansible_user is now used by ansible itself.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 22:33:04 +0000 (15:33 -0700)]
Merge pull request #197 from ceph/wip-14729
Enable Fedora 22 installation in labs
David Galloway [Tue, 16 Feb 2016 21:17:57 +0000 (16:17 -0500)]
cobbler: Modify postinstall trigger script to work with Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 20:47:33 +0000 (15:47 -0500)]
Install pip on Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 19:50:27 +0000 (14:50 -0500)]
cobbler: Modify Fedora 22 packages installed during kickstart
The @base group no longer exists in Fedora 22 and causes anaconda to
halt during install. Using @^infrastructure-server-environment in its place
The gpg_keys ansible task requires yum to be installed prior to first boot
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Sat, 13 Feb 2016 01:00:10 +0000 (20:00 -0500)]
Install nrpe daemon for Fedora 22
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 23:52:31 +0000 (18:52 -0500)]
Rename Fedora 20 sshd config to Fedora 22 since F20 no longer supported
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 23:41:53 +0000 (18:41 -0500)]
Update package location and requirements for F22
Signed-off-by: David Galloway <dgallowa@redhat.com>
Zack Cerza [Tue, 16 Feb 2016 21:40:38 +0000 (14:40 -0700)]
Use ansible's new '*become*' options
The old '*sudo*' options are deprecated.
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Fri, 12 Feb 2016 21:31:42 +0000 (16:31 -0500)]
Renaming and repurposing file since we no longer support F20
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Fri, 12 Feb 2016 20:25:10 +0000 (15:25 -0500)]
Adding Fedora22 to labs http://tracker.ceph.com/issues/14729
Signed-off-by: David Galloway <dgallowa@redhat.com>
David Galloway [Tue, 16 Feb 2016 00:16:54 +0000 (19:16 -0500)]
Merge pull request #196 from dmick/master
Include /keys in path to key files, and document what's expected
Dan Mick [Tue, 16 Feb 2016 00:11:38 +0000 (16:11 -0800)]
Include /keys in path to key files, and document what's expected
Signed-off-by: Dan Mick <dan.mick@redhat.com>
David Galloway [Mon, 15 Feb 2016 23:31:09 +0000 (18:31 -0500)]
Merge pull request #195 from dmick/master
Stop looking for keys on git.ceph.com