From e0620eefbdf5c9fb7145b4fba0d7fafe2d337645 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 7 Aug 2020 01:11:53 +0800 Subject: [PATCH] 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 da76f4646157d518a325d5534c30f59aba8fc0e6 Signed-off-by: Kefu Chai --- qa/tasks/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 039ccc25ea57..692affd7e561 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -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: -- 2.47.3