]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Sébastien Han [Mon, 5 Jan 2015 10:53:21 +0000 (11:53 +0100)]
Add a dummy ansible host file for syntax checking
The Ansible YAML syntax checker needs an inventory file.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Thu, 18 Dec 2014 11:30:30 +0000 (12:30 +0100)]
Merge pull request #160 from leseb/ice-rhel7-krbd-mod
Add ICE Kernel module support for Red Hat systems
Sébastien Han [Thu, 18 Dec 2014 11:20:17 +0000 (12:20 +0100)]
Add ICE Kernel module support for Red Hat systems
Install Kernel modules from ICE for Ceph RBD.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Thu, 18 Dec 2014 10:49:59 +0000 (11:49 +0100)]
Merge pull request #158 from leseb/zap-disk-before-osd-creation
Zap disk before running ceph-disk prepare
Sébastien Han [Wed, 17 Dec 2014 13:48:03 +0000 (14:48 +0100)]
Zap disk before running ceph-disk prepare
We remove all the partitions, label and re-create something clean prior
to prepare the design. This will help solving many issues with existing
disks or while scratching/deploy test environments often.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Thu, 18 Dec 2014 10:14:43 +0000 (11:14 +0100)]
Merge pull request #159 from leseb/ice-support-more-os
Add multi-OS support for ICE
Sébastien Han [Wed, 17 Dec 2014 17:01:44 +0000 (18:01 +0100)]
Add multi-OS support for ICE
ICE supports Ubuntu, CentOS and RHEL.
Adding those.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 16 Dec 2014 14:08:06 +0000 (15:08 +0100)]
Merge pull request #157 from leseb/fix-osd-autodiscovery
Fix OSD device auto-discovery
Sébastien Han [Tue, 16 Dec 2014 14:07:28 +0000 (15:07 +0100)]
Fix OSD device auto-discovery
Missing variable, conditionnal didn't work.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 16 Dec 2014 13:53:53 +0000 (14:53 +0100)]
Merge pull request #156 from leseb/disable-default-mds-rgw
Disable MDS and RGW from default
Sébastien Han [Tue, 16 Dec 2014 13:52:49 +0000 (14:52 +0100)]
Disable MDS and RGW from default
MDS and RGW are not deployed often (RGW more), so we disable them from
the default deployment to only get MONs and OSDs.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 16 Dec 2014 13:49:08 +0000 (14:49 +0100)]
Merge pull request #155 from leseb/ice-support
Add support for Intank Ceph Enterprise
Sébastien Han [Tue, 16 Dec 2014 12:46:32 +0000 (13:46 +0100)]
Add support for Intank Ceph Enterprise
With the appropriate subscription details you will be able to use the
Inktank Ceph Enterprise version of Ceph running on RHEL7.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Thu, 11 Dec 2014 15:15:57 +0000 (16:15 +0100)]
Merge pull request #148 from shinespb/master
added auto-discovery of OSD disks
Leseb [Thu, 4 Dec 2014 11:05:21 +0000 (12:05 +0100)]
Merge pull request #154 from leseb/fix-bootstrap-precise
Add support for Precise when installing ansible
Sébastien Han [Thu, 4 Dec 2014 11:04:20 +0000 (12:04 +0100)]
Add support for Precise when installing ansible
Add support for precise and ppa.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Wed, 26 Nov 2014 19:12:17 +0000 (20:12 +0100)]
Merge pull request #151 from matthewrees/100-continue
Support for 100-continue toggling for RGW
Leseb [Wed, 19 Nov 2014 20:29:45 +0000 (12:29 -0800)]
Merge pull request #153 from leseb/add-client
Introduce client configuration
Sébastien Han [Wed, 19 Nov 2014 20:27:56 +0000 (12:27 -0800)]
Introduce client configuration
Introduce a client VM for KRBD and RGW.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Mon, 17 Nov 2014 10:11:48 +0000 (12:11 +0200)]
Replaced shell based sed with apt_repo module call
Matthew Rees [Fri, 14 Nov 2014 14:48:21 +0000 (16:48 +0200)]
Change to shell from command
Leseb [Fri, 14 Nov 2014 14:21:59 +0000 (15:21 +0100)]
Merge pull request #152 from leseb/fix-uuid-autogen
Fix auto uuid generation
Sébastien Han [Fri, 14 Nov 2014 14:07:58 +0000 (15:07 +0100)]
Fix auto uuid generation
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Fri, 14 Nov 2014 14:05:56 +0000 (16:05 +0200)]
Support for 100-continue toggling for RGW
Tested for Precise and Trusty.
Leseb [Fri, 14 Nov 2014 14:03:58 +0000 (15:03 +0100)]
Merge pull request #150 from ceph/revert-149-autogen-mon-secret
Revert "Fix autogen UUID and add auto gen monitor key"
Leseb [Fri, 14 Nov 2014 14:03:50 +0000 (15:03 +0100)]
Revert "Fix autogen UUID and add auto gen monitor key"
Leseb [Thu, 13 Nov 2014 14:41:46 +0000 (15:41 +0100)]
Merge pull request #149 from leseb/autogen-mon-secret
Fix autogen UUID and add auto gen monitor key
Sébastien Han [Thu, 13 Nov 2014 14:38:10 +0000 (15:38 +0100)]
Fix autogen UUID and add auto gen monitor key
This fixes the UUID auto generation and introduces the monitor key auto
generation.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Igor Shestakov [Thu, 13 Nov 2014 14:19:18 +0000 (17:19 +0300)]
added auto-discovery of OSD disks
Leseb [Thu, 13 Nov 2014 13:13:37 +0000 (14:13 +0100)]
Merge pull request #147 from leseb/autogen-fsid
Auto generate an FSID
Sébastien Han [Thu, 13 Nov 2014 13:08:27 +0000 (14:08 +0100)]
Auto generate an FSID
It has becomes really anoying to manually generate an fsid prior to the
inital bootstrap. This commit introduces a method that auto-generates an
fsid. If for whatever reasons you want to force your own fsid you can
simply edit these 3 files and override the fsid variable:
- roles/ceph-common/vars/main.yml
- roles/ceph-mon/vars/main.yml
- roles/ceph-osd/vars/main.yml
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Thu, 13 Nov 2014 13:05:05 +0000 (15:05 +0200)]
Merge pull request #7 from matthewrees/master
Rebase on master
Matthew Rees [Thu, 13 Nov 2014 12:59:23 +0000 (14:59 +0200)]
Merge pull request #6 from ceph/master
Rebase from upstream
Leseb [Thu, 13 Nov 2014 12:51:33 +0000 (13:51 +0100)]
Merge pull request #142 from matthewrees/trusty-radosgw
Fixing errors in rgw playbook for Trusty
Leseb [Thu, 13 Nov 2014 12:48:02 +0000 (13:48 +0100)]
Merge pull request #145 from matthewrees/separate-ceph-keys
Standardising key addition
Matthew Rees [Thu, 13 Nov 2014 12:11:51 +0000 (14:11 +0200)]
Revert URL-based key addition for Debian
Leseb [Thu, 13 Nov 2014 10:00:43 +0000 (11:00 +0100)]
Merge pull request #146 from leseb/fix-cephx
Fix wrong variable for cephx signature
Sébastien Han [Thu, 13 Nov 2014 09:59:42 +0000 (10:59 +0100)]
Fix wrong variable for cephx signature
Add a comment for KRBD, enabling cephx signatures will prevent you to
map RBD devices.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Tue, 11 Nov 2014 15:10:32 +0000 (17:10 +0200)]
Standardising key addition
Debian based repo’s now fetch keys in a similar manner to Redhat based
ones, and both stable and dev keys have entries in vars.
Matthew Rees [Tue, 11 Nov 2014 14:36:43 +0000 (16:36 +0200)]
Merge pull request #3 from ceph/master
Rebase from upstream
Leseb [Tue, 11 Nov 2014 11:02:36 +0000 (12:02 +0100)]
Merge pull request #144 from leseb/ceph-client
Add more detail for the client socket
Sébastien Han [Tue, 11 Nov 2014 11:01:31 +0000 (12:01 +0100)]
Add more detail for the client socket
Adding: cluster name, type, id and cctid.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 11 Nov 2014 09:55:41 +0000 (10:55 +0100)]
Merge pull request #141 from matthewrees/monitor-interface
monitor_interface template change
Leseb [Tue, 11 Nov 2014 09:50:45 +0000 (10:50 +0100)]
Merge pull request #143 from leseb/fix-rh-install
Fix wrong vars during RH install
Sébastien Han [Tue, 11 Nov 2014 09:50:03 +0000 (10:50 +0100)]
Fix wrong vars during RH install
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Tue, 11 Nov 2014 09:07:41 +0000 (11:07 +0200)]
Fixing errors in rgw playbook for Trusty
- We don’t need ceph-extra for trusty
- Enable multiverse repo for access to libapache2-mod-fastcgi
- Update cache before attempting to install packages to register
multiverse repo and only refresh cache once an hour to avoid delays in
the playbook
- Add wildcard to disabling default site as on Ubuntu it is 000_default
by…default
Matthew Rees [Mon, 10 Nov 2014 14:44:35 +0000 (16:44 +0200)]
Merge pull request #2 from ceph/master
Rebase from upstream
Matthew Rees [Mon, 10 Nov 2014 14:28:13 +0000 (16:28 +0200)]
monitor_interface template change
This will fix the monitor_interface issue for Vagrant provisioning
while being preferred to using group_var entries for physical
deployments.
Leseb [Mon, 10 Nov 2014 13:52:11 +0000 (14:52 +0100)]
Merge pull request #140 from leseb/rbd-cache
Add a client section in the ceph configuration file
Sébastien Han [Mon, 10 Nov 2014 13:50:19 +0000 (14:50 +0100)]
Add a client section in the ceph configuration file
In this section we enabled the rbd cache and a socket per client.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Mon, 10 Nov 2014 13:35:34 +0000 (14:35 +0100)]
Merge pull request #139 from leseb/use-giant
Use Giant version
Sébastien Han [Mon, 10 Nov 2014 13:34:45 +0000 (14:34 +0100)]
Use Giant version
Use the last stable version: Giant
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Mon, 10 Nov 2014 13:15:42 +0000 (14:15 +0100)]
Merge pull request #138 from leseb/increase-pid-max
Increase kernel.pid_max to a higher value
Sébastien Han [Mon, 10 Nov 2014 13:13:31 +0000 (14:13 +0100)]
Increase kernel.pid_max to a higher value
While running big boxes with 72 disks it's easy to get out of PID for
all the threads needed by Ceph. Increasing the default value removes
this limitation.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Matthew Rees [Mon, 10 Nov 2014 13:01:05 +0000 (15:01 +0200)]
Merge pull request #1 from ceph/master
Rebase from upstream
Leseb [Mon, 10 Nov 2014 12:47:34 +0000 (13:47 +0100)]
Merge pull request #137 from matthewrees/vagrantfile
Further linting and deployment automation
Matthew Rees [Mon, 10 Nov 2014 12:33:21 +0000 (14:33 +0200)]
Further linting and deployment automation
Leseb [Mon, 10 Nov 2014 09:51:33 +0000 (10:51 +0100)]
Merge pull request #135 from cornelius-keller/master
make vagrant up work on fresh cloned repository
Cornelius Keller [Fri, 7 Nov 2014 14:39:29 +0000 (15:39 +0100)]
cleanup outcommented code
Cornelius Keller [Fri, 7 Nov 2014 14:32:49 +0000 (15:32 +0100)]
making vagrant up work
Sébastien Han [Thu, 6 Nov 2014 14:20:33 +0000 (15:20 +0100)]
Merge branch 'jjoos-master'
Sébastien Han [Wed, 5 Nov 2014 16:57:28 +0000 (17:57 +0100)]
Merge branch 'master' of https://github.com/jjoos/ceph-ansible into jjoos-master
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Conflicts:
roles/ceph-common/defaults/main.yml
roles/ceph-common/tasks/Debian.yml
roles/ceph-osd/tasks/journal_collocation.yml
roles/ceph-osd/tasks/osd_directory.yml
roles/ceph-osd/tasks/raw_journal.yml
roles/ceph-osd/tasks/raw_multi_journal.yml
Leseb [Thu, 6 Nov 2014 11:18:31 +0000 (12:18 +0100)]
Merge pull request #132 from leseb/rgw-vagrant
Make RGW configurable in Vagrant
Sébastien Han [Thu, 6 Nov 2014 11:15:25 +0000 (12:15 +0100)]
Make RGW configurable in Vagrant
Depending on what we want to test, it might be handy to simply disable
the creation of a specific virtual machine. Now if NRGWS is set to 0
this will disable it.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Wed, 5 Nov 2014 16:36:30 +0000 (17:36 +0100)]
Merge pull request #131 from matthewrees/master
Ruby linting for Vagrantfile
Matthew Rees [Wed, 5 Nov 2014 15:40:36 +0000 (17:40 +0200)]
Ruby linting for Vagrantfile
Mostly cosmetic changes with a few changes to preferred conditional
formatting.
The only linting issues outstanding are lines that are too long and
using snake_case for the filename.
Leseb [Tue, 14 Oct 2014 12:21:51 +0000 (14:21 +0200)]
Merge pull request #129 from ObjectifLibre/restart-osd-only
ceph-osd: restart OSDs only
Gauvain Pocentek [Tue, 14 Oct 2014 10:22:11 +0000 (12:22 +0200)]
ceph-osd: restart OSDs only
Avoid restarting other services when configuring the OSDs.
Leseb [Fri, 10 Oct 2014 13:42:15 +0000 (15:42 +0200)]
Merge pull request #128 from leseb/remove-ansible-managed-from-ceph-conf-fix
Remove ansible managed header from ceph.conf
Sébastien Han [Fri, 10 Oct 2014 13:41:31 +0000 (15:41 +0200)]
Remove ansible managed header from ceph.conf
Fixes: #125
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Fri, 10 Oct 2014 13:36:20 +0000 (15:36 +0200)]
Merge pull request #110 from leseb/fix-updatedb
Fix updatedb disable
Leseb [Fri, 10 Oct 2014 13:35:09 +0000 (15:35 +0200)]
Merge pull request #127 from leseb/remove-ansible-managed-from-ceph-conf
Remove ansible managed header from ceph.conf
Sébastien Han [Fri, 10 Oct 2014 13:34:11 +0000 (15:34 +0200)]
Remove ansible managed header from ceph.conf
In ceph-common you load {{ ansible_managed }} at the top of the main
config file - this will trigger handlers on that file whenever an
Ansible run is made.
I'd suggest replacing it with a vanilla text comment 'managed by
Ansible' to warn
admins but avoid unnecessary cluster bounces.
fixes: #125
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Fri, 10 Oct 2014 13:30:42 +0000 (15:30 +0200)]
Merge pull request #126 from ObjectifLibre/iface-access
Fix the mon.* generation in ceph.conf
Gauvain Pocentek [Fri, 10 Oct 2014 13:20:21 +0000 (15:20 +0200)]
Fix the mon.* generation in ceph.conf
The ceph.conf.j2 template currently always uses the current host facts
to get the IP address of each host in the mon loop. This is not the
expected behavior. This patch uses the correct facts to get the IP.
Leseb [Tue, 30 Sep 2014 12:14:32 +0000 (14:14 +0200)]
Merge pull request #124 from laboshinl/patch-1
Update bootstrap-ansible.sh
Leonid Laboshin [Tue, 30 Sep 2014 12:12:48 +0000 (16:12 +0400)]
Update bootstrap-ansible.sh
fix syntax error
Leseb [Sun, 28 Sep 2014 21:01:34 +0000 (23:01 +0200)]
Merge pull request #123 from ceph/recovery-options
Add more recovery options
Sébastien Han [Sun, 28 Sep 2014 15:31:50 +0000 (17:31 +0200)]
Add more recovery options
Recovery and/or re-balancing decrease performance, adding more options
might help tweaking this behavior.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
jjoos [Thu, 4 Sep 2014 19:14:11 +0000 (21:14 +0200)]
Sweep of all sorts of things.
Leseb [Thu, 4 Sep 2014 10:19:52 +0000 (12:19 +0200)]
Merge pull request #118 from leseb/fix-redhat-support
Improve RedHat support
Sébastien Han [Thu, 4 Sep 2014 10:18:17 +0000 (12:18 +0200)]
Improve RedHat support
Fix the rpm key and the repos integration.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Wed, 3 Sep 2014 13:42:16 +0000 (15:42 +0200)]
Merge pull request #117 from leseb/bootstrap-ansible
Add a script to bootstrap Ansible
Sébastien Han [Wed, 3 Sep 2014 13:41:02 +0000 (15:41 +0200)]
Add a script to bootstrap Ansible
For deployments that are not on Vagrant, we need to install Ansible on
the host.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 2 Sep 2014 22:15:03 +0000 (00:15 +0200)]
Merge pull request #116 from leseb/use-weird-subnet-range
Use a very unlikely subnet address for Vagrant
Sébastien Han [Tue, 2 Sep 2014 22:13:07 +0000 (00:13 +0200)]
Use a very unlikely subnet address for Vagrant
Since 192.168.0.0/24 is very commong and might overlap with some
existing networks on your laptop, using another subnet like '42' is less
bound to happen.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 2 Sep 2014 22:11:41 +0000 (00:11 +0200)]
Merge pull request #115 from leseb/fix-osd-weight
Fix OSD weight and device size
Sébastien Han [Tue, 2 Sep 2014 22:08:06 +0000 (00:08 +0200)]
Fix OSD weight and device size
Because of the following bug: http://tracker.ceph.com/issues/8551
If we use a disk file size of 1GB the OSD weight calculation ends up
being 0. Thus no data will be stored on any OSD.
Increasing the disk file size up to 11GB (we save some filesystem
overhead since the calculation is based on df thus 11GB is safer than
10GB). Because we significantly increased the size of the disk files we
now only create 2 devices per OSD host.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 2 Sep 2014 22:06:12 +0000 (00:06 +0200)]
Merge pull request #114 from leseb/fix-osd-option
Fix OSD update during startup
Sébastien Han [Tue, 2 Sep 2014 22:04:23 +0000 (00:04 +0200)]
Fix OSD update during startup
Proviously we used osd_crush_update_on_start: true, this was interpreted
by Ansible as a boolean and appeared as 'True' inside the Ceph configuration
file. However the Ceph's init script is looking for 'true'.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Tue, 2 Sep 2014 00:39:36 +0000 (02:39 +0200)]
Merge pull request #113 from leseb/ceph-dev-version-support
Add developement packages support
Sébastien Han [Tue, 2 Sep 2014 00:37:18 +0000 (02:37 +0200)]
Add developement packages support
This commits introduces the support of the developpement branches of
Ceph. You can now install Ceph from master.
The behavior is done through 2 new options:
* ceph_stable: true will use the stable branch
* ceph_dev: true will use the dev branch
For the dev packages don't forget to set the branch that you want to
use.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Sat, 30 Aug 2014 00:59:23 +0000 (02:59 +0200)]
Merge pull request #112 from leseb/fix-options
Fix some missing option declaration
Sébastien Han [Sat, 30 Aug 2014 00:58:27 +0000 (02:58 +0200)]
Fix some missing option declaration
Missing decleration and cosmetic.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Sat, 30 Aug 2014 00:35:38 +0000 (02:35 +0200)]
Merge pull request #111 from leseb/fix-handler-ceph-restart
Fix restart on config change handler
Sébastien Han [Sat, 30 Aug 2014 00:34:11 +0000 (02:34 +0200)]
Fix restart on config change handler
Prior to this patch, the first match was winning and the playbook wasn't
doing any difference both "restart ceph", adding a distro filtrer fixes
this.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Sébastien Han [Sat, 30 Aug 2014 00:29:07 +0000 (02:29 +0200)]
Fix updatedb disable
In some system the command doens't exist and fail to run the playbook.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Sat, 30 Aug 2014 00:27:37 +0000 (02:27 +0200)]
Merge pull request #109 from leseb/ceph-conf-debug-log
Add more common options
Sébastien Han [Sat, 30 Aug 2014 00:26:40 +0000 (02:26 +0200)]
Add more common options
Extend settings support.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Leseb [Thu, 21 Aug 2014 12:21:55 +0000 (14:21 +0200)]
Merge pull request #108 from leseb/change-updatedb
Disable updatedb OSD directory parsing