Andrew Schoen [Wed, 20 May 2015 19:10:28 +0000 (14:10 -0500)]
cobbler_profile: add the ability to set kernel options.
We can now provide custom kernel_options and kernel_options_post when
creating a profile. Updating the kernel_options are not idempotent
however as some kernel options are always return from the distro.
Andrew Schoen [Mon, 18 May 2015 18:09:52 +0000 (13:09 -0500)]
cobbler_profile: use the mount module instead of command to mount isos
The mount module is idempotent, so we should use that instead. Also,
clear the mount point each time so that if the playbook fails on the
next run it'll actually remount and complete the rest of the tasks
instead of skipping them because the iso is already mounted.
Andrew Schoen [Fri, 15 May 2015 21:12:20 +0000 (16:12 -0500)]
cobbler: adds a snippet to create post install kernel options.
This snippet is used by the cephlab_preseed_late script to set the
GRUB_CMDLINE_LINUX value in /etc/defaults/grub to what's defined by
the system, profile or distro that's currently being imaged.
Andrew Schoen [Thu, 14 May 2015 21:31:34 +0000 (16:31 -0500)]
cobbler: adds a ubuntu preseed that can be used for multiple versions.
This uses the os_version cobbler variable to decide which version of
ubuntu it's using. This variable is set on the distro that is currently
using the cephlab_ubuntu preseed.
Ken Dreyer [Wed, 20 May 2015 03:25:03 +0000 (21:25 -0600)]
puddle: skip some cleanup in ceph-distill
The ceph-distill script was deleting some files that distill doesn't
create any more (because we now set "skip_phase = createiso"). Stop
attempting to delete these.
Ken Dreyer [Tue, 19 May 2015 23:50:00 +0000 (17:50 -0600)]
puddle: use distill configs from rcm-metadata.git
Originally I thought that we could store each of distill's individual
configuration files in ceph-cm-ansible.git, but this is becoming
untenable because there are too many templated values, and I'm trying to
sync these files closely with the copies from Red Hat's rel-eng team.
This commit uses the git module to clone a rcm-metadata.git repository
to /etc/distill and alters the "ceph-distill" wrapper script to use that
location instead.
Since the individual templated files are no longer needed (the full
versions are in rcm-metadata.git), delete them from the tree here.
Andrew Schoen [Mon, 18 May 2015 21:23:31 +0000 (16:23 -0500)]
downstream-setup: add a task to remove a yum repo from /etc/yum.repos.d
Using the remove_yum_repos var give a list of yum repos names to remove
from /etc/yum.repos.d. This gives a way for us to clean up yum repos
that we add with this role.
Andrew Schoen [Thu, 30 Apr 2015 20:19:33 +0000 (15:19 -0500)]
downstream-setup: adds a new downstream_setup.yml playbook.
This playbook will be used to setup testnodes for downstream
testing by downloading arbitrary yum repos. The repos to install should
be passed in with the --extra-vars option to ansible-playbook.
The yum_repos var must be a list of hashes defining the url to download
the repo from and the name to save it as in /etc/yum.repos.d
Andrew Schoen [Tue, 12 May 2015 20:02:04 +0000 (15:02 -0500)]
Make rhel 7.0 tasks run on any rhel 7.x version.
This shouldn't have been restricted to only 7.0 in the first place. We
noticed this problem while testing rhel 7.1 and noticing that firewalld
was not disabled.
Dan Mick [Fri, 8 May 2015 21:27:33 +0000 (14:27 -0700)]
vmlist.py: treat "-h/--host" case outside the normal flow
Needlessly complex trying to mix the streams, and no reason for
a separate process when doing only one machine; needed to make
outputfile default to None anyway
Ken Dreyer [Tue, 5 May 2015 20:17:51 +0000 (14:17 -0600)]
puddle: add ceph-1.3 tools repo
This repository will be included with RHEL. It is the replacement for
Ceph's use of RH-COMMON, so it will contain the Ceph client bits and
ceph-radosgw package.
See Red Hat rel-eng's RT #344094 (internal ticket).
Andrew Schoen [Mon, 4 May 2015 14:19:36 +0000 (09:19 -0500)]
Add a teuthology_user group and assign it to the teuthology_user.
This fixes a bug when creating a CPAN config directory that belongs to the
group teuthology_user. If this group wasn't created already that play
fails.
Ken Dreyer [Fri, 1 May 2015 21:16:16 +0000 (15:16 -0600)]
puddle: add 1.2 configs for ceph-async
CEPH-ASYNC advisories have a slightly different config than the config
we used for the 1.2.3 release. Here are the changes I made from the
1.2.3 configs:
1. "errata_release" is "CEPH-ASYNC"
2. Packages are not always signed (remove the keys settings)
3. We need to add more repos for repoclosure to succeed (namely, the
production read-only pulp repos)
Andrew Schoen [Fri, 1 May 2015 15:26:36 +0000 (10:26 -0500)]
Set the uid of the ansible user in cephlab_trusty.preseed.
We need to explicitly set this uid here just like we do in the
cephlab_user snippet. I also created a var for the uid because we need it in
multiple places.
Ken Dreyer [Thu, 30 Apr 2015 15:29:49 +0000 (09:29 -0600)]
move default rhsm vars to "common" role
Commit 3d1ecaac01f9ed7a589741700fdb7fc22056218c moved the Red Hat
subscription bits into the "common" role, but I neglected to move the
default variables to "common" as well. Move them here.
Andrew Schoen [Thu, 30 Apr 2015 14:43:40 +0000 (09:43 -0500)]
Add defaults for the puddle and distill hashes.
This is just helpful as a guide to know what vars are being used in the
puddle role. These will actually get their values from a group_vars
file for the puddle node.