From 9e28b43af14bdaa4693b3d05a043ff6cdb797fbf Mon Sep 17 00:00:00 2001 From: graiss Date: Sat, 31 Oct 2015 17:13:03 +0800 Subject: 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 --- deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy/adapters/ansible/roles/cinder-volume/tasks') diff --git a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml index a258a0cf..6b193d6e 100644 --- a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml +++ b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml @@ -15,11 +15,11 @@ - name: load loop.yml include: loop.yml - when: status.stat.isblk == False + when: status.stat.exists == False or status.stat.isblk == False - name: load real.yml include: real.yml - when: status.stat.isblk == True + when: status.stat.exists == True and status.stat.isblk == True - name: upload cinder-volume configuration template: src=cinder.conf dest=/etc/cinder/cinder.conf -- cgit 1.2.3-korg