]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/OSD: Log slow ops/types to cluster logs
authorSridhar Seshasayee <sseshasa@redhat.com>
Fri, 14 Feb 2020 11:13:52 +0000 (16:43 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 19 Feb 2020 09:01:48 +0000 (14:31 +0530)
commitd20f57000b52d1f17e2cdf666b39fef48cc288cd
treec2f8e7fd11b6012cb44c14c1830937f7eb0ab9be
parent6cd47842bb68f3e2058e8b748c53b5b6d1fb7cd2
osd/OSD: Log slow ops/types to cluster logs

In addition to logging slow ops in mon and osd specific log files,
re-introduce logging the same information along with slow op type
details to cluster logs as well. The objective is to make debugging
slow ops easier.

Modify the log whitelisting string to "slow request" within qa suites in
order to make the search for the new warning log message within the
cluster log successful. This should not cause any issue as it's a
substring of the earlier string.

Fixes: https://tracker.ceph.com/issues/43975
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/suites/rados/singleton/all/mon-memory-target-compliance.yaml.disabled
qa/suites/rados/singleton/all/pg-autoscaler.yaml
qa/tasks/thrashosds-health.yaml
src/osd/OSD.cc