[Bug 1909162] Re: cluster log slow request spam

gerald.yang 1909162 at bugs.launchpad.net
Mon Feb 22 14:56:18 UTC 2021


The ceph package in ussuri-proposed fixes this issue

Detail steps:
1. deploy bionic+luminous
2. add cloud-archive:train
3. upgrade ceph to nautilus
4. add cloud-archive:ussuri
5. upgrade ceph to octopus
6. set osd_op_complaint_time to 0.1 for generating slow requests
7. run rados bench
8. check there are slow requests in OSD logs
9. check there is NO slow request details in ceph.log


** Tags removed: verification-ussuri-needed
** Tags added: verification-ussuri-done

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1909162

Title:
  cluster log slow request spam

Status in Ubuntu Cloud Archive:
  In Progress
Status in Ubuntu Cloud Archive train series:
  In Progress
Status in Ubuntu Cloud Archive ussuri series:
  Fix Committed
Status in ceph package in Ubuntu:
  In Progress
Status in ceph source package in Focal:
  Fix Committed
Status in ceph source package in Groovy:
  Fix Committed
Status in ceph source package in Hirsute:
  In Progress

Bug description:
  [Impact]

  A recent change (issue#43975 [0]) was made to slow request logging to
  include detail on each operation in the cluster logs. With this
  change, detail for every slow request is always sent to the monitors
  and added to the cluster logs.

  This does not scale. Large, high-throughput clusters can overwhelm
  their monitors with spurious logs in the event of a performance issue.
  Disrupting the monitors can then cause further instability in the
  cluster.

  This SRU reverts the cluster logging of every slow request the osd is
  processing.

  The slow request clog change was added in nautilus (14.2.10) and
  octopus (15.2.0).

  [Test Case]

  Stress the cluster with a benchmarking tool to generate slow requests
  and observe the cluster logs.

  [Where problems could occur]

  The cluster logs contain detailed debug information on slow requests
  that is useful for smaller, low-throughput clusters. While these logs
  are not used by ceph, they may be used by the cluster administrators
  (for monitoring or alerts). Changing this logging behavior may be
  unexpected.

  [Other Info]

  The intent is to re-enable this feature behind a configurable setting,
  but the solution must be discussed upstream.

  The same slow request detail can be enabled for each osd by raising
  the "debug osd" log level to 20.

  [0] https://tracker.ceph.com/issues/43975

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1909162/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list