]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: test_multi.py creates realm with --default
authorCasey Bodley <cbodley@redhat.com>
Fri, 23 Aug 2024 19:54:18 +0000 (15:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 26 Aug 2024 21:59:37 +0000 (17:59 -0400)
mstart.sh relies on default realm/zonegroup/zone configuration, because
it doesn't supply them to radosgw as config options

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c5a8afd56a88dda9463d604ccdcd339a30f33247)

src/test/rgw/test_multi.py

index cef6850c88a030919844b225a66c5ac68b5ee591..295c70883f7552818ea546421929cff84f7f23f3 100644 (file)
@@ -251,7 +251,7 @@ def init(parse_args):
     realm = multisite.Realm('r')
     if bootstrap:
         # create the realm on c1
-        realm.create(c1)
+        realm.create(c1, ['--default'])
     else:
         realm.get(c1)
     period = multisite.Period(realm=realm)
@@ -305,7 +305,7 @@ def init(parse_args):
                     cluster.start()
                     # pull realm configuration from the master's gateway
                     gateway = realm.meta_master_zone().gateways[0]
-                    realm.pull(cluster, gateway, admin_creds)
+                    realm.pull(cluster, gateway, admin_creds, ['--default'])
 
             endpoints = zone_endpoints(zg, z, args.gateways_per_zone)
             if is_master: