]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: do not copy admin key on collocated scenario
authorSébastien Han <seb@redhat.com>
Mon, 2 Oct 2017 09:05:14 +0000 (11:05 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 3 Oct 2017 12:44:00 +0000 (14:44 +0200)
ceph-disk used to have a bug requiring the admin key to store the
encrypted key in the mon kv store. This was reported in:
http://tracker.ceph.com/issues/17849

Fixed and backported here: https://github.com/ceph/ceph/pull/11996

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-osd/tasks/pre_requisite.yml

index 39afc7911fb3498c33a3dca60073539ed4b4612e..805656c913fe3dec6c45694e63333666c0964cdb 100644 (file)
     - /var/lib/ceph/bootstrap-osd/
     - /var/lib/ceph/osd/
 
-- name: set_fact copy_admin_key
-  set_fact:
-    copy_admin_key: true
-  when:
-    - osd_scenario == 'collocated'
-
 - name: copy osd bootstrap key
   copy:
     src: "{{ fetch_directory }}/{{ fsid }}{{ item.name }}"