From a7e456229701baf51fd4f25aaa1d4c422d7bf7e7 Mon Sep 17 00:00:00 2001 From: Yoann Moulin Date: Tue, 22 Aug 2017 16:57:12 +0200 Subject: [PATCH] fix radosgw-admin call with another cluster name than "ceph" --- roles/ceph-nfs/tasks/pre_requisite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-nfs/tasks/pre_requisite.yml b/roles/ceph-nfs/tasks/pre_requisite.yml index 9da9f256a..093d54e80 100644 --- a/roles/ceph-nfs/tasks/pre_requisite.yml +++ b/roles/ceph-nfs/tasks/pre_requisite.yml @@ -11,7 +11,7 @@ - /var/run/ganesha - name: create rgw nfs user - command: radosgw-admin user create --uid={{ ceph_nfs_rgw_user }} --display-name="RGW NFS User" + command: radosgw-admin --cluster {{ cluster }} user create --uid={{ ceph_nfs_rgw_user }} --display-name="RGW NFS User" register: rgwuser when: nfs_obj_gw