]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
9 years agodownstream-setup: yum_repos will now be removed during cleanup 130/head
Andrew Schoen [Wed, 9 Sep 2015 15:07:45 +0000 (10:07 -0500)]
downstream-setup: yum_repos will now be removed during cleanup

Fixes: http://tracker.ceph.com/issues/12921
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #129 from ceph/wip-smart
djgalloway [Tue, 8 Sep 2015 23:49:13 +0000 (16:49 -0700)]
Merge pull request #129 from ceph/wip-smart

smart.pl multiline mode: show failed/missing drives as well

Reviewed-by: David Galloway <dgalloway@redhat.com>
9 years agosmart.pl: drive numbers are 1-based 129/head
Dan Mick [Tue, 8 Sep 2015 23:41:18 +0000 (16:41 -0700)]
smart.pl: drive numbers are 1-based

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosmart.pl multiline mode: show failed/missing drives as well
Dan Mick [Tue, 8 Sep 2015 21:23:01 +0000 (14:23 -0700)]
smart.pl multiline mode: show failed/missing drives as well

also, make a global "multiline" flag (since it's now being used
in multiple places)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #127 from ceph/wip-12957
Zack Cerza [Tue, 8 Sep 2015 21:17:55 +0000 (15:17 -0600)]
Merge pull request #127 from ceph/wip-12957

Add support for debian 8

9 years agotestnode: ensure fuse group exists 127/head
Andrew Schoen [Tue, 8 Sep 2015 20:43:07 +0000 (15:43 -0500)]
testnode: ensure fuse group exists

On debian 8, uploading the fuse.conf file fails because the fuse group
is no longer present by default. The following debian bug suggests that
testing the fuse group might not be the correct thing to do, but it's
probably best just to keep this as close to debian 7 as possible right
now.

See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793927

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #128 from ceph/wip-smart
Zack Cerza [Tue, 8 Sep 2015 20:27:57 +0000 (14:27 -0600)]
Merge pull request #128 from ceph/wip-smart

Several bugs/usability things in smart.pl, and a new version with human output

9 years agoAdd -m to smart.pl that prints output for humans 128/head
Dan Mick [Tue, 8 Sep 2015 18:36:19 +0000 (11:36 -0700)]
Add -m to smart.pl that prints output for humans

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoFind Areca sg device in the documented way; no idea about vsf info
Dan Mick [Tue, 8 Sep 2015 18:33:13 +0000 (11:33 -0700)]
Find Areca sg device in the documented way; no idea about vsf info

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoOutput drive letter along with drive number for convenience
Dan Mick [Tue, 8 Sep 2015 18:32:39 +0000 (11:32 -0700)]
Output drive letter along with drive number for convenience

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agotestnode: add a retry to installing the apt keys
Andrew Schoen [Tue, 8 Sep 2015 16:14:51 +0000 (11:14 -0500)]
testnode: add a retry to installing the apt keys

Because we're using a mirror that sometimes doesn't respond in a timely
manner, add 2 minutes of retries to overcome transient HTTP issues.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agotestnode: add support for debian 8
Andrew Schoen [Tue, 8 Sep 2015 14:57:24 +0000 (09:57 -0500)]
testnode: add support for debian 8

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agotestnode: always update the apt cache
Andrew Schoen [Tue, 8 Sep 2015 14:47:30 +0000 (09:47 -0500)]
testnode: always update the apt cache

Updating the apt cache is an idempotent task so I see no problem with
always doing this. Also, debian jessie and ubuntu vivid aren't using the
local apt repos, but still need the apt cache updated.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agocommon: update apt cache on debian before installing kerberos packages
Andrew Schoen [Tue, 8 Sep 2015 14:42:22 +0000 (09:42 -0500)]
common: update apt cache on debian before installing kerberos packages

Without updating the apt cache, debian jessie can not find the package
krb5-user.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #124 from ceph/wip-12900
Zack Cerza [Tue, 1 Sep 2015 17:41:51 +0000 (11:41 -0600)]
Merge pull request #124 from ceph/wip-12900

testnode: retry when updating the apt cache to handle http errors

9 years agoMerge pull request #125 from ceph/wip-puddle-updates
Andrew Schoen [Tue, 1 Sep 2015 15:32:25 +0000 (10:32 -0500)]
Merge pull request #125 from ceph/wip-puddle-updates

puddle: rh-common-rhel-6 and ceph-1.3.z adjustments

9 years agopuddle: publish ceph-1.3.z for QE testing 125/head
Ken Dreyer [Tue, 1 Sep 2015 15:18:11 +0000 (09:18 -0600)]
puddle: publish ceph-1.3.z for QE testing

Travis and I think RHCS 1.3.1 looks good enough to give to QE at this
time. Instead of publishing it to the "dev-puddle" website, publish it
to the main puddle site.

9 years agopuddle: second RHEL 6 async undergoing testing
Ken Dreyer [Tue, 1 Sep 2015 15:17:49 +0000 (09:17 -0600)]
puddle: second RHEL 6 async undergoing testing

Adjust the RHEL 6 RH-COMMON Puddle config for a second RHEL 6 async
update that will be undergoing testing.

9 years agotestnode: retry when updating the apt cache to handle http errors 124/head
Andrew Schoen [Tue, 1 Sep 2015 15:02:19 +0000 (10:02 -0500)]
testnode: retry when updating the apt cache to handle http errors

When updating the apt cache we have to make an http call out to
gitbuilder, if gitbuilder fails for whatever reason we should retry
before failing the playbook.

Also, this removes a 'changed_when: false' on 'Add local apt repos'.
We check it's 'changed' status to know if we need update the cache or
not. We only added that 'changed_when' to avoid seeing this task being
changed each time (because it will always change), but we actually need
that value set correctly because we use it in the 'when' clause of the
updating apt cache stanza.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #123 from ceph/wip-teuth-user-keys-retry
Zack Cerza [Mon, 31 Aug 2015 16:01:42 +0000 (10:01 -0600)]
Merge pull request #123 from ceph/wip-teuth-user-keys-retry

testnode: add a retry when fetching the teuthology_user ssh keys

9 years agotestnode: add a retry when fetching the teuthology_user ssh keys 123/head
Andrew Schoen [Mon, 31 Aug 2015 15:56:53 +0000 (10:56 -0500)]
testnode: add a retry when fetching the teuthology_user ssh keys

We keep seeing transient failures when pulling down ssh keys from
github. This will retry for two minutes before failing to hopefully give
github enough time to recover if it's timing out.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #122 from ceph/wip-12868
Zack Cerza [Mon, 31 Aug 2015 15:44:30 +0000 (09:44 -0600)]
Merge pull request #122 from ceph/wip-12868

users: increase the retry count to 24 for fetching ssh keys from github

9 years agousers: increase the retry count to 24 for fetching ssh keys from github 122/head
Andrew Schoen [Mon, 31 Aug 2015 15:41:37 +0000 (10:41 -0500)]
users: increase the retry count to 24 for fetching ssh keys from github

We were still getting timeouts when requesting keys from github, so
we're gonna try to just simply increase the number of times it retries
to see if that helps things.

See: http://tracker.ceph.com/issues/12868

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #121 from ceph/wip-12778
Zack Cerza [Thu, 27 Aug 2015 18:05:00 +0000 (12:05 -0600)]
Merge pull request #121 from ceph/wip-12778

common: set timeout in /etc/yum.conf

9 years agocommon: set timeout in /etc/yum.conf 121/head
Andrew Schoen [Thu, 27 Aug 2015 17:43:49 +0000 (12:43 -0500)]
common: set timeout in /etc/yum.conf

We were getting timeouts when using epel mirrors and the default timeout value
is only 30 seconds which is not long enough for heavily used mirrors to
respond.

See: http://tracker.ceph.com/issues/12778

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #120 from ceph/wip-12794
Andrew Schoen [Wed, 26 Aug 2015 19:17:51 +0000 (14:17 -0500)]
Merge pull request #120 from ceph/wip-12794

testnodes: Check for and remove custom apt repos

9 years agotestnodes: Check for and remove custom apt repos 120/head
Zack Cerza [Wed, 26 Aug 2015 16:19:09 +0000 (10:19 -0600)]
testnodes: Check for and remove custom apt repos

http://tracker.ceph.com/issues/12794

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #118 from ceph/wip-skip-entitlements-sepia
Andrew Schoen [Fri, 21 Aug 2015 21:19:08 +0000 (16:19 -0500)]
Merge pull request #118 from ceph/wip-skip-entitlements-sepia

Common: If no entitlements, skip repo replacement

10 years agoCommon: If no entitlements, skip repo replacement 118/head
Zack Cerza [Fri, 21 Aug 2015 21:13:49 +0000 (15:13 -0600)]
Common: If no entitlements, skip repo replacement

We were seeing "error while evaluating conditional: replace_repos" when
running against RHEL nodes which were missing entitlements. Even though
that won't be a particularly positive scenario, this was a bug that
should be fixed.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #117 from ceph/wip-epel-mirrorlist
Zack Cerza [Thu, 20 Aug 2015 19:02:02 +0000 (13:02 -0600)]
Merge pull request #117 from ceph/wip-epel-mirrorlist

Enable mirrorlist for epel repo

10 years agoEnable mirrorlist for epel repo 117/head
dgalloway [Wed, 19 Aug 2015 22:39:35 +0000 (18:39 -0400)]
Enable mirrorlist for epel repo

Signed-off-by: dgalloway <dgallowa@REDHAT.COM>
10 years agoMerge pull request #116 from ceph/wip-12693
Zack Cerza [Thu, 20 Aug 2015 15:39:26 +0000 (09:39 -0600)]
Merge pull request #116 from ceph/wip-12693

downstream-setup: separate cleanup and setup tasks into their own files

10 years agodownstream-setup: separate cleanup and setup tasks into their own files 116/head
Andrew Schoen [Thu, 20 Aug 2015 15:13:12 +0000 (10:13 -0500)]
downstream-setup: separate cleanup and setup tasks into their own files

This is a refactor that makes this role a bit easier to understand and
use. I've simplified main.yml to only include setup.yml and cleanup.yml.
This separation of cleanup and setup related tasks make it a bit easier
to understand.

Also fixes this bug: http://tracker.ceph.com/issues/12693

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #111 from ceph/wip-12670
Dan Mick [Tue, 18 Aug 2015 21:05:57 +0000 (14:05 -0700)]
Merge pull request #111 from ceph/wip-12670

testnode: make teuthology_user passwordless

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agotestnode: make teuthology_user passwordless 111/head
Andrew Schoen [Fri, 14 Aug 2015 16:47:23 +0000 (11:47 -0500)]
testnode: make teuthology_user passwordless

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #115 from ceph/distill-git-url
Andrew Schoen [Tue, 18 Aug 2015 19:52:38 +0000 (14:52 -0500)]
Merge pull request #115 from ceph/distill-git-url

puddle: accept hostkey when cloning distill's rcm-metadata.git

10 years agopuddle: accept hostkey when cloning distill's rcm-metadata.git 115/head
Ken Dreyer [Tue, 18 Aug 2015 19:40:21 +0000 (13:40 -0600)]
puddle: accept hostkey when cloning distill's rcm-metadata.git

I recently switched rcm-metadata.git to use the git:// protocol instead
of http://. When operating on a repository that uses a
protocol other than HTTP, Ansible's git module unconditionally requires
accept_hostkey to be set.

(See https://github.com/ansible/ansible-modules-core/issues/1931 for the
upstream report.)

10 years agoMerge pull request #114 from ceph/wip-fix-ssh-keys
Zack Cerza [Tue, 18 Aug 2015 16:51:58 +0000 (10:51 -0600)]
Merge pull request #114 from ceph/wip-fix-ssh-keys

users: fixes bug related to ssh key update retries

10 years agousers: fixes bug related to ssh key update retries 114/head
Andrew Schoen [Tue, 18 Aug 2015 16:41:22 +0000 (11:41 -0500)]
users: fixes bug related to ssh key update retries

When updating ssh keys for users we implemented a do until loop that
will account for transient issues when downloading the key from github.
The problem was that if the url fails then the var we were registering
was never created and the 'until' block errors out trying to check it.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #113 from ceph/wip-dev-puddle
Andrew Schoen [Tue, 18 Aug 2015 14:16:26 +0000 (09:16 -0500)]
Merge pull request #113 from ceph/wip-dev-puddle

puddle: add ceph-1.3.z config

10 years agopuddle: add ceph-1.3.z config 113/head
Ken Dreyer [Mon, 17 Aug 2015 21:36:38 +0000 (15:36 -0600)]
puddle: add ceph-1.3.z config

Add a new Puddle configuration file for ceph-1.3.z.

Output to the "dev-puddle" location for now.

In RHCeph 1.3.1, we're introducing Foreman, which has a dependency on
the SCL product. Add this to the Puddle configuration for the
"Installer" repo.

10 years agopuddle: add "Installer" repo to ceph-1.3-rhel-7-async
Ken Dreyer [Mon, 17 Aug 2015 21:45:54 +0000 (15:45 -0600)]
puddle: add "Installer" repo to ceph-1.3-rhel-7-async

I missed adding this one when I created this file. add it here.

10 years agoMerge pull request #112 from ceph/wip-dev-puddle
Andrew Schoen [Fri, 14 Aug 2015 19:48:56 +0000 (14:48 -0500)]
Merge pull request #112 from ceph/wip-dev-puddle

puddle: add "dev-puddle" virtualhost

10 years agopuddle: add "dev-puddle" virtualhost 112/head
Ken Dreyer [Fri, 14 Aug 2015 18:55:38 +0000 (12:55 -0600)]
puddle: add "dev-puddle" virtualhost

In DNS, dev-puddle is a CNAME to puddle. Set up Nginx's configuration
file to handle this new name and route the requests to a dedicated
"dev-puddle" htdocs directory.

Update the nginx task to create multiple docroots, and add "dev-puddle"
to be the second one.

10 years agopuddle: rm unused nginx parameter
Ken Dreyer [Fri, 14 Aug 2015 18:46:55 +0000 (12:46 -0600)]
puddle: rm unused nginx parameter

We weren't using this and it's just cruft. delete it

10 years agoMerge pull request #110 from ceph/wip-testnode-doc-update
Dan Mick [Fri, 14 Aug 2015 16:00:08 +0000 (09:00 -0700)]
Merge pull request #110 from ceph/wip-testnode-doc-update

tesnode: add `ceph_packages` to the README

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agotestnode: rename ceph_packages to ceph_packages_to_remove 110/head
Andrew Schoen [Fri, 14 Aug 2015 15:02:41 +0000 (10:02 -0500)]
testnode: rename ceph_packages to ceph_packages_to_remove

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotesnode: add `ceph_packages` to the README
Andrew Schoen [Fri, 14 Aug 2015 14:46:43 +0000 (09:46 -0500)]
tesnode: add `ceph_packages` to the README

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #109 from dachary/wip-python-rados
Andrew Schoen [Fri, 14 Aug 2015 14:18:15 +0000 (09:18 -0500)]
Merge pull request #109 from dachary/wip-python-rados

python-rados does not exist in firefly

10 years agopython-rados does not exist in firefly 109/head
Loic Dachary [Fri, 14 Aug 2015 12:59:34 +0000 (14:59 +0200)]
python-rados does not exist in firefly

It must be removed if present otherwise a firefly installation will
fail with:

Package python-ceph is obsoleted by python-rados,
  but obsoleting package does not provide for requirements

or similar errors.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #108 from ceph/wip-fix-epel-centos
Dan Mick [Thu, 13 Aug 2015 17:04:18 +0000 (10:04 -0700)]
Merge pull request #108 from ceph/wip-fix-epel-centos

testnode: add epel_packages for centos 6 and 7

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agotestnode: add epel_packages for centos 6 and 7 108/head
Andrew Schoen [Thu, 13 Aug 2015 15:26:08 +0000 (10:26 -0500)]
testnode: add epel_packages for centos 6 and 7

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #106 from ceph/wip-rhel-entitlements
Andrew Schoen [Thu, 13 Aug 2015 14:17:32 +0000 (09:17 -0500)]
Merge pull request #106 from ceph/wip-rhel-entitlements

Wip rhel entitlements

10 years agoMerge pull request #103 from jcsp/wip-centos7-xfs
Andrew Schoen [Thu, 13 Aug 2015 14:02:35 +0000 (09:02 -0500)]
Merge pull request #103 from jcsp/wip-centos7-xfs

roles: add xfsprogs-devel for centos7

10 years agoRemoved erroneous check 106/head
dgalloway [Wed, 12 Aug 2015 15:32:42 +0000 (11:32 -0400)]
Removed erroneous check

Fixes
1) already subscribed machines w/ bad repos weren't cleaned
2) enable repos would always run if 'rhsm_repos|length > 0' conditional used

Signed-off-by: dgalloway <dgallowa@REDHAT.COM>
10 years agoMerge pull request #107 from ceph/wip-keys
Andrew Schoen [Wed, 12 Aug 2015 19:28:05 +0000 (14:28 -0500)]
Merge pull request #107 from ceph/wip-keys

use static versions of release.asc and autobuild.asc

10 years agouse static versions of release.asc and autobuild.asc 107/head
Sage Weil [Wed, 12 Aug 2015 19:23:21 +0000 (15:23 -0400)]
use static versions of release.asc and autobuild.asc

Pulling them out of gitweb hits the server too hard.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #104 from ceph/wip-var-loading-order
djgalloway [Wed, 12 Aug 2015 15:17:52 +0000 (11:17 -0400)]
Merge pull request #104 from ceph/wip-var-loading-order

testnode: fix var file loading order

10 years agotestnode: fix var file loading order 104/head
Andrew Schoen [Wed, 12 Aug 2015 15:11:03 +0000 (10:11 -0500)]
testnode: fix var file loading order

We want to load distro specific variables before we load major version
specific variables. Loading of vars should happen in this order: package
manager, distro, major version, version.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoroles: add xfsprogs-devel for centos7 103/head
John Spray [Wed, 12 Aug 2015 10:25:22 +0000 (11:25 +0100)]
roles: add xfsprogs-devel for centos7

Fixes: #12658
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #102 from ceph/wip-epel-packages
Dan Mick [Fri, 7 Aug 2015 18:13:14 +0000 (11:13 -0700)]
Merge pull request #102 from ceph/wip-epel-packages

testnode: put epel packages in their own list for rhel 6 and 7

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Zack Cerza <zcerza@redhat.com>
10 years agoMerge pull request #101 from ceph/wip-revoke-users
Andrew Schoen [Fri, 7 Aug 2015 15:14:43 +0000 (10:14 -0500)]
Merge pull request #101 from ceph/wip-revoke-users

Add the ability to revoke user accounts

10 years agotestnode: explicitly enable the epel repo when installing python-pip 102/head
Andrew Schoen [Thu, 6 Aug 2015 20:17:32 +0000 (15:17 -0500)]
testnode: explicitly enable the epel repo when installing python-pip

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: put epel packages in their own list for rhel 6 and 7
Andrew Schoen [Thu, 6 Aug 2015 16:11:55 +0000 (11:11 -0500)]
testnode: put epel packages in their own list for rhel 6 and 7

This separates packages we install from epel into their own list for rhel 6 and 7.
We do this so that we can install them with the epel repo explicitly enabled.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoUsers: Fix broken example in README.rst 101/head
Zack Cerza [Thu, 6 Aug 2015 20:00:46 +0000 (14:00 -0600)]
Users: Fix broken example in README.rst

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUsers: Add the ability to revoke user accounts
Zack Cerza [Thu, 6 Aug 2015 17:38:36 +0000 (11:38 -0600)]
Users: Add the ability to revoke user accounts

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #96 from ceph/wip-ansible-failures-module
Zack Cerza [Wed, 5 Aug 2015 17:41:14 +0000 (11:41 -0600)]
Merge pull request #96 from ceph/wip-ansible-failures-module

A callback plugin that logs failure message

10 years agoA callback plugin that logs failure messages 96/head
Andrew Schoen [Mon, 3 Aug 2015 19:52:49 +0000 (14:52 -0500)]
A callback plugin that logs failure messages

If the environment variable ANSIBLE_FAILURE_LOG is present then a log of
all failures in the playbook will be persisted to the file
path given in the ANSIBLE_FAILURE_LOG.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #99 from dmick/master
Zack Cerza [Tue, 4 Aug 2015 23:04:24 +0000 (17:04 -0600)]
Merge pull request #99 from dmick/master

testnode/tasks/ntp: make sure ntpd is started

10 years agotestnode/tasks/ntp: make sure ntpd is started 99/head
Dan Mick [Tue, 4 Aug 2015 22:41:01 +0000 (15:41 -0700)]
testnode/tasks/ntp: make sure ntpd is started

Tested with:

$ ansible-playbook -i ../ceph-octo-secrets/ansible/inventory/octo
--limit 'magna064*' --tag ntp-client testnodes.yml

Fixes: #12603
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #90 from ceph/wip-wrap-readme
Andrew Schoen [Mon, 3 Aug 2015 21:59:32 +0000 (16:59 -0500)]
Merge pull request #90 from ceph/wip-wrap-readme

doc: wrap README.rst at 80 characters

10 years agoMerge pull request #91 from ceph/wip-puddle-updates
Andrew Schoen [Mon, 3 Aug 2015 21:59:15 +0000 (16:59 -0500)]
Merge pull request #91 from ceph/wip-puddle-updates

Puddle updates

10 years agoMerge pull request #97 from ceph/wip-teuthology-role
Andrew Schoen [Mon, 3 Aug 2015 21:58:52 +0000 (16:58 -0500)]
Merge pull request #97 from ceph/wip-teuthology-role

Add teuthology role and playbook

10 years agoAdd teuthology role and playbook 97/head
Zack Cerza [Mon, 3 Aug 2015 21:42:19 +0000 (15:42 -0600)]
Add teuthology role and playbook

So far, it only depends on the sudo and users roles. The playbook also
runs the common role.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #95 from ceph/revert-94-wip-12424
Andrew Schoen [Mon, 3 Aug 2015 14:47:55 +0000 (09:47 -0500)]
Merge pull request #95 from ceph/revert-94-wip-12424

Revert "Adds cgroups packages and net_cls kernel module to ubuntu sys…

10 years agoRevert "Adds cgroups packages and net_cls kernel module to ubuntu systems" 95/head
Andrew Schoen [Mon, 3 Aug 2015 14:46:27 +0000 (09:46 -0500)]
Revert "Adds cgroups packages and net_cls kernel module to ubuntu systems"

10 years agoMerge pull request #94 from ivotron/wip-12424
Andrew Schoen [Fri, 31 Jul 2015 20:20:06 +0000 (15:20 -0500)]
Merge pull request #94 from ivotron/wip-12424

Adds cgroups packages and net_cls kernel module to ubuntu systems

10 years agoAdds cgroups packages and net_cls kernel module to ubuntu systems 94/head
Ivo Jimenez [Fri, 24 Jul 2015 20:15:56 +0000 (13:15 -0700)]
Adds cgroups packages and net_cls kernel module to ubuntu systems

This commit is part of the work for http://tracker.ceph.com/issues/12424
which enables the ceph task in ceph/ceph-qa-suite to create and place
osd/mon/mds in control groups.

For ubuntu, kernels for precise and up have CONFIG_CGROUP_* enabled, so
the only thing that it's required is to install cgroup-lite which is a
service that mounts the cgroups virtual FS. The cgroup-bin package will
also be used from the ceph task to manipulate (create/modify/delete)
control groups.

The net_cls subsystem is included as a module (cls_cgroup) and is not
enabled by cgroup-lite, i.e. it has to be explicitly loaded. so we add
it to /etc/modules

10 years agopuddle: add ceph-1.3.0 to async configs 91/head
Ken Dreyer [Wed, 29 Jul 2015 18:09:31 +0000 (12:09 -0600)]
puddle: add ceph-1.3.0 to async configs

Similar to the change in commit
84818a7a7bd00a3c18f0326c312dc3abef77c05e, add the the CEPH-1.3 release
to the CEPH-ASYNC config files.

The purpose of this change is to make it easier for QE to consume
the builds in Puddle repos that correspond to ASYNC advisories.

10 years agopuddle: update distill directory name for ceph 1.3
Ken Dreyer [Thu, 23 Jul 2015 21:32:02 +0000 (15:32 -0600)]
puddle: update distill directory name for ceph 1.3

The final Brew tag for 1.3 was "-compose", not "-candidate" or
"-pending".

10 years agopuddle: add ceph-1.2 to async configs
Ken Dreyer [Thu, 23 Jul 2015 21:23:03 +0000 (15:23 -0600)]
puddle: add ceph-1.2 to async configs

Add the the CEPH-1.2 release to the CEPH-ASYNC config files.

The purpose of this change is to make it easier for QE to consume
the builds in Puddle repos that correspond to ASYNC advisories.

Prior to this change, QE had to make sure to enable the production Ceph
repositories with subscription-manager before using the packages in an
ASYNC advisory's Puddle. With this change, all the latest "1.2.3"
packages will be combined together with the "1.2-async" packages into a
single Puddle.

This has a side-effect advantage in that we can simplify the "externals"
sections of these config files.

10 years agoMerge pull request #93 from ceph/wip-cobbler-update-cm
Andrew Schoen [Fri, 24 Jul 2015 21:21:28 +0000 (16:21 -0500)]
Merge pull request #93 from ceph/wip-cobbler-update-cm

Cobbler: update CM repos before running ansible

10 years agoCobbler: update CM repos before running ansible 93/head
Zack Cerza [Thu, 9 Jul 2015 15:43:27 +0000 (09:43 -0600)]
Cobbler: update CM repos before running ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #92 from ceph/wip-debug-distros
Andrew Schoen [Fri, 24 Jul 2015 15:30:00 +0000 (10:30 -0500)]
Merge pull request #92 from ceph/wip-debug-distros

Common: Log the OS/version of each node

10 years agoCommon: Log the OS/version of each node 92/head
Zack Cerza [Fri, 24 Jul 2015 15:15:07 +0000 (09:15 -0600)]
Common: Log the OS/version of each node

I think this will help with debugging.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agodoc: wrap README.rst at 80 characters 90/head
Ken Dreyer [Thu, 23 Jul 2015 21:18:03 +0000 (15:18 -0600)]
doc: wrap README.rst at 80 characters

My Eyes! The goggles do nothing!

10 years agoMerge pull request #89 from ceph/wip-rhel67
Andrew Schoen [Thu, 23 Jul 2015 21:16:30 +0000 (16:16 -0500)]
Merge pull request #89 from ceph/wip-rhel67

Add RHEL 6.7

10 years agoAdd RHEL 6.7 89/head
Zack Cerza [Tue, 14 Jul 2015 00:16:39 +0000 (18:16 -0600)]
Add RHEL 6.7

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoSimplify extra_distros logic
Zack Cerza [Tue, 14 Jul 2015 00:16:26 +0000 (18:16 -0600)]
Simplify extra_distros logic

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #88 from ceph/wip-ipmi
Andrew Schoen [Thu, 23 Jul 2015 19:41:31 +0000 (14:41 -0500)]
Merge pull request #88 from ceph/wip-ipmi

Cobbler IPMI configuration and utilities

10 years agoMerge pull request #75 from ceph/wip-testnode-docs
Dan Mick [Thu, 23 Jul 2015 17:15:34 +0000 (10:15 -0700)]
Merge pull request #75 from ceph/wip-testnode-docs

Documentation for the testnode role.

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agocobbler_systems: populate IPMI information 88/head
Zack Cerza [Wed, 22 Jul 2015 17:43:40 +0000 (11:43 -0600)]
cobbler_systems: populate IPMI information

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCobbler: ship ipmi-related utility scripts
Zack Cerza [Wed, 22 Jul 2015 15:35:20 +0000 (09:35 -0600)]
Cobbler: ship ipmi-related utility scripts

console.sh, reboot.sh, and reimage.sh

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #87 from ceph/wip-cobbler-users
Dan Mick [Wed, 22 Jul 2015 00:23:45 +0000 (17:23 -0700)]
Merge pull request #87 from ceph/wip-cobbler-users

Cobbler: enable adding more user accounts

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agoCobbler: change default password 87/head
Zack Cerza [Wed, 22 Jul 2015 00:09:02 +0000 (18:09 -0600)]
Cobbler: change default password

So that it's usably by third parties

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCobbler: discover port in restart.yml
Zack Cerza [Tue, 21 Jul 2015 23:49:03 +0000 (17:49 -0600)]
Cobbler: discover port in restart.yml

... because that's the only place it's needed

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCobbler: write users.digest base on a var
Zack Cerza [Tue, 21 Jul 2015 23:40:55 +0000 (17:40 -0600)]
Cobbler: write users.digest base on a var

... instead of a template, so we can add users on a per-lab basis.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #86 from ceph/wip-12380
Andrew Schoen [Tue, 21 Jul 2015 21:31:33 +0000 (16:31 -0500)]
Merge pull request #86 from ceph/wip-12380

Retry authorized_keys updates

10 years agoRetry authorized_keys updates 86/head
Zack Cerza [Tue, 21 Jul 2015 20:18:44 +0000 (14:18 -0600)]
Retry authorized_keys updates

http://tracker.ceph.com/issues/12380
We're seeing transient issues connecting to githubusercontent.com. This
commit will cause ansible to retry three times with a five-second delay
between tries. Hopefully that's good enough.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #85 from ceph/wip-12381
Zack Cerza [Fri, 17 Jul 2015 17:09:57 +0000 (11:09 -0600)]
Merge pull request #85 from ceph/wip-12381

testnode: add dbench and bonnie++ for centos7