]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon: remove collect keys 1162/head
authorSébastien Han <seb@redhat.com>
Wed, 7 Dec 2016 13:36:24 +0000 (14:36 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 7 Dec 2016 13:38:39 +0000 (14:38 +0100)
Once the monitor process starts it will also trigger `ceph-create-keys`
which will collect the admin key and bootstrap keys. We used to force
this command because we were having issues on some distros like centos
7.0 and 7.1 not triggering this. This is fixed on centos 7.2 and not an
issue on ubuntu 14.04 or 16.04 so we can remove this task. If the
monitor hangs or fails to start the playbook will fail right after at
the "wait for client.admin key exists" task after 300sec.

Closes: #1161
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mon/tasks/start_monitor.yml

index 0999673fa23b83f8890fa031d8b79c8db507bf0d..17b02490a5af656dd2b2ba151f27b5d0d1194312 100644 (file)
@@ -60,9 +60,3 @@
   when:
     - use_systemd
     - ceph_release_num.{{ ceph_release }} > ceph_release_num.hammer
-
-- name: collect admin and bootstrap keys
-  command: ceph-create-keys --cluster {{ cluster }} --id {{ monitor_name }}
-  changed_when: false
-  failed_when:  false
-  when: cephx