From 93c3988bfe3086267c68d4c4e92964d31bf8e9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 7 Dec 2016 14:36:24 +0100 Subject: [PATCH] mon: remove collect keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- roles/ceph-mon/tasks/start_monitor.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/ceph-mon/tasks/start_monitor.yml b/roles/ceph-mon/tasks/start_monitor.yml index 0999673fa..17b02490a 100644 --- a/roles/ceph-mon/tasks/start_monitor.yml +++ b/roles/ceph-mon/tasks/start_monitor.yml @@ -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