Commit Graph

3965 Commits (0fb8812e47049a42999ba208403f28346bc18a16)
 

Author SHA1 Message Date
Jimmy Tang b34ead5457 make radosgw_interface configurable for haproxy 2014-03-16 09:43:49 +00:00
Jimmy Tang ea88bd6eaa microformat variable to be in line with rest of roles and playbooks 2014-03-16 09:40:27 +00:00
Jimmy Tang 63f7e5deb3 fix up indentation in configuration file 2014-03-16 09:39:33 +00:00
Jimmy Tang 8841b9d37a more meaningful backend name 2014-03-15 12:10:59 +00:00
Jimmy Tang ecdd54d6f9 Initial add of haproxy example for fronting a number of radosgw's 2014-03-15 08:58:24 +00:00
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
Jimmy Tang 5130999435 Update provided facts key to return ansible_facts key 2014-03-11 11:12:41 +00:00
Jimmy Tang 203e05ef08 Update common module boilerplate snippet 2014-03-11 11:12:41 +00:00
Jimmy Tang 5a83a3052c Import of ceph_facts module
Example usage

    ansible -i hosts.foo -m ceph_facts

See source for additional examples
2014-03-11 11:12:41 +00: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