Commit Graph

1134 Commits (9174ea2c6a532242f5cbfc176ce48660dbe4c3f5)
 

Author SHA1 Message Date
Leseb d8c5232f74 Merge pull request #149 from leseb/autogen-mon-secret
Fix autogen UUID and add auto gen monitor key
2014-11-13 15:41:46 +01:00
Sébastien Han a7bba85027 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>
2014-11-13 15:38:10 +01:00
Igor Shestakov ce569b8c6e added auto-discovery of OSD disks 2014-11-13 17:19:18 +03:00
Leseb 4d138c4ebb Merge pull request #147 from leseb/autogen-fsid
Auto generate an FSID
2014-11-13 14:13:37 +01:00
Sébastien Han a107063543 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>
2014-11-13 14:08:27 +01:00
Matthew Rees 428f27e2b4 Merge pull request #7 from matthewrees/master
Rebase on master
2014-11-13 15:05:05 +02:00
Matthew Rees 8406d44432 Merge pull request #6 from ceph/master
Rebase from upstream
2014-11-13 14:59:23 +02:00
Leseb b3576608a4 Merge pull request #142 from matthewrees/trusty-radosgw
Fixing errors in rgw playbook for Trusty
2014-11-13 13:51:33 +01:00
Leseb cc4395ae17 Merge pull request #145 from matthewrees/separate-ceph-keys
Standardising key addition
2014-11-13 13:48:02 +01:00
Matthew Rees e2d6e66440 Revert URL-based key addition for Debian 2014-11-13 14:11:51 +02:00
Leseb 044e9d88f2 Merge pull request #146 from leseb/fix-cephx
Fix wrong variable for cephx signature
2014-11-13 11:00:43 +01:00
Sébastien Han ef7891fe84 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>
2014-11-13 10:59:42 +01:00
Matthew Rees b6fcd37bc0 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.
2014-11-11 17:10:32 +02:00
Matthew Rees cbe3af6727 Merge pull request #3 from ceph/master
Rebase from upstream
2014-11-11 16:36:43 +02:00
Leseb cbb878beba Merge pull request #144 from leseb/ceph-client
Add more detail for the client socket
2014-11-11 12:02:36 +01:00
Sébastien Han 1d8871e615 Add more detail for the client socket
Adding: cluster name, type, id and cctid.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-11 12:01:31 +01:00
Leseb c8f2f6610e Merge pull request #141 from matthewrees/monitor-interface
monitor_interface template change
2014-11-11 10:55:41 +01:00
Leseb 76f05a0098 Merge pull request #143 from leseb/fix-rh-install
Fix wrong vars during RH install
2014-11-11 10:50:45 +01:00
Sébastien Han a0b659e66b Fix wrong vars during RH install
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-11 10:50:03 +01:00
Matthew Rees c54ab6a701 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
2014-11-11 11:07:41 +02:00
Matthew Rees 85cd3d9fe4 Merge pull request #2 from ceph/master
Rebase from upstream
2014-11-10 16:44:35 +02:00
Matthew Rees ec16fe31f3 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.
2014-11-10 16:28:13 +02:00
Leseb 547f16b7aa Merge pull request #140 from leseb/rbd-cache
Add a client section in the ceph configuration file
2014-11-10 14:52:11 +01:00
Sébastien Han 29ea4e6f47 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>
2014-11-10 14:50:19 +01:00
Leseb e28b79119a Merge pull request #139 from leseb/use-giant
Use Giant version
2014-11-10 14:35:34 +01:00
Sébastien Han 51070cc4fb Use Giant version
Use the last stable version: Giant

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-10 14:34:45 +01:00
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