ceph / ceph-ansible

Ansible playbooks to deploy Ceph, the distributed filesystem.
Apache License 2.0
1.67k stars 1.01k forks source link

use mon_initial_members instead of ceph.mon sections? #803

Closed leseb closed 8 years ago

leseb commented 8 years ago

@alfredodeza any thoughts? Looks like this will be helpful to integrate more closely with the OSP installer.

alfredodeza commented 8 years ago

initial members is what ceph-deploy uses, and it is nice/easier to consume. The issue is if the initial members change (or new mons get added). For a new deployment it certainly works.

leseb commented 8 years ago

What I personally like about the option is that we don't need to know all the monitors from the get-go. I'll create a wip for this.

Thanks @alfredodeza for your inputs!

mattt416 commented 8 years ago

We just implemented mon initial members in rpc-openstack using ceph_conf_overrides so we can always run our MON and OSD playbooks serially. See https://github.com/rcbops/rpc-openstack/pull/1101/files.

leseb commented 8 years ago

@mattt416 thanks, will push a PR soon :)

leseb commented 8 years ago

PR is here: https://github.com/ceph/ceph-ansible/pull/815