From: Travis Rhoden Date: Thu, 7 May 2015 21:44:37 +0000 (-0400) Subject: Recursively create /var/lib/ceph/radosgw/... path X-Git-Tag: v1.5.24~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a0b467bc4f520865a520cf634043c848f1a5989;p=ceph-deploy.git Recursively create /var/lib/ceph/radosgw/... path Previously we would fail if /var/lib/ceph/radosgw didn't already exist. Go ahead and make that directory if needed. Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/rgw.py b/ceph_deploy/rgw.py index 7364efc..f4e4b1d 100644 --- a/ceph_deploy/rgw.py +++ b/ceph_deploy/rgw.py @@ -34,7 +34,7 @@ def create_rgw(distro, name, cluster, init): name=name ) - conn.remote_module.safe_mkdir(path) + conn.remote_module.safe_makedirs(path) bootstrap_keyring = '/var/lib/ceph/bootstrap-rgw/{cluster}.keyring'.format( cluster=cluster