Commit Graph

5708 Commits (3eba2a1584284363cae81118ed6dbe7649b03c19)
 

Author SHA1 Message Date
Leseb ccb6fc17f7 Merge pull request #138 from leseb/increase-pid-max
Increase kernel.pid_max to a higher value
2014-11-10 14:15:42 +01:00
Sébastien Han 5e52d89e94 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>
2014-11-10 14:13:31 +01:00
Matthew Rees 32bf2313d0 Merge pull request #1 from ceph/master
Rebase from upstream
2014-11-10 15:01:05 +02:00
Leseb b02411b4ab Merge pull request #137 from matthewrees/vagrantfile
Further linting and deployment automation
2014-11-10 13:47:34 +01:00
Matthew Rees 11f8f71aa1 Further linting and deployment automation 2014-11-10 14:33:21 +02:00
Leseb f58d89b7ee Merge pull request #135 from cornelius-keller/master
make vagrant up work on fresh cloned repository
2014-11-10 10:51:33 +01:00
Cornelius Keller 530314e9a9 cleanup outcommented code 2014-11-07 15:39:29 +01:00
Cornelius Keller 497d987fa9 making vagrant up work 2014-11-07 15:32:49 +01:00
Sébastien Han ef5054394c Merge branch 'jjoos-master' 2014-11-06 15:20:33 +01:00
Sébastien Han 74ede6e166 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
2014-11-06 15:18:56 +01:00
Leseb 1397a674ac Merge pull request #132 from leseb/rgw-vagrant
Make RGW configurable in Vagrant
2014-11-06 12:18:31 +01:00
Sébastien Han 8fe3b97284 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>
2014-11-06 12:15:25 +01:00
Leseb 55f964d75b Merge pull request #131 from matthewrees/master
Ruby linting for Vagrantfile
2014-11-05 17:36:30 +01:00
Matthew Rees 56ad45859f 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.
2014-11-05 17:40:36 +02:00
Leseb bca4a78a1d Merge pull request #129 from ObjectifLibre/restart-osd-only
ceph-osd: restart OSDs only
2014-10-14 14:21:51 +02:00
Gauvain Pocentek 20ce0a8336 ceph-osd: restart OSDs only
Avoid restarting other services when configuring the OSDs.
2014-10-14 12:22:11 +02:00
Leseb 7c7e859429 Merge pull request #128 from leseb/remove-ansible-managed-from-ceph-conf-fix
Remove ansible managed header from ceph.conf
2014-10-10 15:42:15 +02:00
Sébastien Han 3a083ce1b2 Remove ansible managed header from ceph.conf
Fixes: #125

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-10-10 15:41:31 +02:00
Leseb c57f875a75 Merge pull request #110 from leseb/fix-updatedb
Fix updatedb disable
2014-10-10 15:36:20 +02:00
Leseb e0b9aac9b2 Merge pull request #127 from leseb/remove-ansible-managed-from-ceph-conf
Remove ansible managed header from ceph.conf
2014-10-10 15:35:09 +02:00
Sébastien Han f34e60813b 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>
2014-10-10 15:34:11 +02:00
Leseb 386ca23be5 Merge pull request #126 from ObjectifLibre/iface-access
Fix the mon.* generation in ceph.conf
2014-10-10 15:30:42 +02:00
Gauvain Pocentek 3386578954 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.
2014-10-10 15:27:15 +02:00
Leseb c677d40615 Merge pull request #124 from laboshinl/patch-1
Update bootstrap-ansible.sh
2014-09-30 14:14:32 +02:00
Leonid Laboshin 5b0501b8e0 Update bootstrap-ansible.sh
fix syntax error
2014-09-30 16:12:48 +04:00
Leseb 7a008a7722 Merge pull request #123 from ceph/recovery-options
Add more recovery options
2014-09-28 23:01:34 +02:00
Sébastien Han 07216bf883 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>
2014-09-28 17:31:50 +02:00
jjoos 5e8141f8cf Sweep of all sorts of things. 2014-09-04 21:14:11 +02:00
Leseb f214051e6a Merge pull request #118 from leseb/fix-redhat-support
Improve RedHat support
2014-09-04 12:19:52 +02:00
Sébastien Han 6413b9c251 Improve RedHat support
Fix the rpm key and the repos integration.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-09-04 12:18:17 +02:00
Leseb 36dd022530 Merge pull request #117 from leseb/bootstrap-ansible
Add a script to bootstrap Ansible
2014-09-03 15:42:16 +02:00
Sébastien Han 92409cd6ee 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>
2014-09-03 15:41:02 +02:00
Leseb 3f918dd073 Merge pull request #116 from leseb/use-weird-subnet-range
Use a very unlikely subnet address for Vagrant
2014-09-03 00:15:03 +02:00
Sébastien Han 83be67cd54 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>
2014-09-03 00:13:07 +02:00
Leseb 91c6e06ac5 Merge pull request #115 from leseb/fix-osd-weight
Fix OSD weight and device size
2014-09-03 00:11:41 +02:00
Sébastien Han 6f17371632 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>
2014-09-03 00:08:06 +02:00
Leseb c9618b1470 Merge pull request #114 from leseb/fix-osd-option
Fix OSD update during startup
2014-09-03 00:06:12 +02:00
Sébastien Han d0403b820e 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>
2014-09-03 00:04:23 +02:00
Leseb dd6f05c989 Merge pull request #113 from leseb/ceph-dev-version-support
Add developement packages support
2014-09-02 02:39:36 +02:00
Sébastien Han 4196de25d4 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>
2014-09-02 02:37:18 +02:00
Leseb 262a6b999b Merge pull request #112 from leseb/fix-options
Fix some missing option declaration
2014-08-30 02:59:23 +02:00
Sébastien Han 7e591a4cce Fix some missing option declaration
Missing decleration and cosmetic.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-08-30 02:58:27 +02:00
Leseb dba501311a Merge pull request #111 from leseb/fix-handler-ceph-restart
Fix restart on config change handler
2014-08-30 02:35:38 +02:00
Sébastien Han b81392d1c9 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>
2014-08-30 02:34:11 +02:00
Sébastien Han ec6d4ddaba 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>
2014-08-30 02:29:07 +02:00
Leseb 315bff5a39 Merge pull request #109 from leseb/ceph-conf-debug-log
Add more common options
2014-08-30 02:27:37 +02:00
Sébastien Han e2e774d516 Add more common options
Extend settings support.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-08-30 02:26:40 +02:00
Leseb d611e95c7f Merge pull request #108 from leseb/change-updatedb
Disable updatedb OSD directory parsing
2014-08-21 14:21:55 +02:00
Sébastien Han b3889c4442 Disable updatedb OSD directory parsing
It has been reported a couple of months ago by Dan van der Ster from
CERN that updatedb was consumming 100% of CPU while parsing system's
directories. Indeed the process was parsing the OSD PG directories that
might contains billions of objects.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-08-21 14:21:05 +02:00
Leseb e2599556b9 Merge pull request #106 from leseb/restart-daemons-on-config-change
Restart Ceph service after a configuration change
2014-08-20 14:50:26 +02:00