Commit Graph

5553 Commits (0ab159242a2b925d7c28d7d149df653ddcdb4df9)
 

Author SHA1 Message Date
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
Leseb 358b58bd4a Merge pull request #79 from leseb/fix-rgw-email
Fix non-declared rgw email_address variable
2014-04-30 14:58:02 +02:00
Sébastien Han f0b9994a03 Fix non-declared rgw email_address variable
Fix: #77

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-04-30 14:56:37 +02:00
Leseb b0d9090cc6 Merge pull request #76 from AcalephStorage/fetch-fsid
Removed dependency on mon[0]
2014-04-30 13:42:08 +02:00
Dexter John Genterone 728e80df5c keys are now copied from the first available mon host
since we're now using fsid for the directory name, it should be safe to
just copy the keys from all mon hosts. Once they are copied, the rest of
the hosts will just skip copying. :)
2014-04-30 16:02:07 +08:00
Hunter Nield 48c1dcd92b Avoid ip/fqdn weirdness & use fsid path for keys 2014-04-30 15:16:11 +08:00
Leseb b4fad6fcfc Merge pull request #74 from guestisp/fix-73-use-ansible-fqdn-in-purge-yml
Fix #73 by using `ansible_fqdn`
2014-04-18 14:01:47 +02:00
Leseb 95d4f4bd1a Merge pull request #72 from guestisp/fix-71-typo-in-purge-yml
Fix #71. Removed wrong `---`
2014-04-18 14:01:36 +02:00
Leseb 2ccbab2c7c Merge pull request #70 from guestisp/fix-69-mon-osd-min-down-reporters
Fix #69 - mon osd min down reporters
2014-04-18 14:01:22 +02:00