]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
9 years agoAdd ceph-rbd-mirror role to containerized sample playbook 948/head
Ivan Font [Mon, 22 Aug 2016 18:23:48 +0000 (11:23 -0700)]
Add ceph-rbd-mirror role to containerized sample playbook

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #945 from ceph/fix-docker
Leseb [Mon, 22 Aug 2016 08:36:23 +0000 (10:36 +0200)]
Merge pull request #945 from ceph/fix-docker

docker: gather all the fact

9 years agodocker: gather all the fact 945/head
Sébastien Han [Mon, 22 Aug 2016 08:35:24 +0000 (10:35 +0200)]
docker: gather all the fact

If we don't do this we won't be able to get the ip address of the docker
interface.

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #931 from font/rbdmirror_purge
Leseb [Fri, 19 Aug 2016 16:31:46 +0000 (18:31 +0200)]
Merge pull request #931 from font/rbdmirror_purge

Update for containerized purge cluster playbook

9 years agoInclude group_vars files in purge cluster playbook 931/head
Ivan Font [Fri, 12 Aug 2016 16:47:10 +0000 (09:47 -0700)]
Include group_vars files in purge cluster playbook

- Add all relevant group_vars files in containerized purge cluster
  playbook and ignore errors if file may not exist.
- Also fixing indentation issues.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoUpdate for containerized purge cluster playbook
Ivan Font [Fri, 12 Aug 2016 01:24:26 +0000 (18:24 -0700)]
Update for containerized purge cluster playbook

- Added support for purging containerized rbd-mirror node

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #941 from dang/nfs-rgw
Leseb [Fri, 19 Aug 2016 15:29:16 +0000 (17:29 +0200)]
Merge pull request #941 from dang/nfs-rgw

NFS fixups

9 years agoMerge pull request #924 from jsaintrocc/check-part-speedup
Leseb [Fri, 19 Aug 2016 15:28:11 +0000 (17:28 +0200)]
Merge pull request #924 from jsaintrocc/check-part-speedup

check_devices.yml cleanup and optimization

9 years agoNFS fixups 941/head
Daniel Gryniewicz [Thu, 18 Aug 2016 12:24:48 +0000 (08:24 -0400)]
NFS fixups

- Move fsal_rgw config to ceph-common, as it's shaered with ceph-rgw
- Update all.docker.sample with NFS config
- Rename fsal_rgw to nfs_obj_gw and fsal_ceph to nfs_file_gw, because
  the former names mean nothing to non-Ganesha developers

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
9 years agoMerge pull request #936 from jsaintrocc/multisite
Leseb [Thu, 18 Aug 2016 15:38:19 +0000 (17:38 +0200)]
Merge pull request #936 from jsaintrocc/multisite

RGW Multisite Support

9 years agoRebased and moved multisite/rgw playbooks to infrastructure-playbooks 936/head
James Saint-Rossy [Wed, 17 Aug 2016 17:28:01 +0000 (13:28 -0400)]
Rebased and moved multisite/rgw playbooks to infrastructure-playbooks

9 years agoMerged with Upstream Master 924/head
James Saint-Rossy [Wed, 17 Aug 2016 16:00:36 +0000 (12:00 -0400)]
Merged with Upstream Master

9 years agoMerge pull request #938 from ASBishop/issue/843
Leseb [Wed, 17 Aug 2016 14:51:39 +0000 (16:51 +0200)]
Merge pull request #938 from ASBishop/issue/843

Fix pre-infernalis RPM installation of ceph-radosgw

9 years agoFix pre-infernalis RPM installation of ceph-radosgw 938/head
asbishop [Thu, 7 Jul 2016 19:41:53 +0000 (15:41 -0400)]
Fix pre-infernalis RPM installation of ceph-radosgw

For pre-infernalis installation of ceph-radosgw from RPM, run 'chkconfig'
to ensure systemd's ceph-radosgw.service is created.

This fixes issue #843.

9 years agoMerge pull request #939 from ceph/playbook-dir
Leseb [Wed, 17 Aug 2016 11:08:26 +0000 (13:08 +0200)]
Merge pull request #939 from ceph/playbook-dir

create a directory for infrastructure playbooks

9 years agocreate a directory for infrastructure playbooks 939/head
Sébastien Han [Wed, 17 Aug 2016 09:48:42 +0000 (11:48 +0200)]
create a directory for infrastructure playbooks

Since we have a couple of infrastructure related playbooks
(additionnally to the roles we are using to deploy Ceph), it makes sense
to have them located in a separate directory.

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agofixed name: capitilization
James Saint-Rossy [Tue, 16 Aug 2016 21:57:49 +0000 (17:57 -0400)]
fixed name: capitilization

9 years agoMerge pull request #937 from font/vagvars
Leseb [Tue, 16 Aug 2016 21:53:24 +0000 (23:53 +0200)]
Merge pull request #937 from font/vagvars

Add rbd-mirror to vagrant variables atomic sample

9 years agoFixed quotes and removed combined_ prefix from variables that no longer need it
James Saint-Rossy [Tue, 16 Aug 2016 21:49:30 +0000 (17:49 -0400)]
Fixed quotes and removed combined_ prefix from variables that no longer need it

9 years agoAdd rbd-mirror to vagrant variables atomic sample 937/head
Ivan Font [Tue, 16 Aug 2016 19:07:45 +0000 (12:07 -0700)]
Add rbd-mirror to vagrant variables atomic sample

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoExperimental RGW Multisite Support
James Saint-Rossy [Tue, 16 Aug 2016 18:57:01 +0000 (14:57 -0400)]
Experimental RGW Multisite Support

9 years agoMerge pull request #933 from font/cephconf
Leseb [Tue, 16 Aug 2016 13:46:18 +0000 (15:46 +0200)]
Merge pull request #933 from font/cephconf

Fix ceph.conf template for containerized deployment

9 years agoMerge pull request #929 from ceph/shrink-cluster
Leseb [Tue, 16 Aug 2016 10:01:55 +0000 (12:01 +0200)]
Merge pull request #929 from ceph/shrink-cluster

add shrink playbook

9 years agoMerge pull request #935 from cdwertmann/patch-2
Leseb [Tue, 16 Aug 2016 07:49:42 +0000 (09:49 +0200)]
Merge pull request #935 from cdwertmann/patch-2

Remove duplicate "max open files"

9 years agoMerge pull request #932 from dang/nfs-rgw
Leseb [Tue, 16 Aug 2016 07:45:17 +0000 (09:45 +0200)]
Merge pull request #932 from dang/nfs-rgw

NFS for FSAL_RGW

9 years agoMerge pull request #934 from ceph/issue-811
Leseb [Tue, 16 Aug 2016 07:35:41 +0000 (09:35 +0200)]
Merge pull request #934 from ceph/issue-811

rename ceph_stable_rh_storage to ceph_stable_rhcs

9 years agoRemove duplicate "max open files" 935/head
Christoph Dwertmann [Tue, 16 Aug 2016 05:56:40 +0000 (15:56 +1000)]
Remove duplicate "max open files"

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in prerequisites for iso... 934/head
Alfredo Deza [Fri, 12 Aug 2016 15:31:01 +0000 (11:31 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in prerequisites for iso install

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in prerequisites for cdn...
Alfredo Deza [Fri, 12 Aug 2016 15:30:41 +0000 (11:30 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in prerequisites for cdn install

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs when installing rhs on redhat
Alfredo Deza [Fri, 12 Aug 2016 15:30:06 +0000 (11:30 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs when installing rhs on redhat

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs when installing rhs on debian
Alfredo Deza [Fri, 12 Aug 2016 15:29:39 +0000 (11:29 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs when installing rhs on debian

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in mandatory vars
Alfredo Deza [Fri, 12 Aug 2016 15:28:55 +0000 (11:28 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in mandatory vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in system checks
Alfredo Deza [Fri, 12 Aug 2016 15:28:26 +0000 (11:28 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in system checks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in main task
Alfredo Deza [Fri, 12 Aug 2016 15:28:03 +0000 (11:28 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in main task

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in repo template
Alfredo Deza [Fri, 12 Aug 2016 15:27:43 +0000 (11:27 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in repo template

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in defaults
Alfredo Deza [Fri, 12 Aug 2016 15:27:01 +0000 (11:27 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in defaults

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoceph-common: convert ceph_stable_rh_storage to ceph_rhcs in README
Alfredo Deza [Fri, 12 Aug 2016 15:26:44 +0000 (11:26 -0400)]
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in README

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agogroup_vars: convert ceph_stable_rh_storage to ceph_rhcs
Alfredo Deza [Fri, 12 Aug 2016 15:09:28 +0000 (11:09 -0400)]
group_vars: convert ceph_stable_rh_storage to ceph_rhcs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

9 years agoFix ceph.conf template for containerized deployment 933/head
Ivan Font [Sat, 13 Aug 2016 00:45:55 +0000 (17:45 -0700)]
Fix ceph.conf template for containerized deployment

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoadd shrink playbooks: mons and osds 929/head
Sébastien Han [Thu, 11 Aug 2016 15:20:07 +0000 (17:20 +0200)]
add shrink playbooks: mons and osds

We now have the ability to shrink a ceph cluster with the help of 2 new
playbooks. Even if a lot portions of those are identical I thought I
would make more sense to separate both for several reasons:

* it is rare to remove mon(s) and osd(s)
* this remains a tricky process so to avoid any overlap we keep things
* separated

For monitors, just select the list of the monitor hostnames you want to
delete from the cluster and execute the playbook like this. The hostname
must be resolvable. Then run the playbook like this:

ansible-playbook shrink-cluster.yml -e mon_host=ceph-mon-01,ceph-mon-02
Are you sure you want to shrink the cluster? [no]: yes

For OSDs, just select the list of the OSD id you want to delete from the
cluster and execute the playbook like this:

ansible-playbook shrink-cluster.yml -e osd_ids=0,2,4
Are you sure you want to shrink the cluster? [no]: yes

If you know what you're doing you can run it like this:

ansible-playbook shrink-cluster.yml -e ireallymeanit=yes -e
osd_ids=0,2,4

Thanks a lot to @SamYaple for his help on the complex
variables/fact/filters

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoNFS for FSAL_RGW 932/head
Daniel Gryniewicz [Thu, 21 Jul 2016 13:17:19 +0000 (09:17 -0400)]
NFS for FSAL_RGW

Add support for FSAL_RGW to the NFS gateway.  Both standard and
containerized versions are supported.

9 years agoMerge pull request #928 from danielin917/ceph-ansible-from-src
Leseb [Fri, 12 Aug 2016 14:14:09 +0000 (16:14 +0200)]
Merge pull request #928 from danielin917/ceph-ansible-from-src

Allow ceph-ansible to be run on a locally built/installed Ceph

9 years agoAllow ceph-ansible to be run on a locally built/installed Ceph 928/head
Daniel Lin [Mon, 6 Jun 2016 14:22:20 +0000 (10:22 -0400)]
Allow ceph-ansible to be run on a locally built/installed Ceph

-First install ceph into a directory with CMake
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DWITH_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX:PATH:=/usr <ceph_src_dir> && make DESTDIR=<install_dir> install/strip

-Ceph-ansible copies over the install_dir

-User can use rundep_installer.sh to install any runtime dependencies that ceph needs onto the machine from rundep

9 years agoMerge pull request #815 from ceph/ceph-initial-mon
Leseb [Fri, 12 Aug 2016 13:27:40 +0000 (15:27 +0200)]
Merge pull request #815 from ceph/ceph-initial-mon

WIP ceph-common: test mon initial members

9 years agoMerge pull request #930 from font/rbdmirror
Leseb [Fri, 12 Aug 2016 09:19:38 +0000 (11:19 +0200)]
Merge pull request #930 from font/rbdmirror

Updates for containerized rbd-mirror role

9 years agoUpdates for containerized rbd-mirror role 930/head
Ivan Font [Fri, 12 Aug 2016 01:21:57 +0000 (18:21 -0700)]
Updates for containerized rbd-mirror role

- Remove /var/lib/ceph dependencies
- Add support for rbd-mirror image tag

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agocode cleanup
James Saint-Rossy [Wed, 10 Aug 2016 22:03:09 +0000 (18:03 -0400)]
code cleanup

9 years agoInitial support for RGW Multisite
James Saint-Rossy [Wed, 10 Aug 2016 21:05:27 +0000 (17:05 -0400)]
Initial support for RGW Multisite

9 years agoMerge pull request #927 from ceph/fixes-dmcrypt
Leseb [Wed, 10 Aug 2016 15:08:58 +0000 (17:08 +0200)]
Merge pull request #927 from ceph/fixes-dmcrypt

osd: fix collocation spelling and declare dmcrypt variables

9 years agoMerge pull request #923 from danielin917/rsync_vagrant
Leseb [Wed, 10 Aug 2016 13:05:40 +0000 (15:05 +0200)]
Merge pull request #923 from danielin917/rsync_vagrant

Changes to allow for flexible rsync directory

9 years agoChanges to allow for flexible rsync directory 923/head
daniel lin [Tue, 9 Aug 2016 19:32:52 +0000 (15:32 -0400)]
Changes to allow for flexible rsync directory

-rsync directory was hardcoded previously and did not reflect the default /vagrant rsync directory

9 years agoMerge pull request #900 from ceph/rhbz-1339576
Leseb [Wed, 10 Aug 2016 09:50:30 +0000 (11:50 +0200)]
Merge pull request #900 from ceph/rhbz-1339576

purge-cluster: remove -q flag from grep to prevent broken pipes

9 years agoosd: fix collocation spelling and declare dmcrypt variables 927/head
Sébastien Han [Wed, 10 Aug 2016 08:34:23 +0000 (10:34 +0200)]
osd: fix collocation spelling and declare dmcrypt variables

* changed s/colocation/collocation/
* declare dmcrypt variable in ceph-common so the variables check does
not fail

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #926 from jsaintrocc/purge-local-sudo
Leseb [Wed, 10 Aug 2016 06:53:10 +0000 (08:53 +0200)]
Merge pull request #926 from jsaintrocc/purge-local-sudo

Fix local_action Requiring Root and Various Small Fixes

9 years agoVarious small fixes: local_action required root, ansible2 warnings, using file module... 926/head
James Saint-Rossy [Wed, 10 Aug 2016 02:53:07 +0000 (22:53 -0400)]
Various small fixes: local_action required root, ansible2 warnings, using file module instead of rm

9 years agoceph_devices.yml cleanup and optimization
James Saint-Rossy [Tue, 9 Aug 2016 22:57:41 +0000 (18:57 -0400)]
ceph_devices.yml cleanup and optimization

9 years agoceph-common: test mon initial members 815/head
Sébastien Han [Fri, 27 May 2016 14:37:07 +0000 (16:37 +0200)]
ceph-common: test mon initial members

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #910 from font/ntp_enable
Leseb [Tue, 9 Aug 2016 08:26:57 +0000 (10:26 +0200)]
Merge pull request #910 from font/ntp_enable

Add option to enable ntp

9 years agorebased with master
James Saint-Rossy [Mon, 8 Aug 2016 21:31:18 +0000 (17:31 -0400)]
rebased with master

9 years agoAdded initial multisite support
James Saint-Rossy [Mon, 8 Aug 2016 03:16:15 +0000 (23:16 -0400)]
Added initial multisite support

9 years agoUpdate ntp atomic plays to use is_atomic variable 910/head
Ivan Font [Thu, 28 Jul 2016 23:43:48 +0000 (16:43 -0700)]
Update ntp atomic plays to use is_atomic variable

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoAdd option to enable ntp
Ivan Font [Thu, 28 Jul 2016 14:42:19 +0000 (07:42 -0700)]
Add option to enable ntp

This fixes #845 for containerized deployments. We now also mount the
/etc/localtime volume in the containers in order to synchronize the host
timezone with the container timezone.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #891 from ceph/dmcrypt
Leseb [Mon, 8 Aug 2016 14:27:34 +0000 (16:27 +0200)]
Merge pull request #891 from ceph/dmcrypt

ceph-osd: add dmcrypt scenario

9 years agoceph-osd: re-arrange osd scenario numbers 891/head
Sébastien Han [Tue, 19 Jul 2016 15:55:57 +0000 (17:55 +0200)]
ceph-osd: re-arrange osd scenario numbers

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #920 from mbukatov/drop-disable-swap
Leseb [Mon, 8 Aug 2016 09:45:14 +0000 (11:45 +0200)]
Merge pull request #920 from mbukatov/drop-disable-swap

remove ability to disable swap

9 years agoremove ability to disable swap 920/head
Martin Bukatovic [Mon, 8 Aug 2016 09:35:22 +0000 (11:35 +0200)]
remove ability to disable swap

Addressing issue #919.

9 years agoMerge pull request #916 from ktdreyer/client-libvirt
Leseb [Mon, 8 Aug 2016 08:42:42 +0000 (10:42 +0200)]
Merge pull request #916 from ktdreyer/client-libvirt

ceph-common: client settings are for libvirt

9 years agoMerge pull request #918 from jsaintrocc/yum-clean-fix
Leseb [Mon, 8 Aug 2016 07:58:17 +0000 (09:58 +0200)]
Merge pull request #918 from jsaintrocc/yum-clean-fix

Fix purge yum cache

9 years agoAdded initial multisite support
James Saint-Rossy [Mon, 8 Aug 2016 03:16:15 +0000 (23:16 -0400)]
Added initial multisite support

9 years agoFix purge yum cache 918/head
James Saint-Rossy [Thu, 4 Aug 2016 05:26:59 +0000 (01:26 -0400)]
Fix purge yum cache

9 years agoceph-common: client settings are for libvirt 916/head
Ken Dreyer [Tue, 2 Aug 2016 15:57:24 +0000 (09:57 -0600)]
ceph-common: client settings are for libvirt

Prior to this change, each ceph cluster node would end up with several
"qemu-client-$pid.log" files owned by root. The [client] section would
capture *all* client activity (for example the "ceph health" command,
etc), not just librbd-in-qemu.

Restrict this section to libvirt clients only so that we don't generate
these spurious log files for other Ceph client traffic.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #914 from asheplyakov/secure-cluster-913
Leseb [Mon, 1 Aug 2016 08:54:08 +0000 (10:54 +0200)]
Merge pull request #914 from asheplyakov/secure-cluster-913

ceph-mon: fix the loop in `secure the cluster' task

9 years agoceph-mon: fix the loop in `secure the cluster' task 914/head
Alexey Sheplyakov [Fri, 29 Jul 2016 10:30:21 +0000 (13:30 +0300)]
ceph-mon: fix the loop in `secure the cluster' task

Deployment fails when the ``secure_cluster`` is false:

TASK [ceph-mon : secure the cluster]
*******************************************
fatal: [saceph-mon.vm.ceph.asheplyakov]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"}
fatal: [saceph-mon2.vm.ceph.asheplyakov]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"}
fatal: [saceph-mon3.vm.ceph.asheplyakov]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"}

A conditional include evaluates all included tasks with the (additional)
conditional applied to every task [1]. Thus all tasks from `secure_cluster.yml'
are always evaluated (with an additional 'when: secure_cluster' condition).
The `secure the cluster' task iterates over ``ceph_pools.stdout_lines``
even if ``secure_cluster`` is false: in loops ansible applies conditional
to every item (by design) [2]. However the `collect all the pools' task
is skipped if the very same condition evaluates to false, which leaves
the ``ceph_pools`` undefined, so the `secure the cluster' task fails:

Provide the default (empty) list to avoid the problem.

[1] http://docs.ansible.com/ansible/playbooks_conditionals.html#applying-when-to-roles-and-includes
[2] http://docs.ansible.com/ansible/playbooks_conditionals.html#loops-and-conditionals

Closes: #913
Signed-off-by: Alexey Sheplyakov <asheplyakov@mirantis.com>
9 years agoMerge pull request #912 from font/check_cluster
Leseb [Fri, 29 Jul 2016 08:46:52 +0000 (10:46 +0200)]
Merge pull request #912 from font/check_cluster

Fix to check if cluster is running

9 years agoFix to check if cluster is running 912/head
Ivan Font [Fri, 29 Jul 2016 00:13:45 +0000 (17:13 -0700)]
Fix to check if cluster is running

Update each role's task to use the respective role's username, image
name, and image tag to check if a container is already running. This was
causing false failures because we were not matching any running
containers and subsequently running checks.yml to check the status of
cluster files being left behind.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #911 from font/purge
Leseb [Thu, 28 Jul 2016 15:29:01 +0000 (17:29 +0200)]
Merge pull request #911 from font/purge

Updates to containerized purge cluster playbook

9 years agoUpdates to containerized purge cluster playbook 911/head
Ivan Font [Thu, 28 Jul 2016 14:55:37 +0000 (07:55 -0700)]
Updates to containerized purge cluster playbook

- Reorder package removal steps
- Remove package dependencies after package is removed

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #908 from jsaintrocc/purge-cluster-fix
Leseb [Thu, 28 Jul 2016 12:53:40 +0000 (14:53 +0200)]
Merge pull request #908 from jsaintrocc/purge-cluster-fix

Fix purge-cluster.yml fail by removing unnecessary ceph_stable_rh_storage_iso_install check.

9 years agoRemoved check for ceph_stable_rh_storage_iso_install when removing rh_storage.repo... 908/head
James Saint-Rossy [Thu, 28 Jul 2016 04:01:00 +0000 (00:01 -0400)]
Removed check for ceph_stable_rh_storage_iso_install when removing rh_storage.repo as it is can be undefined and cause the playbook to fail.  The check is redundant since the task will only remove the repo if it is present.

9 years agoMerge pull request #906 from ktdreyer/rm-ice
Leseb [Tue, 26 Jul 2016 21:59:08 +0000 (23:59 +0200)]
Merge pull request #906 from ktdreyer/rm-ice

remove references to Inktank Ceph Storage

9 years agoremove references to Inktank Ceph Storage 906/head
Ken Dreyer [Tue, 26 Jul 2016 19:57:32 +0000 (13:57 -0600)]
remove references to Inktank Ceph Storage

ICE is beyond end-of-life, and this Inktank GPG key is considered
untrusted (https://access.redhat.com/blogs/766093/posts/2176181)

RIP ICE, we will not miss you.

9 years agoMerge pull request #902 from ceph/journal-default
Leseb [Tue, 26 Jul 2016 11:53:26 +0000 (13:53 +0200)]
Merge pull request #902 from ceph/journal-default

common: set journal size to 5GB

9 years agocommon: set journal size to 5GB 902/head
Sébastien Han [Mon, 25 Jul 2016 16:12:31 +0000 (18:12 +0200)]
common: set journal size to 5GB

Journal size is not mandatory anymore, a default from 5GB is being
added. A simple warning message will show up if the size is set to
something below 5GB.

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #905 from chengweiv5/remove-dup-option
Leseb [Tue, 26 Jul 2016 09:11:20 +0000 (11:11 +0200)]
Merge pull request #905 from chengweiv5/remove-dup-option

sgdisk: remove duplicated option `-g`

9 years agocommon: refresh config template module
Sébastien Han [Tue, 26 Jul 2016 08:44:12 +0000 (10:44 +0200)]
common: refresh config template module

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #904 from cloudnull/config_template-update
Leseb [Tue, 26 Jul 2016 08:26:52 +0000 (10:26 +0200)]
Merge pull request #904 from cloudnull/config_template-update

Added option to support case-insensitive keys

9 years agosgdisk: remove duplicated option `-g` 905/head
Chengwei Yang [Tue, 26 Jul 2016 00:55:43 +0000 (08:55 +0800)]
sgdisk: remove duplicated option `-g`

Option `-g` of sgdisk is duplicated with `--mbrtogpt`, so lets remove it.

This fix #896

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
9 years agoAdded option to support case-insensitive keys 904/head
Kevin Carter [Mon, 25 Jul 2016 21:37:23 +0000 (16:37 -0500)]
Added option to support case-insensitive keys

This change allows keys in INI format to be any case.
The default ConfigParse module sets this to be lower
however in some cases keys are needed to be upper and/or
mixed.

Change-Id: I4e0dedb1b73ee596929bd425af6b0aaefd3a6c27
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit https://github.com/openstack/openstack-ansible-plugins/commit/f946160dd0f370efb792bf084c7c20b18cf27c98)

9 years agopurge-cluster: remove -q flag from grep to prevent broken pipes 900/head
Alfredo Deza [Mon, 25 Jul 2016 14:17:14 +0000 (10:17 -0400)]
purge-cluster: remove -q flag from grep to prevent broken pipes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339576

9 years agoMerge pull request #892 from font/purge
Leseb [Fri, 22 Jul 2016 09:00:53 +0000 (11:00 +0200)]
Merge pull request #892 from font/purge

Add ability to purge containerized Ceph cluster

9 years agoUpdates to containerized purge cluster playbook 892/head
Ivan Font [Fri, 22 Jul 2016 05:29:58 +0000 (22:29 -0700)]
Updates to containerized purge cluster playbook

- Update plays to use *_group_name variables that can be overridden by
  user on the command line to use whatever group names desired
- Only gather_facts when necessary to greatly increase speed of playbook
- Prompt user for removing packages on non-atomic hosts only if desired
- Removed unnecessary package-removal
- Zap OSD devices twice to avoid lingering partitions

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoAdd ability to purge containerized Ceph cluster
Ivan Font [Thu, 14 Jul 2016 19:45:56 +0000 (12:45 -0700)]
Add ability to purge containerized Ceph cluster

This removes containers, container images, packages, configuration files
and all the data. Removal of container image tasks are tagged with
'remove_img' to skip removal if desired.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agoMerge pull request #894 from ceph/enhanced-aio
Leseb [Wed, 20 Jul 2016 15:55:35 +0000 (17:55 +0200)]
Merge pull request #894 from ceph/enhanced-aio

aio: more flexible script

9 years agoaio: more flexible script 894/head
Sébastien Han [Wed, 20 Jul 2016 14:47:53 +0000 (16:47 +0200)]
aio: more flexible script

we can now chose the install source

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoceph-osd: add dmcrypt scenario
Sébastien Han [Tue, 19 Jul 2016 15:53:21 +0000 (17:53 +0200)]
ceph-osd: add dmcrypt scenario

add the ability to encrypt osd data store using dm-crypt

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #890 from ceph/arm7
Leseb [Tue, 19 Jul 2016 15:54:31 +0000 (17:54 +0200)]
Merge pull request #890 from ceph/arm7

common: prepare arm support

9 years agocommon: prepare arm support 890/head
Sébastien Han [Tue, 19 Jul 2016 15:17:16 +0000 (17:17 +0200)]
common: prepare arm support

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoMerge pull request #888 from CSC-IT-Center-for-Science/support-check
Leseb [Tue, 19 Jul 2016 13:10:21 +0000 (15:10 +0200)]
Merge pull request #888 from CSC-IT-Center-for-Science/support-check

Added support for --check flag in ceph-common

9 years agoAdded support for --check flag in ceph-common 888/head
Kalle Happonen [Tue, 19 Jul 2016 12:52:45 +0000 (15:52 +0300)]
Added support for --check flag in ceph-common

The ceph-common role fails when you run ansible with --check. Adding
always_run to a few tasks makes the check go through easier (although
it's not foolproof).

9 years agoMerge pull request #879 from ceph/rbd-mirror-docker
Leseb [Tue, 19 Jul 2016 10:07:56 +0000 (12:07 +0200)]
Merge pull request #879 from ceph/rbd-mirror-docker

rbd-mirror: container deployment support