]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
Recursively create /var/lib/ceph/radosgw/... path 283/head
authorTravis Rhoden <trhoden@redhat.com>
Thu, 7 May 2015 21:44:37 +0000 (17:44 -0400)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 7 May 2015 21:44:37 +0000 (17:44 -0400)
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 <trhoden@redhat.com>
ceph_deploy/rgw.py

index 7364efc75fe15c7725846d620e03e4d0f985d188..f4e4b1d86a52af52e8b3c1be159acea025b4c4e0 100644 (file)
@@ -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