From 2a0b467bc4f520865a520cf634043c848f1a5989 Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Thu, 7 May 2015 17:44:37 -0400 Subject: [PATCH] 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 --- ceph_deploy/rgw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3