Skip to content

Commit 1d97f67

Browse files
committed
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 <[email protected]>
1 parent 14f956b commit 1d97f67

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

qa/suites/orch/cephadm/thrash/1-start.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
overrides:
22
ceph:
3+
log-ignorelist:
4+
- \(CEPHADM_STRAY_DAEMON\)
35
log-only-match:
46
- CEPHADM_
57
tasks:

qa/suites/rados/basic/tasks/rados_api_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ overrides:
1111
- \(POOL_APP_NOT_ENABLED\)
1212
- \(PG_AVAILABILITY\)
1313
- \(PG_DEGRADED\)
14+
- \(CEPHADM_STRAY_DAEMON\)
1415
conf:
1516
client:
1617
debug ms: 1

0 commit comments

Comments
 (0)