From 50b7c99c68f99b0d54bef72b3cdf8fe48dce196b Mon Sep 17 00:00:00 2001 From: "K.C. Wong" Date: Thu, 17 Mar 2016 11:58:13 -0700 Subject: [PATCH] Create the directory used for rbd-clients sockets * `/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 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-rgw/tasks/pre_requisite.yml b/roles/ceph-rgw/tasks/pre_requisite.yml index 255dfeb04..4d4009d4e 100644 --- a/roles/ceph-rgw/tasks/pre_requisite.yml +++ b/roles/ceph-rgw/tasks/pre_requisite.yml @@ -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: