Fix error caused by missing OSD cluster keyring

Ansible task was not properly fetching OSD cluster keyring causing
the keyring to be missing when we needed to authenticate. Similarly, we
were not properly waiting on the OSD keyring to be available before
continuing.

Signed-off-by: Ivan Font <ifont@redhat.com>
pull/1107/head
Ivan Font 2016-11-17 23:03:11 -08:00
parent 5b8b9534c0
commit 92ffc5307d
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
wait_for wait_for
path="{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}" path="{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}"
become: false become: false
with_together: "{{ ceph_config_keys }}" with_items: "{{ ceph_config_keys }}"
- name: stat for ceph config and keys - name: stat for ceph config and keys
local_action: stat path={{ fetch_directory }}/docker_mon_files/{{ item }} local_action: stat path={{ fetch_directory }}/docker_mon_files/{{ item }}
@ -28,4 +28,4 @@
group: root group: root
mode: 0644 mode: 0644
changed_when: false changed_when: false
with_together: "{{ ceph_config_keys }}" with_items: "{{ ceph_config_keys }}"

View File

@ -22,7 +22,7 @@ cluster_subnet: 192.168.1
# MEMORY # MEMORY
memory: 1024 memory: 1024
disks: "[ '/dev/sdb', '/dev/sdc' ]" disks: "[ '/dev/sda', '/dev/sdb' ]"
eth: 'enp0s8' eth: 'enp0s8'
vagrant_box: centos/atomic-host vagrant_box: centos/atomic-host