From a69091505e8fa311924450aaec55b906413a4dfb Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 18 Feb 2016 09:39:18 -0600 Subject: [PATCH] a playbook to add an OSD to an existing cluster The playbook uses the ceph-fetch-keys role to connect to the mons and retrieve keys for the OSD bootstrapping. Ensure that all your mons for the cluster you're adding the OSD to is in your inventory in the mons group. This ensures that a proper ceph.conf is created for the new OSD. Signed-off-by: Andrew Schoen --- osd-configure.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 osd-configure.yml diff --git a/osd-configure.yml b/osd-configure.yml new file mode 100644 index 000000000..a193dca10 --- /dev/null +++ b/osd-configure.yml @@ -0,0 +1,18 @@ +--- +# This playbook is used to add a new OSD to +# an existing cluster without the need for running +# the ceph-common or ceph-mon role again against all +# of the existing monitors. +# +# Ensure that all monitors are present in the mons +# group in your inventory so that the ceph.conf is +# created correctly for the new OSD. +- hosts: mons + become: True + roles: + - ceph-fetch-keys + +- hosts: osds + become: True + roles: + - ceph-osd -- 2.47.3