]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/cephadm: ignore stray daemon warning during rados_api_tests
authorAdam King <adking@redhat.com>
Mon, 29 Apr 2024 17:54:37 +0000 (13:54 -0400)
committerAdam King <adking@redhat.com>
Mon, 29 Apr 2024 17:54:37 +0000 (13:54 -0400)
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 <adking@redhat.com>
qa/suites/orch/cephadm/thrash/1-start.yaml
qa/suites/rados/basic/tasks/rados_api_tests.yaml

index 66f9e18539340e48579600b1129f6cba9d1f6ee1..e6ed4eb6fe4142fda0764ac3b74c0200cb0bbcd0 100644 (file)
@@ -1,5 +1,7 @@
 overrides:
   ceph:
+    log-ignorelist:
+    - \(CEPHADM_STRAY_DAEMON\)
     log-only-match:
       - CEPHADM_
 tasks:
index f765663a34e4655839505fd89ec4a4472eb5b3c0..9446bc828d39d58f52216374322d5d7df164a0fb 100644 (file)
@@ -11,6 +11,7 @@ overrides:
     - \(POOL_APP_NOT_ENABLED\)
     - \(PG_AVAILABILITY\)
     - \(PG_DEGRADED\)
+    - \(CEPHADM_STRAY_DAEMON\)
     conf:
       client:
         debug ms: 1