]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: set default region and zone to all clients
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 13 Jan 2015 21:53:40 +0000 (13:53 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Jan 2015 22:38:55 +0000 (14:38 -0800)
Otherwise it's going to use zone 'default' for client.0, not as expected. Also
add region configuration to task.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
suites/rgw/singleton/all/radosgw-convert-to-region.yaml

index 2cf690c79da36b43bec4acfa538291661ee54f7b..292a1d2ae01bc72e1988a75c1316aaa431674b3a 100644 (file)
@@ -22,7 +22,7 @@ tasks:
 - install:
 - ceph:
     conf:
-        client.1: 
+        client:
           rgw region: default
           rgw zone: r1z1
           rgw region root pool: .rgw
@@ -32,6 +32,12 @@ tasks:
           rgw user uid pool: .users.uid
           rgw user keys pool: .users
 - rgw:
+    regions:
+      default:
+        api name: api1
+        is master: true
+        master zone: r1z1
+        zones: [r1z1]
     client.0:
       system user:
         name: nr-system