]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephadm: ignore stray daemon warning during rados_api_tests 57144/head
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)
commit1d97f673d31e65bcce1ac8a3164824d5299b108c
tree86df3d1824cb34db4d30532be01d3c204836e1fd
parent14f956b95eb2902d7a33b1026c450cb388ada113
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 <adking@redhat.com>
qa/suites/orch/cephadm/thrash/1-start.yaml
qa/suites/rados/basic/tasks/rados_api_tests.yaml