From 1d97f673d31e65bcce1ac8a3164824d5299b108c Mon Sep 17 00:00:00 2001 From: Adam King Date: Mon, 29 Apr 2024 13:54:37 -0400 Subject: [PATCH] qa/cephadm: ignore stray daemon warning during rados_api_tests The "stray daemon" that is getting logged about in this test is from "stray daemon laundry.pid70383 on host smithi027 not managed by cephadm". It seems the rados_api_tests is creating some additional "laundry" entity during these tests that gets reported as an actual daemon in the mgr, but cephadm is unaware of it, resulting in the warning. Originally we thought to maybe add "laundry" itself to the ignorelist, but without an additional patch that added extra logging for debug purposes (which can't be merged) the log statement found in the logs due to this problem will not say what daemon it found to be stray. There will just be a generic warning about a stray daemon. In a real cluster, a user would then check "ceph health detail" to find out what daemon is stray, but the log scraper can't do this and just fails the test due to the presence of the warning. Signed-off-by: Adam King --- qa/suites/orch/cephadm/thrash/1-start.yaml | 2 ++ qa/suites/rados/basic/tasks/rados_api_tests.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/qa/suites/orch/cephadm/thrash/1-start.yaml b/qa/suites/orch/cephadm/thrash/1-start.yaml index 66f9e185393..e6ed4eb6fe4 100644 --- a/qa/suites/orch/cephadm/thrash/1-start.yaml +++ b/qa/suites/orch/cephadm/thrash/1-start.yaml @@ -1,5 +1,7 @@ overrides: ceph: + log-ignorelist: + - \(CEPHADM_STRAY_DAEMON\) log-only-match: - CEPHADM_ tasks: diff --git a/qa/suites/rados/basic/tasks/rados_api_tests.yaml b/qa/suites/rados/basic/tasks/rados_api_tests.yaml index f765663a34e..9446bc828d3 100644 --- a/qa/suites/rados/basic/tasks/rados_api_tests.yaml +++ b/qa/suites/rados/basic/tasks/rados_api_tests.yaml @@ -11,6 +11,7 @@ overrides: - \(POOL_APP_NOT_ENABLED\) - \(PG_AVAILABILITY\) - \(PG_DEGRADED\) + - \(CEPHADM_STRAY_DAEMON\) conf: client: debug ms: 1 -- 2.39.5