Sébastien Han
2cb8941dcc
Restructure OS tuning and add new value
...
We now use a single task and loop over a set of params, it's easier to
add now params.
Setting zone_reclaim_mode to 0.
See the discussion on the Ceph ML:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-December/036211.html
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-13 10:34:46 +01:00
Leseb
5c61ca8e8f
Merge pull request #177 from leseb/osd-sections
...
WIP: Implement OSD sections
2015-01-12 16:46:38 +01:00
Leseb
78cfc3af79
Merge pull request #179 from leseb/force-vars
...
Make the monitor secret a mandatory variable.
2015-01-12 16:17:16 +01:00
Sébastien Han
289cc5423a
Make the monitor secret a mandatory variable.
...
Default behavior is to fail if a variable is not declared however this
can be disable in your ansible.cfg so we force this variable as
mandatory.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-12 14:36:15 +01:00
Sébastien Han
f68cd46664
WIP: Implement OSD sections
...
Still WIP, @mwheckmann free to test
As requested by #162
Current known issue, since ceph.conf gets modified during every single
run (at the end during the merge) so this will restart ceph daemons.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-09 11:14:20 -05:00
Leseb
5047ac7669
Merge pull request #176 from leseb/os-tuning
...
Make OS tuning var configurable and file re-ordering
2015-01-07 11:46:55 +01:00
Sébastien Han
81b44fcfe2
Make OS tuning var configurable and file re-ordering
...
Depending on the OS you are runnning on you should be able to configure
these values.
Re-ordering file for clarity as well.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-07 11:44:40 +01:00
Leseb
ea34a21e53
Merge pull request #175 from leseb/fix-ice
...
Fix ICE installation
2015-01-07 11:26:47 +01:00
Sébastien Han
5e6708394a
Fix ICE installation
...
Wrong ordering and variable.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-07 11:25:34 +01:00
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