]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mon: do not serialized container bootstrap
authorSébastien Han <seb@redhat.com>
Fri, 16 Nov 2018 09:50:38 +0000 (10:50 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Dec 2018 13:39:43 +0000 (14:39 +0100)
commit14fc5bad12e29e182e0469e996e96ab9f4943dc2
treee894fa4ddeccd939469cc718b933f7247ff6267e
parent61082b3b3233568203f8c56466454975389d8f6e
mon: do not serialized container bootstrap

This commit unifies the container and non-container code, which in the
meantime gives use the ability to deploy N mon container at the same
time without having to serialized the deployment. This will drastically
reduces the time needed to bootstrap the cluster.
Note, this is only possible since Nautilus because the monitors are
bootstrap the initial keys on their own once they reach quorum. In the
Nautilus version of the ceph-container mon, we stopped generating the
keys 'manually' from inside the container, for more detail see: https://github.com/ceph/ceph-container/pull/1238

Signed-off-by: Sébastien Han <seb@redhat.com>
13 files changed:
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-mon/tasks/ceph_keys.yml
roles/ceph-mon/tasks/configure_ceph_command_aliases.yml [new file with mode: 0644]
roles/ceph-mon/tasks/deploy_monitors.yml
roles/ceph-mon/tasks/docker/configure_ceph_command_aliases.yml [deleted file]
roles/ceph-mon/tasks/docker/copy_configs.yml [deleted file]
roles/ceph-mon/tasks/docker/fetch_configs.yml [deleted file]
roles/ceph-mon/tasks/docker/main.yml [deleted file]
roles/ceph-mon/tasks/docker/start_docker_monitor.yml [deleted file]
roles/ceph-mon/tasks/main.yml
roles/ceph-mon/tasks/start_monitor.yml
roles/ceph-osd/tasks/openstack_config.yml
site-container.yml.sample