mirror of
https://github.com/ceph/ceph
synced 2025-02-19 17:08:05 +00:00
qa/rgw/multisite: add optional --default arg to 'realm pull'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
7bbaa31664
commit
15df7efca5
@ -139,7 +139,10 @@ class RGWMultisite(Task):
|
||||
|
||||
if cluster != cluster1: # already created on master cluster
|
||||
log.info('pulling realm configuration to %s', cluster.name)
|
||||
realm.pull(cluster, master_zone.gateways[0], creds)
|
||||
|
||||
is_default = self.config['realm'].get('is_default', False)
|
||||
args = ['--default'] if is_default else []
|
||||
realm.pull(cluster, master_zone.gateways[0], creds, args)
|
||||
|
||||
# use the first zone's cluster to create the zonegroup
|
||||
if not zonegroup:
|
||||
|
Loading…
Reference in New Issue
Block a user