mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
qa/tasks/ceph: redirect stderr for crimson flavor
we should redirect stderr for crimson instead for default flavor. this
change addresses a regression introduced by
da76f46461
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
2ccd47711b
commit
e0620eefbd
@ -541,7 +541,7 @@ def create_simple_monmap(ctx, remote, conf, mons,
|
||||
|
||||
def maybe_redirect_stderr(args, config, cluster, type_, id_):
|
||||
if type_ == 'osd' and \
|
||||
config.get('flavor', 'default') != 'crimson':
|
||||
config.get('flavor', 'default') == 'crimson':
|
||||
log_path = f'/var/log/ceph/{cluster}-{type_}.{id_}.log'
|
||||
return args + [run.Raw('2>>'), log_path]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user