ceph-ansible/roles/ceph-mon
Sébastien Han 1e6c418a65 mon: destroy and recreate rbd pool if necessary
Users reported that pool_default_pg_num is not honoured for the default
pool 'rbd'. So now we check the pg num value for the RBD pool and if it
does not match pool_default_pg_num then we delete and recreate it.
We also make sure the pool is empty first, just in case someone changed
the value manually and didn't reflect the change in ceph-ansible.

The only issue with this patch is that the pool ID will not be 0 anymore
but more likely 1.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-22 01:31:15 +02:00
..
defaults Allow deployer to customize openstack pools 2016-09-21 14:49:42 -03:00
files/precise Rename roles' names 2014-07-08 15:39:42 +02:00
meta wip: galaxy roles dependencies 2016-03-02 13:52:56 +01:00
tasks mon: destroy and recreate rbd pool if necessary 2016-10-22 01:31:15 +02:00
templates Add option to enable ntp 2016-08-08 10:16:48 -07: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 Monitor

This role mainly bootstraps Ceph monitor(s) but also has several capabilities:

  • Deploys Ceph monitor(s)
  • Manages Ceph keys
  • Can create OpenStack pools, users and keys
  • Secures a cluster (protect pools)
  • Bootstraps dockerized Ceph monitors

Requirements

Nothing, it runs out of the box.

Role variables

Have a look at: defaults/main.yml.

Mandatory variables

None.

Dependencies

The role leseb.ceph-common must be installed.

Example Playbook

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

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.