From 92ffc5307deb1407643f1ad3025e8cbd8207e559 Mon Sep 17 00:00:00 2001 From: Ivan Font Date: Thu, 17 Nov 2016 23:03:11 -0800 Subject: [PATCH] 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 --- roles/ceph-osd/tasks/docker/fetch_configs.yml | 4 ++-- vagrant_variables.yml.atomic | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/ceph-osd/tasks/docker/fetch_configs.yml b/roles/ceph-osd/tasks/docker/fetch_configs.yml index 0e1f0658a..5a740f7a6 100644 --- a/roles/ceph-osd/tasks/docker/fetch_configs.yml +++ b/roles/ceph-osd/tasks/docker/fetch_configs.yml @@ -10,7 +10,7 @@ wait_for path="{{ playbook_dir }}/{{ fetch_directory }}/docker_mon_files/{{ item.0 }}" become: false - with_together: "{{ ceph_config_keys }}" + with_items: "{{ ceph_config_keys }}" - name: stat for ceph config and keys local_action: stat path={{ fetch_directory }}/docker_mon_files/{{ item }} @@ -28,4 +28,4 @@ group: root mode: 0644 changed_when: false - with_together: "{{ ceph_config_keys }}" + with_items: "{{ ceph_config_keys }}" diff --git a/vagrant_variables.yml.atomic b/vagrant_variables.yml.atomic index 830bb9d29..4f1fecaf5 100644 --- a/vagrant_variables.yml.atomic +++ b/vagrant_variables.yml.atomic @@ -22,7 +22,7 @@ cluster_subnet: 192.168.1 # MEMORY memory: 1024 -disks: "[ '/dev/sdb', '/dev/sdc' ]" +disks: "[ '/dev/sda', '/dev/sdb' ]" eth: 'enp0s8' vagrant_box: centos/atomic-host -- 2.47.3