]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix error caused by missing OSD cluster keyring 1107/head
authorIvan Font <ifont@redhat.com>
Fri, 18 Nov 2016 07:03:11 +0000 (23:03 -0800)
committerIvan Font <ifont@redhat.com>
Fri, 18 Nov 2016 07:03:11 +0000 (23:03 -0800)
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>
roles/ceph-osd/tasks/docker/fetch_configs.yml
vagrant_variables.yml.atomic

index 0e1f0658a99265b81a22286b80dd2c8b29665759..5a740f7a6b13dc8182c9bafd83b42f93961a2e0f 100644 (file)
@@ -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 }}"
index 830bb9d29432dcb246f0d6f29657ea67601879d5..4f1fecaf554f26fdab52b690ce8b7ba2291e272d 100644 (file)
@@ -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