ceph-ansible/roles/ceph-osd
Sébastien Han 73cf0378c2 docker: osd, do not use priviledged container anymore
Oh yeah! This patch adds more fine grained control on how we run the
activation osd container. We now use --device to give a read, write and
mknodaccess to a specific device to be consumed by Ceph. We also use
SYS_ADMIN cap to allow mount operations, ceph-disk needs to temporary
mount the osd data directory during the activation sequence.

This patch also enables the support of dedicated journal devices when
deploying ceph-docker with ceph-ansible.

Depends on https://github.com/ceph/ceph-docker/pull/478

Signed-off-by: Sébastien Han <seb@redhat.com>
2017-02-21 15:54:36 -05:00
..
defaults docker: osd, do not use priviledged container anymore 2017-02-21 15:54:36 -05:00
meta use ceph-docker-common in roles that support docker deployments 2017-01-16 09:30:53 -06:00
tasks docker: osd, do not use priviledged container anymore 2017-02-21 15:54:36 -05:00
templates docker: osd, do not use priviledged container anymore 2017-02-21 15:54:36 -05:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Add contribution note 2015-07-25 11:10:39 +02:00

README.md

Ansible role: Ceph OSD

This role bootstraps Ceph OSD(s). It can bootstrap dockerized Ceph OSD(s).

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at: defaults/main.yml.

Mandatory variables

Choose between the following scenario to configure your OSDs, choose only one:

  • journal_collocation
  • raw_multi_journal
  • osd_directory

Then:

  • devices
  • raw_journal_devices (only if you activated raw_multi_journal)
  • osd_directories (only if you activated osd_directory)

Dependencies

The role leseb.ceph-common must be installed.

Example Playbook

- hosts: servers
  remote_user: ubuntu
  roles:
     - { role: leseb.ceph-osd }

Contribution

THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE

License

Apache

Author Information

This role was created by Sébastien Han.