]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
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 #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 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

10 years agotestnode: ensure yum-utils is present before yum-complete-transaction 85/head
Andrew Schoen [Fri, 17 Jul 2015 16:22:34 +0000 (11:22 -0500)]
testnode: ensure yum-utils is present before yum-complete-transaction

This isn't there on centos 7 causing the yum-complete-transaction task
to fail.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: add dbench and bonnie++ to package list for centos7
Andrew Schoen [Fri, 17 Jul 2015 16:21:56 +0000 (11:21 -0500)]
testnode: add dbench and bonnie++ to package list for centos7

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #84 from ceph/wip-12371
Zack Cerza [Thu, 16 Jul 2015 20:25:39 +0000 (14:25 -0600)]
Merge pull request #84 from ceph/wip-12371

testnode: remove scsci-target-utils and iscsi-initiator-utils

10 years agotestnode: remove scsci-target-utils and iscsi-initiator-utils 84/head
Andrew Schoen [Thu, 16 Jul 2015 20:14:19 +0000 (15:14 -0500)]
testnode: remove scsci-target-utils and iscsi-initiator-utils

We don't want to install these anymore as they're causing issues with
the teuthology install task because of their dependency on librados.

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

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #82 from ceph/wip-yum-core-base
Andrew Schoen [Thu, 16 Jul 2015 16:03:21 +0000 (11:03 -0500)]
Merge pull request #82 from ceph/wip-yum-core-base

Install the Core and Base groups on rpm systems

10 years agoInstall the Core and Base groups on rpm systems 82/head
Zack Cerza [Thu, 16 Jul 2015 16:01:23 +0000 (10:01 -0600)]
Install the Core and Base groups on rpm systems

We need to make sure basic things like bzip2 are installed.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agof; more review feedback from dmick 75/head
Andrew Schoen [Thu, 16 Jul 2015 14:49:24 +0000 (09:49 -0500)]
f; more review feedback from dmick

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; attempt to make comments better in defaults/main.yml
Andrew Schoen [Wed, 15 Jul 2015 21:28:52 +0000 (16:28 -0500)]
f; attempt to make comments better in defaults/main.yml

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; try to explain how packages and common_packages work
Andrew Schoen [Wed, 15 Jul 2015 21:18:52 +0000 (16:18 -0500)]
f; try to explain how packages and common_packages work

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: adds common_apt_repos and apt_repos to the docs and defaults
Andrew Schoen [Wed, 15 Jul 2015 21:02:30 +0000 (16:02 -0500)]
testnode: adds common_apt_repos and apt_repos to the docs and defaults

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agof; review feedback from dan
Andrew Schoen [Wed, 15 Jul 2015 20:24:58 +0000 (15:24 -0500)]
f; review feedback from dan

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: add documentation for this role
Andrew Schoen [Wed, 15 Jul 2015 14:25:54 +0000 (09:25 -0500)]
testnode: add documentation for this role

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: add common_packages to defaults/main.yml
Andrew Schoen [Wed, 15 Jul 2015 14:24:55 +0000 (09:24 -0500)]
testnode: add common_packages to defaults/main.yml

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #81 from dmick/master
Andrew Schoen [Thu, 16 Jul 2015 13:57:49 +0000 (08:57 -0500)]
Merge pull request #81 from dmick/master

Fix warning in 'when' clause in 'Create the teuthology user.'

10 years agoFix warning in 'when' clause in 'Create the teuthology user.' 81/head
Dan Mick [Thu, 16 Jul 2015 03:12:59 +0000 (20:12 -0700)]
Fix warning in 'when' clause in 'Create the teuthology user.'

Warnings appeared each run:

[WARNING]: It is unnecessary to use '{{' in conditionals, leave variables in
loop expressions bare

Apparently 'when' clauses are already Jinja2 expressions, and so don't
need the normal variable quoting.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #80 from ceph/wip-remove-mandatory-secrets-path
Dan Mick [Wed, 15 Jul 2015 20:03:14 +0000 (13:03 -0700)]
Merge pull request #80 from ceph/wip-remove-mandatory-secrets-path

common: |mandatory is not needed for secrets_path, it is always defined.

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agocommon: |mandatory is not needed for secrets_path, it is always defined. 80/head
Andrew Schoen [Wed, 15 Jul 2015 18:47:09 +0000 (13:47 -0500)]
common: |mandatory is not needed for secrets_path, it is always defined.

secrets_path comes from the secrets role and it is always defined.  It
will default to /etc/ansible/secrets if the env var ANSIBLE_SECRETS_PATH
is not defined. You can also define secrets_path by passing a variable
to the playbook being used.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #79 from ceph/wip-cobbler-git
Andrew Schoen [Wed, 15 Jul 2015 17:50:24 +0000 (12:50 -0500)]
Merge pull request #79 from ceph/wip-cobbler-git

cobbler: install git

10 years agoMerge pull request #77 from ceph/wip-cobbler-system-defaults
Andrew Schoen [Wed, 15 Jul 2015 17:50:07 +0000 (12:50 -0500)]
Merge pull request #77 from ceph/wip-cobbler-system-defaults

cobbler_systems: properly find defaults

10 years agoMerge pull request #78 from ceph/wip-cobbler-rh-firewall
Andrew Schoen [Wed, 15 Jul 2015 17:49:11 +0000 (12:49 -0500)]
Merge pull request #78 from ceph/wip-cobbler-rh-firewall

Cobbler: ignore firewalld if it's not running

10 years agocobbler: install git 79/head
Zack Cerza [Wed, 15 Jul 2015 17:47:28 +0000 (11:47 -0600)]
cobbler: install git

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoCobbler: ignore firewalld if it's not running 78/head
Zack Cerza [Wed, 15 Jul 2015 17:44:37 +0000 (11:44 -0600)]
Cobbler: ignore firewalld if it's not running

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agocobbler_systems: properly find defaults 77/head
Zack Cerza [Wed, 15 Jul 2015 17:07:54 +0000 (11:07 -0600)]
cobbler_systems: properly find defaults

For interface and kernel_options

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMake firewall changes immediate
Zack Cerza [Wed, 15 Jul 2015 16:50:34 +0000 (10:50 -0600)]
Make firewall changes immediate

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #76 from ceph/wip-cobbler-rh-firewall
Andrew Schoen [Wed, 15 Jul 2015 16:36:33 +0000 (11:36 -0500)]
Merge pull request #76 from ceph/wip-cobbler-rh-firewall

Manage the firewall on RHEL/CentOS 6/7

10 years agoManage the firewall on RHEL/CentOS 6/7 76/head
Zack Cerza [Wed, 15 Jul 2015 16:31:44 +0000 (10:31 -0600)]
Manage the firewall on RHEL/CentOS 6/7

On EL7, poke holes for http and https. On EL6, just stop iptables.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #74 from ceph/wip-fix-entitlements
Andrew Schoen [Tue, 14 Jul 2015 16:41:48 +0000 (11:41 -0500)]
Merge pull request #74 from ceph/wip-fix-entitlements

Fix entitlements

10 years agoMerge pull request #68 from ceph/wip-var-docs
Dan Mick [Tue, 14 Jul 2015 16:41:03 +0000 (09:41 -0700)]
Merge pull request #68 from ceph/wip-var-docs

docs: explain where to define variables for use in roles

10 years agoFix replace_repos logic 74/head
Zack Cerza [Tue, 14 Jul 2015 01:08:24 +0000 (19:08 -0600)]
Fix replace_repos logic

The issues were with quoting of booleans, and |success vs. .rc == 0

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix logic of finding entitlements.yml
Zack Cerza [Tue, 14 Jul 2015 00:59:54 +0000 (18:59 -0600)]
Fix logic of finding entitlements.yml

We were mistakenly checking for the existence of entitlements.yml on the
*remote* end.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agodocs: explain where to define variables for use in roles 68/head
Andrew Schoen [Wed, 8 Jul 2015 15:52:21 +0000 (10:52 -0500)]
docs: explain where to define variables for use in roles

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #73 from ceph/wip-12256
Zack Cerza [Fri, 10 Jul 2015 14:52:56 +0000 (08:52 -0600)]
Merge pull request #73 from ceph/wip-12256

DNM: roles used by teuthology should not require a secrets repo

10 years agoansible-managed: skip adding pub_keys if vars is not defined 73/head
Andrew Schoen [Thu, 9 Jul 2015 21:49:14 +0000 (16:49 -0500)]
ansible-managed: skip adding pub_keys if vars is not defined

This lets this play gracefully skip if ansible_user and ansible_ssh_keys
is not defined.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocommon: default the epel_mirror_baseurl var
Andrew Schoen [Thu, 9 Jul 2015 21:22:55 +0000 (16:22 -0500)]
common: default the epel_mirror_baseurl var

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default the gitbuilder_host var
Andrew Schoen [Thu, 9 Jul 2015 21:21:30 +0000 (16:21 -0500)]
testnode: default the gitbuilder_host var

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: set a default for the var ntp_servers
Andrew Schoen [Thu, 9 Jul 2015 21:13:03 +0000 (16:13 -0500)]
testnode: set a default for the var ntp_servers

Defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default git_mirror_host
Andrew Schoen [Thu, 9 Jul 2015 21:01:45 +0000 (16:01 -0500)]
testnode: default git_mirror_host

Defaults to the value used in our sepia lab

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: default mirror_host var
Andrew Schoen [Thu, 9 Jul 2015 20:51:21 +0000 (15:51 -0500)]
testnode: default mirror_host var

This defaults to the value used in our sepia lab.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocreates a new sudo role that ensures all plays are ran with sudo
Andrew Schoen [Thu, 9 Jul 2015 20:18:31 +0000 (15:18 -0500)]
creates a new sudo role that ensures all plays are ran with sudo

This should be added as a dependancy to any other roles that require
sudo. This commits adds it to ansible-managed, common and testnode.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agotestnode: make lab_domain an optional var
Andrew Schoen [Thu, 9 Jul 2015 19:26:05 +0000 (14:26 -0500)]
testnode: make lab_domain an optional var

lab_domain is used to strip the domain from the nodes hostname, this
allows that task to be skipped if lab_domain isn't provided.  I believe
we only do this because of some quirk in how cobbler images our rhel
nodes, we might not even need this functionality.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #72 from dachary/wip-fstab
Andrew Schoen [Thu, 9 Jul 2015 20:36:42 +0000 (15:36 -0500)]
Merge pull request #72 from dachary/wip-fstab

implement modify_fstab to skip /etc/fstab modification

10 years agoimplement modify_fstab to persist mount options in /etc/fstab 72/head
Loic Dachary [Thu, 9 Jul 2015 14:48:11 +0000 (16:48 +0200)]
implement modify_fstab to persist mount options in /etc/fstab

http://tracker.ceph.com/issues/12250 Fixes: #12250

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #69 from ceph/wip-cobbler-httpd
Andrew Schoen [Thu, 9 Jul 2015 17:32:52 +0000 (12:32 -0500)]
Merge pull request #69 from ceph/wip-cobbler-httpd

Help users locate cobbler's web UI

10 years agoHelp users locate cobbler's web UI 69/head
Zack Cerza [Wed, 8 Jul 2015 21:39:52 +0000 (15:39 -0600)]
Help users locate cobbler's web UI

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #67 from ceph/wip-fix-defaults
Andrew Schoen [Thu, 9 Jul 2015 14:28:50 +0000 (09:28 -0500)]
Merge pull request #67 from ceph/wip-fix-defaults

Skip ansible_user creation if it is undefined

10 years agoMerge pull request #70 from ceph/wip-no-ubuntu-resolvconf
Zack Cerza [Wed, 8 Jul 2015 22:49:28 +0000 (16:49 -0600)]
Merge pull request #70 from ceph/wip-no-ubuntu-resolvconf

testnode: do not modify resolv.conf on ubuntu

10 years agotestnode: do not modify resolv.conf on ubuntu 70/head
Andrew Schoen [Wed, 8 Jul 2015 21:48:16 +0000 (16:48 -0500)]
testnode: do not modify resolv.conf on ubuntu

There is no need to modify resolv.conf for ubuntu anymore.  When using
cobbler this is set by using the resolvconf var in the cobbler role. For
vms, like ones created by openstack, this allows ubuntu nodes to use the
resolv.conf already provided.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoSkip ansible_user creation if it is undefined 67/head
Zack Cerza [Tue, 7 Jul 2015 22:51:35 +0000 (16:51 -0600)]
Skip ansible_user creation if it is undefined

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #66 from ceph/wip-puddle-updates
Andrew Schoen [Tue, 7 Jul 2015 16:38:01 +0000 (11:38 -0500)]
Merge pull request #66 from ceph/wip-puddle-updates

Puddle updates

10 years agopuddle: add ceph 1.3 async 66/head
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: add ceph 1.3 async

Add a configuration file to do Puddle generation for ceph 1.3 async.

10 years agopuddle: update rh-common errata
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: update rh-common errata

Update Puddle's configuration for the latest RH-COMMON errata currently
in progress.

10 years agopuddle: update URL variable conventions
Ken Dreyer [Mon, 6 Jul 2015 21:52:45 +0000 (15:52 -0600)]
puddle: update URL variable conventions

1) Remove "_z" from the RHEL repository variables. There's no point in
distinguishing "RHEL 7 z" from "RHEL 7".

2) Add "_server" to distinguish the RHEL Server variant from the
Workstation/Client/ComputeNode variants.

10 years agoMerge pull request #65 from ceph/wip-yum-tx
Ken Dreyer [Tue, 7 Jul 2015 00:22:27 +0000 (18:22 -0600)]
Merge pull request #65 from ceph/wip-yum-tx

Remove saved yum transactions

10 years agoRemove saved yum transactions 65/head
Zack Cerza [Mon, 6 Jul 2015 23:53:05 +0000 (17:53 -0600)]
Remove saved yum transactions

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't try to remove a missing package
Zack Cerza [Mon, 6 Jul 2015 23:00:26 +0000 (17:00 -0600)]
Don't try to remove a missing package

My previous commit had a bug. First, check if ceph-debuginfo is present.
If it's not, don't try to remove it.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #64 from ceph/wip-bz-1234967
Andrew Schoen [Mon, 6 Jul 2015 21:36:53 +0000 (16:36 -0500)]
Merge pull request #64 from ceph/wip-bz-1234967

Work around BZ#1234967

10 years agoWork around BZ#1234967 64/head
Zack Cerza [Mon, 6 Jul 2015 20:55:54 +0000 (14:55 -0600)]
Work around BZ#1234967

We have some corrupt ceph-debuginfo packages that are causing yum to die
with a UnicodeDecodeError. Use rpm to remove them for now.

https://bugzilla.redhat.com/show_bug.cgi?id=1234967

Signed-off-by: Zack Cerza <zack@redhat.com>