Commit Graph

6111 Commits (c1f1c1e900ea2558d6090bd5d40dc7e7d49f075e)
 

Author SHA1 Message Date
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
Sébastien Han 0aa9dea281 Restart Ceph service after a configuration change
After a change is made on the configuration file we must restart the
Ceph services. I also added a check that verifies if a socker exists
because during the first play there are no services running. We check if
a socket exists, if not we don't try to restart the services, if it
exists we can restart them.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-08-20 14:04:34 +02:00
Leseb ff671629ee Merge pull request #104 from psy-q/master
Fix typo dependancies -> dependencies
2014-08-20 11:04:21 +02:00
Ramón Cahenzli f562e4d6fa Fix typo dependancies -> dependencies 2014-08-20 10:57:14 +02:00
Leseb 06585ced93 Merge pull request #103 from josephglanville/master
Introduce VMware Fusion Vagrant support
2014-08-18 11:19:02 +02:00
Joseph Glanville e562303c03 Introduce VMware Fusion Vagrant support
* Use a box that supports all providers
* Fix hdd creation so it doesn't call customize more than once
* Introduce method to create vmdks
* Add provider customization for VMware Fusion
2014-08-16 19:06:29 +10:00
Sébastien Han 80d5040ba7 Merge branch 'Sysnove-fix_template_path' 2014-08-14 14:30:47 +02:00
Sébastien Han f4e8173a50 Merge branch 'fix_template_path' of https://github.com/Sysnove/ceph-ansible into Sysnove-fix_template_path
Conflicts:
	roles/ceph-common/tasks/Debian.yml
	roles/ceph-common/tasks/RedHat.yml
2014-08-14 14:30:33 +02:00
Leseb 17469b4b5e Merge pull request #102 from leseb/fix-vars
Fix some variables
2014-08-14 14:10:05 +02:00
Sébastien Han bdb27a16a8 Fix some variables
Couple of fixes

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-08-14 14:08:52 +02:00
Leseb ec6134e292 Merge pull request #100 from pb-it/master
Fix for devices like /dev/cciss/c0d0, /dev/xvda
2014-07-23 16:53:57 +02:00
Piotr Bak 9a42f9d5bd Fix for devices like /dev/cciss/c0d0, /dev/xvda 2014-07-18 16:43:00 +02:00
Alexis Lahouze 16711d63df Fixed template path. 2014-07-14 15:11:27 +02:00
Leseb 4051e49932 Merge pull request #97 from eltom/patch-2
Update RedHat.yml
2014-07-12 14:44:51 +02:00
Leseb 0491f0750c Merge pull request #96 from eltom/patch-1
Update Debian.yml
2014-07-12 14:44:32 +02:00
eltom e8c6b5cbf8 Update RedHat.yml
Path to Templatefile is wrong, which caused Error on Provisioning
2014-07-12 14:44:06 +02:00
eltom efbac01cbe Update Debian.yml
Path to Templatefile is wrong, which caused Error on Provisioning
2014-07-12 14:43:36 +02:00
Leseb 0e54d0f7f1 Merge pull request #95 from leseb/wip-rename-common
Rename roles' names
2014-07-08 15:40:50 +02:00
Sébastien Han 2fe0342708 Rename roles' names
I added a 'ceph-' prefix to all the roles related to Ceph. Since we are
about to push the roles into the Ansible Galaxy that will be easier when
we want to use these roles into a larger environement with other roles.

Fixes: #94

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-08 15:39:42 +02:00
Leseb 050a8d5dcc Merge pull request #87 from Sysnove/defaults
Defaults
2014-07-08 15:15:19 +02:00
Alexis Lahouze 9bc8842290 Added a main.yml in 'vars' directory to tell it is better to override using host or group vars. 2014-07-08 15:06:50 +02:00
Leseb be26352a2c Merge pull request #88 from Sysnove/hosts
Replaced all by the list of host groups to be able to run the playbook with non-ceph servers.
2014-07-08 14:12:22 +02:00
Alexis Lahouze d10d0747d5 Moved OSD directory variables into defaults. 2014-07-08 13:07:44 +02:00
Alexis Lahouze 642d2aea70 Added dummy variable because ansible is not happy when there is no variable in group_vars files. 2014-07-08 13:07:44 +02:00
Alexis Lahouze 1d2a66666f Moved variables into "defaults" directory of each role, and commented the ones in group_vars. 2014-07-08 13:07:44 +02:00
Leseb e8d60215cd Merge pull request #89 from Sysnove/partitions
Allow devices to be partition instead of disks
2014-07-08 10:27:11 +02:00
Alexis Lahouze 3e74f153a0 Fixed Engrish grammar. 2014-07-08 10:20:18 +02:00
Alexis Lahouze 7eeb895d3d Rolled back comment on filesystem creation. 2014-07-08 10:15:38 +02:00
Leseb 67ce4907e9 Merge pull request #93 from leseb/wip-package-key
Use a local key for package instead of downloading it
2014-07-03 16:26:50 +02:00
Sébastien Han 9d7c23396f Use a local key for package instead of downloading it
Using a local key is significantly faster than "wgetting" the key from a
server on Internet.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-03 15:53:13 +02:00
Leseb cd74f9fe51 Merge pull request #92 from leseb/use-latest-ceph
Use firefly as the default release
2014-07-03 15:37:49 +02:00
Sébastien Han bd03dd9b02 Use firefly as the default release
Since Firefly is out, we use it.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-03 15:36:59 +02:00
Leseb a3c1e1c862 Merge pull request #91 from leseb/wip-osd-directory
Ability to use a directory for OSD instead of a disk
2014-07-03 15:34:57 +02:00
Sébastien Han 4f5d195788 Ability to use a directory for OSD instead of a disk
This commit implements a fourth scenario where we can directely use a
directory instead of a block device for the OSDs. The purpose of this
scenario is more testing-oriented. Please note that we do not check
the filesystem underneath the directory so it is really up to you to
configure this properly. Declaring more than one directory on the
same filesystem will confuse Ceph.

Fixes: #14

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-03 15:30:49 +02:00
Alexis Lahouze 132e78df84 Allow devices to be partition instead of disks (used for some physical servers with a sigle disk for system and storage). 2014-06-26 14:19:09 +02:00
Alexis Lahouze 8b3f428f1f Replaced all by the list of host groups to be able to run the playbook with non-ceph servers. 2014-06-26 09:52:06 +02:00
Leseb a608b65cdd Merge pull request #86 from maethor/patch-1
Update README.md
2014-06-13 16:36:49 +02:00
Guillaume Subiron 0ec9298b93 Update README.md
Two lines are cut in the README. This patch fix this using http://www.sebastien-han.fr/blog/2014/03/03/Announcing-ceph-ansible-playbooks/.
2014-06-13 16:30:50 +02:00
Leseb 422629557d Merge pull request #85 from kchristensen/fix-architecture-tests
Fix Ansible architecture tasks
2014-06-02 21:06:28 +02:00
Kyle Christensen 168faef3bd Fix Ansible architecture tasks 2014-06-02 15:00:43 -04:00
Leseb ba07e01cb1 Merge pull request #84 from leseb/fix-no-ext4
Since Emperor, Ceph stores xattr into levelDB thus this option is not
2014-05-20 15:14:48 +02:00
Sébastien Han 670bec24c7 Since Emperor, Ceph stores xattr into levelDB thus this option is not
needed anymore.

Fixes: #83

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-05-20 15:04:09 +02:00
Leseb 32b9a84dcd Merge pull request #82 from lorin/master
Use Vagrant's Ansible provisioner
2014-05-12 06:42:28 -07:00
Lorin Hochstein 92c0445989 Use Vagrant's Ansible provisioner
Use Vagrant's built-in support for Ansible provisioner. This eliminates the need
for a hosts file, and simplifies the ansible config file.

Renames config from .ansible.cfg to ansible.cfg since Ansible expects the file
to be called ansible.cfg and be adjacent to Vagrantfile when using the Vagrant
provisioner.
2014-05-11 19:34:37 -04:00
Leseb 3b68622f9d Merge pull request #81 from leseb/enh-testing-mode
Enable single host mode
2014-05-01 01:27:20 +02:00
Sébastien Han 567c0bb6ce Enable single host mode
This commit introduces a new config option 'osd crush chooseleaf type'.
With the help of this option and by setting it to '0' we tell Ceph to
store all the replicas on a single host. Basically we tell CRUSH to
iterate over disk and not over host.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-05-01 01:24:20 +02:00
Leseb d6a82a6201 Merge pull request #80 from leseb/change-default-disk
Change the default disk numbering
2014-04-30 17:58:51 +02:00
Sébastien Han ed52853d20 Change the default disk numbering
While trying to auto-provision with vagrant, new disks get /dev/sdb and
so forth. So starting from /dev/sdd doesn't make sense.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-04-30 17:57:10 +02:00