mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
rgw: test-multi: craft admin command line options differently
The problem was specifically with the "--rgw-cache-enabled false" param. This doesn't work like that anymore, need to either pass --rgw-cache-enabled=false, or --no-rgw-cache-enabled. Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
parent
f8c4d1fb73
commit
ca4b319bcf
@ -61,10 +61,10 @@ class Cluster(multisite.Cluster):
|
||||
cmd = [test_path + 'test-rgw-call.sh', 'call_rgw_admin', self.cluster_id]
|
||||
if args:
|
||||
cmd += args
|
||||
cmd += ['--debug-rgw', str(kwargs.pop('debug_rgw', 0))]
|
||||
cmd += ['--debug-ms', str(kwargs.pop('debug_ms', 0))]
|
||||
cmd += ['--debug-rgw=' + str(kwargs.pop('debug_rgw', 0))]
|
||||
cmd += ['--debug-ms=' + str(kwargs.pop('debug_ms', 0))]
|
||||
if kwargs.pop('read_only', False):
|
||||
cmd += ['--rgw-cache-enabled', 'false']
|
||||
cmd += ['--rgw-cache-enabled=false']
|
||||
return bash(cmd, **kwargs)
|
||||
|
||||
def start(self):
|
||||
|
Loading…
Reference in New Issue
Block a user