Commit Graph

407 Commits (6f226a47e9ee228301ca6f9a3025120bc2c5f1bb)
 

Author SHA1 Message Date
Leseb 382ed13a08 Merge pull request #46 from leseb/fix-mon-initial-members
Remove mon_initial_members option
2014-03-14 17:13:15 +01:00
Sébastien Han 300e87ec35 Remove mon_initial_members option
The mon_initial_members is not used since we declare the mon section in
the ceph.conf file. Later, we could reduce the ceph.conf file by only
using the mon_host flag instead of all the mon sections.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-14 17:11:27 +01:00
Leseb 7d30e31900 Merge pull request #45 from leseb/improve-read
Improve README file
2014-03-14 16:48:18 +01:00
Sébastien Han 54fcc2def7 Improve README file
Clarify the support section, add OS support.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-14 16:32:00 +01:00
Leseb 6b0dbdcfd2 Merge pull request #43 from leseb/feature-reduce-vm-memory
Reduce VM memory consumption
2014-03-14 10:48:35 +01:00
Sébastien Han 8a9851a045 Reduce VM memory consumption
We now have 7 virtual machines in the Vagrant sandbox. This takes a lot
of memory. This might be a problem for some laptop and whon't help
testings.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-14 10:47:06 +01:00
Leseb de78baebce Merge pull request #7 from leseb/wip-add-rgw
Add RADOS Gateway support
2014-03-13 23:49:12 +01:00
Sébastien Han f295b4f5b4 Add RADOS Gateway support
This is a wip branch.
This works on Ubuntu precise, Debian Wheezy and CentOS 6.4.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-13 23:43:57 +01:00
Leseb 4924cdec59 Merge pull request #40 from guestisp/fix-ceph-conf-if-mds-are-not-reachable
Fix ceph.conf if MDSs are not reachable
2014-03-12 16:14:17 +01:00
Alessandro Corbelli f363f63446 Fix ceph.conf if MDSs are not reachable 2014-03-12 16:13:06 +01:00
Leseb 69564c14c6 Merge pull request #39 from guestisp/fix-ceph-conf-if-mons-unreachable
Fix ceph.conf if mons are unreachable
2014-03-12 16:00:18 +01:00
Leseb 38f07e1bff Merge pull request #36 from guestisp/fix-fqdn-when-copying-keys-to-osd
Use ansible_fqdn when copying keys to OSDs
2014-03-12 15:58:33 +01:00
Leseb f9a05a05fa Merge pull request #38 from guestisp/fix-mons-yaml
Fix typo in group_vars/mons and remove "-C foo"
2014-03-12 15:35:27 +01:00
Alessandro Corbelli 2530083751 Fix ceph.conf if mons are unreachable 2014-03-12 15:34:54 +01:00
Alessandro Corbelli 0b6fb1cc2f Fix typo in group_vars/mons and remove "-C foo" 2014-03-12 15:32:09 +01:00
Alessandro Corbelli f97d26470f Use ansible_fqdn when copying from mons 2014-03-12 15:05:42 +01:00
Alessandro Corbelli 1bf18e6c80 Use ansible_fqnd also in mds role 2014-03-12 15:01:46 +01:00
Alessandro Corbelli 57831b4083 Use ansible_fqdn when copying keys to OSDs 2014-03-12 14:46:40 +01:00
Leseb 2b5f5d9877 Merge pull request #34 from leseb/fix-revert-autogeneration-keys
Revert 37882255d6 (auto key generation)
2014-03-12 13:33:57 +01:00
Sébastien Han 36d034ad20 Revert 37882255d6 (auto key generation)
We introduced a key generation mechanism that aimed to ease deployment.
In the end, it brought more complexity to the playbook and doesn't
scale.

Reverting the auto generation commit and instructing users to generate
their own keys.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-12 13:31:22 +01:00
Leseb bcb4861be3 Merge pull request #33 from leseb/feature-reduce-verbose
Ability to reduce verbosity
2014-03-12 10:49:10 +01:00
Sébastien Han 114d5c2689 Ability to reduce verbosity
If you don't want to see the output of all the skipped host, you can set
this value to 'False'.
This will dramatically reduce the output of the run.

Closes: #32

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-12 10:46:41 +01:00
Leseb 40f5f9458e Merge pull request #31 from leseb/fix-cosmetic
Cosmetic on apt module
2014-03-11 15:25:41 +01:00
Sébastien Han cc7f2ab2ab Cosmetic on apt module
Use 'present' instead of 'installed'.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 15:24:51 +01:00
Leseb 39df36962f Merge pull request #30 from leseb/fix-vagrant-osd-disk
Add more tiny disks
2014-03-11 14:23:21 +01:00
Sébastien Han cbbd046a0f Add more tiny disks
Instead of having 5GB disks now we have 6 disks of 1GB per virtual
machine, which is more than enough for testing.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 14:22:11 +01:00
Leseb 67342f0958 Merge pull request #29 from leseb/fix-ansible-setup2
Remove log section
2014-03-11 14:19:17 +01:00
Sébastien Han eed7f00492 Remove log section
While running Ansible for the first time, this won't affec the local
git.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 14:18:19 +01:00
Leseb 947c82b764 Merge pull request #28 from leseb/fix-ansible-setup
Improve vagrant testing and ansible setup
2014-03-11 14:16:13 +01:00
Sébastien Han d418eed16b Improve vagrant testing and ansible setup
It is easier now to git clone the repository and to run your first
environment without extra configuration.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 14:14:37 +01:00
Leseb 87b3644b6c Merge pull request #12 from jcftang/wip-cleanup
Wip cleanup
2014-03-11 12:05:30 +01:00
Jimmy Tang bb644cab3e break out MDS roles into its own group, shouldn't be installing the MDS on every OSD host in this example 2014-03-11 10:29:25 +00:00
Jimmy Tang a82ba21c61 Ignore keyrings, they should never be commited to git 2014-03-11 10:29:25 +00:00
Jimmy Tang 7073066244 Ignore some temporary files 2014-03-11 10:29:25 +00:00
Leseb c53101b477 Merge pull request #26 from leseb/wip-separate-osd-scenarios
Wip separate osd scenarios
2014-03-11 10:37:32 +01:00
Sébastien Han fc38e21333 Separate OSD scenarios to multiple files
Currently everything lives in main.yml, the file has become difficult to
read at some point and can be a real mess since we keep adding new
scenarios.
I think we should separate the scenarios into dedicated files and just
do includes in the main.yml file.

Closes: #16

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 10:36:24 +01:00
Leseb 6060a7e56a Merge pull request #25 from leseb/fix-gen-keys
Autogenerate initial mon key
2014-03-11 00:55:54 +01:00
Sébastien Han 37882255d6 Autogenerate initial mon key
As mentionned in the issue 24 it's not really safe to store a default
fsid nor a monitor key. Thus the commit brings the auto-generation of
the initial monitor key. However it is quite complex to do the same for
the fsid, so I leave this to the person in charge of the deployment to
generate one and edit group_vars/all accordingly. The default fsid has
been removed as well.

Close: #24

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 00:54:21 +01:00
Alfredo Deza 4beec0a05d Merge pull request #18 from leseb/fix-rm-dev
Use full device name
2014-03-10 13:06:00 -04:00
Alfredo Deza 8925f47d76 Merge pull request #22 from leseb/fix-allow-disable-mds
Allow to disable MDS
2014-03-10 13:05:12 -04:00
Alfredo Deza 69d5953476 Merge pull request #23 from leseb/fix-hardcoded-eth
Remove hardcoded interface name
2014-03-10 12:49:01 -04:00
Sébastien Han 620d2d9a14 Remove hardcoded interface name
Add the ability to select a binding interface for the monitors.

Closes: #20

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-10 17:23:41 +01:00
Sébastien Han 739ee57d39 Allow to disable MDS
Even if MDS are not configured in site.yml the playbook has a
dependancy on the ceph.conf template.
This disables the mds section from the ceph.conf file.

Closes: #21

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-10 17:14:11 +01:00
Sébastien Han 4b6c8c1cfc Use full device name
Use full device name so we can specify custom devices (by-path, links
etc...)

Closes: #17

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-10 16:32:04 +01:00
Alfredo Deza c7175c1400 Merge pull request #13 from leseb/wip-support-install-rh
Multi distro installation support
2014-03-10 08:22:30 -04:00
Sébastien Han 6cdce8b5b2 Multi distro installation support
Now the playbook is able to install Ceph on RedHat systems.
This has been tested on CentOS 6.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-09 17:17:58 +01:00
Alfredo Deza 8577480e41 Merge pull request #11 from leseb/wip-multi-journal
Add multi-journal support and fix collocation scenario
2014-03-07 08:30:21 -05:00
Sébastien Han bb4796774b Add multi-journal support and fix collocation scenario
This commits brings the support of multiple journals where each journal
points to a specific OSD and vice-versa. The commit also clarifies the
usage of multi scenarios for both journal and osd_data.
In the meantime, it fixes the collocation scenario.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-07 14:04:25 +01:00
Alfredo Deza 018c71937d Merge pull request #10 from leseb/wip-check-sys-arch-support
Check system and architecture
2014-03-07 07:56:09 -05:00
Sébastien Han 9d06702fc2 Check system and architecture
If the system is not Linux and the architecture is not x86 Ansible will
fail and exit.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-07 11:20:48 +01:00