aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
diff options
context:
space:
mode:
authorgraiss <grakiss.wanglei@huawei.com>2015-10-31 17:13:03 +0800
committergraiss <grakiss.wanglei@huawei.com>2015-11-02 16:07:47 +0800
commit9e28b43af14bdaa4693b3d05a043ff6cdb797fbf (patch)
tree444dcdbef3f47bf223316f1891aecb6f6338da20 /deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
parent6ccf509ef306522f9038d942e7bb936084e3610f (diff)
FIX: ceph Deployment failed: RuntimeError: bootstrap-osd keyring not found
JIRA: COMPASS-85 - try to gather keys manually before next operation Change-Id: I32a7e79488813c42b5ead0f08675cf346c81eb54 Signed-off-by: graiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml')
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
index ed88cd5c..6ce01b86 100644
--- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
+++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
@@ -10,6 +10,10 @@
- name: create monitor node in controller group
shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --overwrite-conf mon create-initial
+- name: gather keys
+ shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy gatherkeys {{ ceph_cluster_hosts.stdout_lines[0] }}
+ ignore_errors: True
+
- name: copy create_osd.sh to host1
copy: src=create_osd.sh dest=~/create_osd.sh mode=0777
tags: