From d10a2cc4b6ce12d4d72654def2e233f8b8566ce3 Mon Sep 17 00:00:00 2001 From: Ha Phan Date: Thu, 21 Jun 2018 16:08:39 +0800 Subject: [PATCH] ceph-mon: Generate initial keyring Minor fix so that initial keyring can be generated using python3. Signed-off-by: Ha Phan (cherry picked from commit a7b7735b6fd23985d24a492f1bf4c5be7f1961b2) --- roles/ceph-mon/tasks/deploy_monitors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/deploy_monitors.yml b/roles/ceph-mon/tasks/deploy_monitors.yml index 87096e56a..a9a4b3249 100644 --- a/roles/ceph-mon/tasks/deploy_monitors.yml +++ b/roles/ceph-mon/tasks/deploy_monitors.yml @@ -2,7 +2,7 @@ - name: generate monitor initial keyring local_action: module: shell - python2 -c "import os ; import struct ; import time; import base64 ; key = os.urandom(16) ; header = struct.pack('