]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Create the directory used for rbd-clients sockets 635/head
authorK.C. Wong <kcwong@verseon.com>
Thu, 17 Mar 2016 18:58:13 +0000 (11:58 -0700)
committerK.C. Wong <kcwong@verseon.com>
Thu, 17 Mar 2016 21:35:22 +0000 (14:35 -0700)
* `/var/run/ceph/rbd-clients` is not created automatically
* because it is missing, ceph-rgw complains about missing client
  socket on start up; it is because the containing directory is
  not there
* so we just add it to the list of directory pre-requisite

roles/ceph-rgw/tasks/pre_requisite.yml

index 255dfeb04fd97a6e0a8c97ddbf6787b0be3674e2..4d4009d4ee3d323f4fb99f73418c04c82beea8a8 100644 (file)
@@ -9,6 +9,7 @@
   with_items:
     - /var/lib/ceph/bootstrap-rgw
     - /var/lib/ceph/radosgw/ceph-rgw.{{ ansible_hostname }}
+    - "{{ rbd_client_admin_socket_path }}"
 
 - name: copy rados gateway bootstrap key
   copy: