]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
10 years agoMerge pull request #240 from leseb/vagrant-boxes
Leseb [Mon, 30 Mar 2015 09:52:11 +0000 (11:52 +0200)]
Merge pull request #240 from leseb/vagrant-boxes

Make more boxes available

10 years agoMake more boxes available 240/head
Sébastien Han [Mon, 30 Mar 2015 09:45:22 +0000 (11:45 +0200)]
Make more boxes available

The box can be configured thanks to a new var, look at vagrant_variables
and select your box.
Handy to test several distros deployment.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #239 from leseb/upstart-sysvinit
Leseb [Mon, 30 Mar 2015 09:39:01 +0000 (11:39 +0200)]
Merge pull request #239 from leseb/upstart-sysvinit

Rework upstart and sysvinit

10 years agoRework upstart and sysvinit 239/head
Sébastien Han [Mon, 30 Mar 2015 08:59:08 +0000 (10:59 +0200)]
Rework upstart and sysvinit

Once again and hopefully final commit to rework the support of both
upstart and sysvinit. As from now, Ubuntu systems will use upstart and
the others will use sysvinit.
A later commit might include the support of systemd as the unit files
come out. This will be for Hammer so probably soon.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #214 from mhubig/splitup
Leseb [Mon, 30 Mar 2015 09:20:34 +0000 (11:20 +0200)]
Merge pull request #214 from mhubig/splitup

Adds an ansible playbook to split the roles from this repo.

10 years agoMerge pull request #236 from leseb/fix-mon-upstart
Leseb [Thu, 26 Mar 2015 17:50:43 +0000 (18:50 +0100)]
Merge pull request #236 from leseb/fix-mon-upstart

Activate either sysvinit or upstart

10 years agoActivate either sysvinit or upstart 236/head
Sébastien Han [Thu, 26 Mar 2015 14:43:54 +0000 (15:43 +0100)]
Activate either sysvinit or upstart

Depending on the distro, init scripts will look for different files to
be available on the ceph data dir.
Fixing the upstart support here.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #235 from leseb/fix-rest-api
Leseb [Wed, 25 Mar 2015 10:30:37 +0000 (11:30 +0100)]
Merge pull request #235 from leseb/fix-rest-api

Default client is already client.restapi

10 years agoDefault client is already client.restapi 235/head
Sébastien Han [Wed, 25 Mar 2015 10:29:51 +0000 (11:29 +0100)]
Default client is already client.restapi

No need to specify it.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #234 from leseb/rework-rgw-keys
Leseb [Tue, 24 Mar 2015 10:03:09 +0000 (11:03 +0100)]
Merge pull request #234 from leseb/rework-rgw-keys

Fix RGW startup

10 years agoFix RGW startup 234/head
Sébastien Han [Tue, 24 Mar 2015 10:02:12 +0000 (11:02 +0100)]
Fix RGW startup

If the distribution wasn't Ubuntu, the check wasn't performed so the
evaluation in the task later wasn't possible.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #233 from leseb/fix-mds-pool-creation
Leseb [Tue, 24 Mar 2015 09:12:22 +0000 (10:12 +0100)]
Merge pull request #233 from leseb/fix-mds-pool-creation

Enforce var pool creation

10 years agoMerge pull request #232 from leseb/ceph-rest-api
Leseb [Mon, 23 Mar 2015 17:55:24 +0000 (18:55 +0100)]
Merge pull request #232 from leseb/ceph-rest-api

Implement Ceph REST API

10 years agoEnforce var pool creation 233/head
Sébastien Han [Mon, 23 Mar 2015 17:53:42 +0000 (18:53 +0100)]
Enforce var pool creation

Make sure that 'mds' is enabled before creating the filesystem.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoImplement Ceph REST API 232/head
Sébastien Han [Mon, 23 Mar 2015 14:08:58 +0000 (15:08 +0100)]
Implement Ceph REST API

Now the Ceph REST API can be deployed.
Default implementation deploys it on the same nodes as the monitors
which should be fine.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #231 from leseb/fix-rgw-dir-path
Leseb [Mon, 23 Mar 2015 14:10:27 +0000 (15:10 +0100)]
Merge pull request #231 from leseb/fix-rgw-dir-path

Rework radosgw keys and data dir path

10 years agoRework radosgw keys and data dir path 231/head
Sébastien Han [Mon, 23 Mar 2015 11:20:00 +0000 (12:20 +0100)]
Rework radosgw keys and data dir path

Fix the usage of Upstart for Ubuntu machines instead of the init.d
script.
Note that because of the way upstart init script looks at the radosgw id
the command 'start radosgw id=' is broken, you should use 'start
radosgw-all' instead.
Keep backard compatibility with the radosgw init script as well by using
client prefixed by 'client.radosgw'.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #229 from leseb/improve-syntax
Leseb [Thu, 19 Mar 2015 11:27:19 +0000 (12:27 +0100)]
Merge pull request #229 from leseb/improve-syntax

Improve YAML syntax

10 years agoImprove YAML syntax 229/head
Sébastien Han [Thu, 19 Mar 2015 11:21:29 +0000 (12:21 +0100)]
Improve YAML syntax

Improve readibility.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #211 from leseb/postdeployment-validator
Leseb [Thu, 12 Mar 2015 15:57:56 +0000 (10:57 -0500)]
Merge pull request #211 from leseb/postdeployment-validator

WIP: first implementation of functional tests

10 years agoMerge pull request #227 from leseb/fix-mds-giant
Leseb [Thu, 12 Mar 2015 03:54:06 +0000 (22:54 -0500)]
Merge pull request #227 from leseb/fix-mds-giant

Fix MDS creation for version >= 0.84

10 years agoFix MDS creation for version >= 0.84 227/head
Sébastien Han [Thu, 12 Mar 2015 03:50:38 +0000 (22:50 -0500)]
Fix MDS creation for version >= 0.84

The ceph fs new command was introduced in Ceph 0.84. Prior to this
release, no manual steps are required to create a filesystem, and pools
named data and metadata exist by default.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #190 from leseb/coreos-support
Leseb [Thu, 12 Mar 2015 02:37:00 +0000 (21:37 -0500)]
Merge pull request #190 from leseb/coreos-support

Docker support

10 years agoDocker support 190/head
Sébastien Han [Tue, 20 Jan 2015 17:43:47 +0000 (18:43 +0100)]
Docker support

WIP!

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #223 from leseb/vagrant-if
Leseb [Mon, 2 Mar 2015 16:48:48 +0000 (17:48 +0100)]
Merge pull request #223 from leseb/vagrant-if

Fix Vagrant vars for MDS and RGW

10 years agoFix Vagrant vars for MDS and RGW 223/head
Sébastien Han [Mon, 2 Mar 2015 16:41:52 +0000 (17:41 +0100)]
Fix Vagrant vars for MDS and RGW

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #222 from leseb/improve-handlers
Leseb [Mon, 2 Mar 2015 16:16:32 +0000 (17:16 +0100)]
Merge pull request #222 from leseb/improve-handlers

Improve Handler support

10 years agoImprove Handler support 222/head
Sébastien Han [Mon, 2 Mar 2015 16:13:30 +0000 (17:13 +0100)]
Improve Handler support

Now proper commands/actions are used per hosts and groups.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #212 from leseb/rbd-client-logs
Leseb [Mon, 2 Mar 2015 14:12:56 +0000 (15:12 +0100)]
Merge pull request #212 from leseb/rbd-client-logs

Add RBD client logs support

10 years agoMerge pull request #218 from leseb/radosgw-civetweb
Leseb [Mon, 2 Mar 2015 13:26:56 +0000 (14:26 +0100)]
Merge pull request #218 from leseb/radosgw-civetweb

Add support of civetweb for Rados Gateway

10 years agoAdd support of civetweb for Rados Gateway 218/head
Sébastien Han [Mon, 2 Mar 2015 09:22:52 +0000 (10:22 +0100)]
Add support of civetweb for Rados Gateway

Almost here.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #219 from leseb/fix-rgw-socket
Leseb [Mon, 2 Mar 2015 09:57:53 +0000 (10:57 +0100)]
Merge pull request #219 from leseb/fix-rgw-socket

Fix Rados Gateway socket path

10 years agoFix Rados Gateway socket path 219/head
Sébastien Han [Mon, 2 Mar 2015 09:48:18 +0000 (10:48 +0100)]
Fix Rados Gateway socket path

Fixes: #217
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #216 from leseb/vagrant-vars
Leseb [Tue, 24 Feb 2015 12:40:01 +0000 (13:40 +0100)]
Merge pull request #216 from leseb/vagrant-vars

Use an external file to manage Vagrant variables

10 years agoUse an external file to manage Vagrant variables 216/head
Sébastien Han [Mon, 23 Feb 2015 23:07:15 +0000 (00:07 +0100)]
Use an external file to manage Vagrant variables

This is really handy when we are testing code since we don't need to
modify the Vagrantfile, which is tracked by git.
The next commit will ignore the vagrant_variables.yml file.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoAdds ansible script to split this repo into roles. 214/head
Markus Hubig [Mon, 23 Feb 2015 17:25:37 +0000 (18:25 +0100)]
Adds ansible script to split this repo into roles.

Use it like this, to split and update:

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags split --extra-vars github=mhubig/ansible

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags update --extra-vars github=mhubig/ansible

10 years agoAdd RBD client logs support 212/head
Sébastien Han [Mon, 23 Feb 2015 14:28:27 +0000 (15:28 +0100)]
Add RBD client logs support

The path must be writable by QEMU and allowed by SELinux or AppArmor

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoWIP: first implementation of functional tests 211/head
Sébastien Han [Sun, 22 Feb 2015 01:31:28 +0000 (02:31 +0100)]
WIP: first implementation of functional tests

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #210 from leseb/multi-rgw-support
Leseb [Sun, 22 Feb 2015 00:24:55 +0000 (01:24 +0100)]
Merge pull request #210 from leseb/multi-rgw-support

Bring multi RGW support

10 years agoBring multi RGW support 210/head
Sébastien Han [Sun, 22 Feb 2015 00:16:00 +0000 (01:16 +0100)]
Bring multi RGW support

Now we can setup multi-rgw with the playbook.
Each rgw instance has its own key.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #209 from leseb/fix-rgw-section
Leseb [Fri, 20 Feb 2015 17:46:26 +0000 (18:46 +0100)]
Merge pull request #209 from leseb/fix-rgw-section

Fix the rgw section

10 years agoFix the rgw section 209/head
Sébastien Han [Fri, 20 Feb 2015 17:41:49 +0000 (18:41 +0100)]
Fix the rgw section

If we use the hostname, the radosgw will lookup for a wrong secret.
Using the same name for all the gateways.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #208 from leseb/improve-rgw
Leseb [Sun, 15 Feb 2015 01:23:15 +0000 (02:23 +0100)]
Merge pull request #208 from leseb/improve-rgw

Improve RGW config section

10 years agoImprove RGW config section 208/head
Sébastien Han [Sun, 15 Feb 2015 01:21:27 +0000 (02:21 +0100)]
Improve RGW config section

Use hostname in socket and log.
Improve jinja template so when a var doesn't exist we don't indent the
next line.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #207 from leseb/fix-rgw-vagrant
Leseb [Sun, 15 Feb 2015 01:05:30 +0000 (02:05 +0100)]
Merge pull request #207 from leseb/fix-rgw-vagrant

Enable proper options while activating rgw or mds with Vagrant

10 years agoEnable proper options while activating rgw or mds with Vagrant 207/head
Sébastien Han [Sun, 15 Feb 2015 01:01:35 +0000 (02:01 +0100)]
Enable proper options while activating rgw or mds with Vagrant

When enabling radosgw virtual machines, we also need to enable the
radosgw variable. Same thing goes with the mds.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #206 from leseb/fix-rgw-keys
Leseb [Sun, 15 Feb 2015 00:59:15 +0000 (01:59 +0100)]
Merge pull request #206 from leseb/fix-rgw-keys

Fix RGW key fetching

10 years agoFix RGW key fetching 206/head
Sébastien Han [Sun, 15 Feb 2015 00:56:12 +0000 (01:56 +0100)]
Fix RGW key fetching

In a previous commit, key name changed, fixing this.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #204 from marmot21/patch-1
Leseb [Sat, 14 Feb 2015 21:45:46 +0000 (22:45 +0100)]
Merge pull request #204 from marmot21/patch-1

Update ceph.conf.j2

10 years agoUpdate ceph.conf.j2 204/head
marmot21 [Thu, 12 Feb 2015 11:16:24 +0000 (22:16 +1100)]
Update ceph.conf.j2

This is just a simple change that will allow multiple gateways

10 years agoMerge pull request #202 from leseb/refactor-mon-keys
Leseb [Fri, 30 Jan 2015 17:44:07 +0000 (18:44 +0100)]
Merge pull request #202 from leseb/refactor-mon-keys

Refactor keys creation and fetching

10 years agoRefactor keys creation and fetching 202/head
Sébastien Han [Fri, 30 Jan 2015 15:16:18 +0000 (16:16 +0100)]
Refactor keys creation and fetching

We isolated the key operations into a file and modified the fetch
function to collect all the new keys.
In the mean time fixed the pool creation since the command is not
indempotent.
Renamed the rgw key to work with the key collection.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #200 from leseb/mon-key
Leseb [Fri, 30 Jan 2015 15:19:12 +0000 (16:19 +0100)]
Merge pull request #200 from leseb/mon-key

Add Monitor Keys example

10 years agoAdd Monitor Keys example 200/head
Sébastien Han [Fri, 30 Jan 2015 15:17:46 +0000 (16:17 +0100)]
Add Monitor Keys example

Can be useful when `ceph-authtool --gen-print-key` is not available.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #198 from leseb/ceph-client
Leseb [Fri, 30 Jan 2015 13:54:18 +0000 (14:54 +0100)]
Merge pull request #198 from leseb/ceph-client

Ability to populate OpenStack installation

10 years agoAbility to populate OpenStack installation 198/head
Sébastien Han [Fri, 30 Jan 2015 12:34:35 +0000 (13:34 +0100)]
Ability to populate OpenStack installation

Creates pools, keys and users.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #197 from flisky/master
Leseb [Mon, 26 Jan 2015 09:02:54 +0000 (10:02 +0100)]
Merge pull request #197 from flisky/master

fsid & ceph_stable_redhat_distro fixs up

10 years agoupdate distro comment 197/head
Yin Jifeng [Mon, 26 Jan 2015 06:22:06 +0000 (14:22 +0800)]
update distro comment

so we don't need change them every ceph release

10 years agoepel-release is mandatory
Yin Jifeng [Thu, 22 Jan 2015 13:35:20 +0000 (21:35 +0800)]
epel-release is mandatory

see: https://www.mail-archive.com/ceph-users@lists.ceph.com/msg14819.html
also: https://github.com/ceph/ceph-deploy/commit/831b130f98a18db09c862f56e80b788bbf094373

10 years agomake sure we use **fsid** in command
Yin Jifeng [Thu, 22 Jan 2015 12:09:06 +0000 (20:09 +0800)]
make sure we use **fsid** in command

10 years agoupdate ceph noarch repo url
Yin Jifeng [Thu, 22 Jan 2015 12:07:46 +0000 (20:07 +0800)]
update ceph noarch repo url

10 years agoMerge pull request #196 from leseb/fix-travis-2
Leseb [Wed, 21 Jan 2015 15:37:06 +0000 (16:37 +0100)]
Merge pull request #196 from leseb/fix-travis-2

Fix Travis

10 years agoFix Travis 196/head
Sébastien Han [Wed, 21 Jan 2015 15:30:24 +0000 (16:30 +0100)]
Fix Travis

Only do syntax check now.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #195 from ceph/revert-194-fix-travis
Leseb [Wed, 21 Jan 2015 15:17:52 +0000 (16:17 +0100)]
Merge pull request #195 from ceph/revert-194-fix-travis

Revert "Fix Travis run"

10 years agoRevert "Fix Travis run" 195/head
Leseb [Wed, 21 Jan 2015 15:17:40 +0000 (16:17 +0100)]
Revert "Fix Travis run"

10 years agoMerge pull request #194 from leseb/fix-travis
Leseb [Wed, 21 Jan 2015 15:16:44 +0000 (16:16 +0100)]
Merge pull request #194 from leseb/fix-travis

Fix Travis run

10 years agoFix Travis run 194/head
Sébastien Han [Wed, 21 Jan 2015 15:15:55 +0000 (16:15 +0100)]
Fix Travis run

Fix travis run and effectively test the playbooks.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #191 from leseb/travis
Leseb [Wed, 21 Jan 2015 09:01:24 +0000 (10:01 +0100)]
Merge pull request #191 from leseb/travis

Add test to the playbooks

10 years agoAdd test to the playbooks 191/head
Sébastien Han [Wed, 21 Jan 2015 08:59:42 +0000 (09:59 +0100)]
Add test to the playbooks

Through Travis.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #189 from leseb/change-controller-name
Leseb [Mon, 19 Jan 2015 17:25:45 +0000 (18:25 +0100)]
Merge pull request #189 from leseb/change-controller-name

Change disk controller name

10 years agoChange disk controller name 189/head
Sébastien Han [Mon, 19 Jan 2015 17:20:01 +0000 (18:20 +0100)]
Change disk controller name

The recently added Trusty box was build with a Controller named
"SATAController", we must reuse the same name while adding our devices.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #188 from leseb/use-trusty-box
Leseb [Mon, 19 Jan 2015 16:42:13 +0000 (17:42 +0100)]
Merge pull request #188 from leseb/use-trusty-box

Upgrade to Trusty box

10 years agoUpgrade to Trusty box 188/head
Sébastien Han [Mon, 19 Jan 2015 16:41:19 +0000 (17:41 +0100)]
Upgrade to Trusty box

Use a Trusty box instead of Precise.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #187 from leseb/debug
Leseb [Fri, 16 Jan 2015 13:42:40 +0000 (14:42 +0100)]
Merge pull request #187 from leseb/debug

Enable Ceph daemons debug options

10 years agoEnable Ceph daemons debug options 187/head
Sébastien Han [Fri, 16 Jan 2015 13:26:30 +0000 (14:26 +0100)]
Enable Ceph daemons debug options

Add debug options for Ceph daemons.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #186 from leseb/swapoff
Leseb [Thu, 15 Jan 2015 10:44:11 +0000 (11:44 +0100)]
Merge pull request #186 from leseb/swapoff

Ability to disable swap

10 years agoAbility to disable swap 186/head
Sébastien Han [Thu, 15 Jan 2015 10:42:51 +0000 (11:42 +0100)]
Ability to disable swap

With enough memory we will probably not need any swap.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #185 from leseb/os-tuning-vfs-pressure
Leseb [Thu, 15 Jan 2015 10:14:52 +0000 (11:14 +0100)]
Merge pull request #185 from leseb/os-tuning-vfs-pressure

Decrease vfs cache pressure

10 years agoDecrease vfs cache pressure 185/head
Sébastien Han [Thu, 15 Jan 2015 10:08:57 +0000 (11:08 +0100)]
Decrease vfs cache pressure

On OSD servers we want to keep as much inodes and dentries in memory as
we can.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #184 from leseb/fix-transparent-huge-page-path
Leseb [Thu, 15 Jan 2015 09:59:27 +0000 (10:59 +0100)]
Merge pull request #184 from leseb/fix-transparent-huge-page-path

Fix transparent huge page sys path

10 years agoFix transparent huge page sys path 184/head
Sébastien Han [Thu, 15 Jan 2015 09:58:45 +0000 (10:58 +0100)]
Fix transparent huge page sys path

The old path was meant for old kernels...

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #183 from leseb/xfs-mount-option-sequential
Leseb [Thu, 15 Jan 2015 09:55:31 +0000 (10:55 +0100)]
Merge pull request #183 from leseb/xfs-mount-option-sequential

Add more option to maximise sequential IO

10 years agoAdd more option to maximise sequential IO 183/head
Sébastien Han [Thu, 15 Jan 2015 09:54:08 +0000 (10:54 +0100)]
Add more option to maximise sequential IO

Using the largeio,inode64,swalloc options usually improves sequential
workloads.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #182 from leseb/ice-fix-epel
Leseb [Tue, 13 Jan 2015 14:50:38 +0000 (15:50 +0100)]
Merge pull request #182 from leseb/ice-fix-epel

Add yum priority plugin

10 years agoAdd yum priority plugin 182/head
Sébastien Han [Tue, 13 Jan 2015 14:46:47 +0000 (15:46 +0100)]
Add yum priority plugin

Without this plugin if a Ceph version is present in a repo (let's say
epel) it will install the epel version and not the ICE version.
We install yum-plugin-priorities.noarch to honor the 'priority=1' flag.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #181 from leseb/transparent-hugepages
Leseb [Tue, 13 Jan 2015 10:13:08 +0000 (11:13 +0100)]
Merge pull request #181 from leseb/transparent-hugepages

Ability to disable transparent hugepage

10 years agoAbility to disable transparent hugepage 181/head
Sébastien Han [Tue, 13 Jan 2015 10:09:53 +0000 (11:09 +0100)]
Ability to disable transparent hugepage

In storage world it's often recommended to disable transparent hugepages
as they will tend to lower performance.
Note that this change won't survive reboot. There are several ways to
disable this permanently such as:

* rc.local
* grub boot line

It's a bit tricky to do this in Ansible since it really depends on the
OS you're running on.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #180 from leseb/zone-reclaim-mode
Leseb [Tue, 13 Jan 2015 09:42:08 +0000 (10:42 +0100)]
Merge pull request #180 from leseb/zone-reclaim-mode

Restructure OS tuning and add new value

10 years agoRestructure OS tuning and add new value 180/head
Sébastien Han [Tue, 13 Jan 2015 09:31:26 +0000 (10:31 +0100)]
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>
10 years agoMerge pull request #177 from leseb/osd-sections
Leseb [Mon, 12 Jan 2015 15:46:38 +0000 (16:46 +0100)]
Merge pull request #177 from leseb/osd-sections

WIP: Implement OSD sections

10 years agoMerge pull request #179 from leseb/force-vars
Leseb [Mon, 12 Jan 2015 15:17:16 +0000 (16:17 +0100)]
Merge pull request #179 from leseb/force-vars

Make the monitor secret a mandatory variable.

10 years agoMake the monitor secret a mandatory variable. 179/head
Sébastien Han [Mon, 12 Jan 2015 13:36:15 +0000 (14:36 +0100)]
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>
10 years agoWIP: Implement OSD sections 177/head
Sébastien Han [Thu, 8 Jan 2015 17:27:43 +0000 (12:27 -0500)]
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>
10 years agoMerge pull request #176 from leseb/os-tuning
Leseb [Wed, 7 Jan 2015 10:46:55 +0000 (11:46 +0100)]
Merge pull request #176 from leseb/os-tuning

Make OS tuning var configurable and file re-ordering

10 years agoMake OS tuning var configurable and file re-ordering 176/head
Sébastien Han [Wed, 7 Jan 2015 10:41:35 +0000 (11:41 +0100)]
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>
10 years agoMerge pull request #175 from leseb/fix-ice
Leseb [Wed, 7 Jan 2015 10:26:47 +0000 (11:26 +0100)]
Merge pull request #175 from leseb/fix-ice

Fix ICE installation

10 years agoFix ICE installation 175/head
Sébastien Han [Wed, 7 Jan 2015 10:25:34 +0000 (11:25 +0100)]
Fix ICE installation

Wrong ordering and variable.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #174 from leseb/update-group-vars
Leseb [Tue, 6 Jan 2015 21:50:12 +0000 (22:50 +0100)]
Merge pull request #174 from leseb/update-group-vars

Update group_vars files to match roles defaults vars

10 years agoUpdate group_vars files to match roles defaults vars 174/head
Sébastien Han [Tue, 6 Jan 2015 21:47:49 +0000 (22:47 +0100)]
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>
10 years agoMerge pull request #173 from leseb/fix-vagrant-1.8-deployment
Leseb [Tue, 6 Jan 2015 15:25:10 +0000 (16:25 +0100)]
Merge pull request #173 from leseb/fix-vagrant-1.8-deployment

Fix vagrant deployment for vagrant version > 1.7