Initial commit
Add Ceph Playbook

Initial commit.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Merge pull request #1 from leseb/wip-ceph-ansible-playbook-init

Add Ceph Playbook
Cleanup redundant command

Since the fetch module takes care of the permissions it is not necessary
to set them with another module. The second command is useless.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Merge pull request #2 from leseb/wip-cleanup

Cleanup redundant command
Support diverse setup disks

This brings the support of heterogeneous hardware. Not all the servers
are identical, some have more or less disks than the others. Prior this
commit, the 'parted' command was hanging, now the command simply exits 1
if the device doesn't exist, same for the 'egrep' piped command after.
Then we skip these errors and continue to run. So now, you can specify
multiple devices in group_vars/osds that don't exist on all the
servers.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Merge pull request #4 from leseb/wip-many-devices

Support diverse setup disks
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>
Merge pull request #10 from leseb/wip-check-sys-arch-support

Check system and architecture
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>
Merge pull request #11 from leseb/wip-multi-journal

Add multi-journal support and fix collocation scenario
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>
Merge pull request #13 from leseb/wip-support-install-rh

Multi distro installation support
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>
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>
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>
Merge pull request #23 from leseb/fix-hardcoded-eth

Remove hardcoded interface name
Merge pull request #22 from leseb/fix-allow-disable-mds

Allow to disable MDS
Merge pull request #18 from leseb/fix-rm-dev

Use full device name
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>