Commit Graph

428 Commits (154f3d9c05751456d945b613200e4b8ca585c5f9)
 

Author SHA1 Message Date
Leseb 695d6bf133 Merge pull request #174 from leseb/update-group-vars
Update group_vars files to match roles defaults vars
2015-01-06 22:50:12 +01:00
Sébastien Han 12dc4fbb09 Update group_vars files to match roles defaults vars
Updating each group_vars file to reflect the content of each role
default variables.

Closes: #169

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 22:47:49 +01:00
Leseb e72c8c5ac0 Merge pull request #173 from leseb/fix-vagrant-1.8-deployment
Fix vagrant deployment for vagrant version > 1.7
2015-01-06 16:25:10 +01:00
Sébastien Han 84271325d7 Fix vagrant deployment for vagrant version > 1.7
See: https://github.com/mitchellh/vagrant/issues/5048.

Closes: #172

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 16:23:43 +01:00
Leseb 1ac45b966b Merge pull request #171 from leseb/file-max
Bump up maximum number of open files
2015-01-06 15:30:33 +01:00
Sébastien Han 5c66801dc7 Bump up maximum number of open files
Large cluster will easily reach the default value so we increase it.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 15:26:44 +01:00
Leseb 001a82f023 Merge pull request #170 from leseb/max-open-files
Bump up max open file for big cluster
2015-01-06 14:35:51 +01:00
Sébastien Han 79f6415e9d Bump up max open file for big cluster
Big cluster will easily reach the default limit so we need to increase
it and make it configurable.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 14:23:23 +01:00
Sébastien Han 75c4739679 Revert "Remove the fsid vars from mon and osd roles"
This reverts commit 216c8e24c8.
2015-01-06 00:42:54 +01:00
Leseb 10e01c6161 Merge pull request #167 from leseb/fix-vagrant-fsid
Fix the vagrant deployment
2015-01-06 00:24:29 +01:00
Sébastien Han 474eee8fad Fix the vagrant deployment
Add a fetch/ceph_cluster_uuid.conf file so we keep the same UUID from
the Vagrantfile and from the ceph-common run.
Prior to that change the Vagrantfile was setting
4a158d27-f750-41d5-9e7f-26ce4c9d2d45 but while playing the ceph-common
role we check if fetch/ceph_cluster_uuid.conf exists, if not we generate
an UUID. Here we ended up with 2 UUIDs...

IMPORTANT NOTE FOR NON-VAGRANT DEPLOYMENT. IF YOU WANT TO USE YOUR OWN
UUID PLEASE REMOVE THAT FILE BEFORE RUNNING THE PLAYBOOK.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 00:21:16 +01:00
Leseb cfe4178bff Merge pull request #166 from leseb/remove-unsed-vars
Remove the fsid vars from mon and osd roles
2015-01-06 00:19:10 +01:00
Sébastien Han 216c8e24c8 Remove the fsid vars from mon and osd roles
We do not need them since they get registered by the ceph-common role.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 00:18:04 +01:00
Leseb 7862c1fbe1 Merge pull request #165 from leseb/move-vars
Move role variables to defaults
2015-01-06 00:14:36 +01:00
Sébastien Han 08330b1fab Move role variables to defaults
Following best practices from
http://docs.ansible.com/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable

Closes: #161

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 00:13:10 +01:00
Leseb 4f2787e7fa Merge pull request #164 from leseb/ansible-yaml-parser
Add a dummy ansible host file for syntax checking
2015-01-05 11:54:37 +01:00
Sébastien Han 2a5a55a0d9 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>
2015-01-05 11:53:21 +01:00
Leseb aa8e02f9b2 Merge pull request #163 from bmanojlovic/master
add quotes so ansible yaml parser do not barf on it...
2015-01-05 11:32:56 +01:00
Boris Manojlovic 33b8603d6e add quotes so ansible yaml parser do not barf on it... 2014-12-24 17:07:50 +01:00
Leseb 2acef27064 Merge pull request #160 from leseb/ice-rhel7-krbd-mod
Add ICE Kernel module support for Red Hat systems
2014-12-18 12:30:30 +01:00
Sébastien Han a796a962ef 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>
2014-12-18 12:25:17 +01:00
Leseb 69b6231d29 Merge pull request #158 from leseb/zap-disk-before-osd-creation
Zap disk before running ceph-disk prepare
2014-12-18 11:49:59 +01:00
Sébastien Han 839cd99520 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>
2014-12-18 11:49:32 +01:00
Leseb 8ec5b773db Merge pull request #159 from leseb/ice-support-more-os
Add multi-OS support for ICE
2014-12-18 11:14:43 +01:00
Sébastien Han 24e2ad8e50 Add multi-OS support for ICE
ICE supports Ubuntu, CentOS and RHEL.
Adding those.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-12-18 11:10:14 +01:00
Leseb 4d27732364 Merge pull request #157 from leseb/fix-osd-autodiscovery
Fix OSD device auto-discovery
2014-12-16 15:08:06 +01:00
Sébastien Han 3850320894 Fix OSD device auto-discovery
Missing variable, conditionnal didn't work.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-12-16 15:07:28 +01:00
Leseb 13d65f9c5c Merge pull request #156 from leseb/disable-default-mds-rgw
Disable MDS and RGW from default
2014-12-16 14:53:53 +01:00
Sébastien Han 81fe11fae5 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>
2014-12-16 14:52:49 +01:00
Leseb 879025f08c Merge pull request #155 from leseb/ice-support
Add support for Intank Ceph Enterprise
2014-12-16 14:49:08 +01:00
Sébastien Han db91b20308 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>
2014-12-16 14:47:35 +01:00
Leseb be7fddde5b Merge pull request #148 from shinespb/master
added auto-discovery of OSD disks
2014-12-11 16:15:57 +01:00
Leseb 2ebbd31103 Merge pull request #154 from leseb/fix-bootstrap-precise
Add support for Precise when installing ansible
2014-12-04 12:05:21 +01:00
Sébastien Han b3f69125e5 Add support for Precise when installing ansible
Add support for precise and ppa.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-12-04 12:04:20 +01:00
Leseb 93d86cd938 Merge pull request #151 from matthewrees/100-continue
Support for 100-continue toggling for RGW
2014-11-26 20:12:17 +01:00
Leseb ea96adf314 Merge pull request #153 from leseb/add-client
Introduce client configuration
2014-11-19 12:29:45 -08:00
Sébastien Han 64df495bb6 Introduce client configuration
Introduce a client VM for KRBD and RGW.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-19 12:27:56 -08:00
Matthew Rees e07e0b5be4 Replaced shell based sed with apt_repo module call 2014-11-17 12:11:48 +02:00
Matthew Rees 4258dac251 Change to shell from command 2014-11-14 16:48:21 +02:00
Leseb 9b2f1366cd Merge pull request #152 from leseb/fix-uuid-autogen
Fix auto uuid generation
2014-11-14 15:21:59 +01:00
Sébastien Han 621df22a4a Fix auto uuid generation
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-14 15:21:30 +01:00
Matthew Rees accbfeff31 Support for 100-continue toggling for RGW
Tested for Precise and Trusty.
2014-11-14 16:05:56 +02:00
Leseb 9104762137 Merge pull request #150 from ceph/revert-149-autogen-mon-secret
Revert "Fix autogen UUID and add auto gen monitor key"
2014-11-14 15:03:58 +01:00
Leseb 3a485bf22a Revert "Fix autogen UUID and add auto gen monitor key" 2014-11-14 15:03:50 +01:00
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