Skip to content

Commit 822e6b0

Browse files
committed
qa/tasks/cephadm: enable mon_cluster_log_to_file
Without cluster_log_to_file we have nothing to grep for errors: 2023-10-27T16:06:59.111 DEBUG:teuthology.orchestra.run.smithi150:> sudo egrep '\[ERR\]|\[WRN\]|\[SEC\]' /var/log/ceph/38cc7fce-74d9-11ee-8db9-212e2dc638e7/ceph.log | egrep -v '\(MDS_ALL_DOWN\)' | egrep -v '\(MDS_UP_LESS_THAN_MAX\)' | head -n 1 2023-10-27T16:06:59.141 INFO:teuthology.orchestra.run.smithi150.stderr:grep: /var/log/ceph/38cc7fce-74d9-11ee-8db9-212e2dc638e7/ceph.log: No such file or directory Set mon_cluster_log_to_file = true. Fixes: https://tracker.ceph.com/issues/63425 Signed-off-by: Dan van der Ster <[email protected]>
1 parent 2be7a25 commit 822e6b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/tasks/cephadm.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
log_to_file = true
44
log_to_stderr = false
55
log to journald = false
6+
mon cluster log to file = true
67
mon cluster log file level = debug
78

89
mon clock drift allowed = 1.000

0 commit comments

Comments
 (0)