[Bug 1906496] Please test proposed package

Corey Bryant 1906496 at bugs.launchpad.net
Thu Jan 7 13:17:59 UTC 2021


Hello dongdong, or anyone else affected,

Accepted ceph into queens-proposed. The package will build now and be
available in the Ubuntu Cloud Archive in a few hours, and then in the
-proposed repository.

Please help us by testing this new package. To enable the -proposed
repository:

  sudo add-apt-repository cloud-archive:queens-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-queens-needed to verification-queens-done. If it does
not fix the bug for you, please add a comment stating that, and change
the tag to verification-queens-failed. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: cloud-archive/queens
       Status: Triaged => Fix Committed

** Tags added: verification-queens-needed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1906496

Title:
  [SRU] mgr can be very slow in a large ceph cluster

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive queens series:
  Fix Committed
Status in Ubuntu Cloud Archive stein series:
  Fix Committed
Status in Ubuntu Cloud Archive train series:
  Fix Released
Status in Ubuntu Cloud Archive ussuri series:
  Fix Released
Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Bionic:
  Fix Committed
Status in ceph source package in Focal:
  Fix Released
Status in ceph source package in Groovy:
  Fix Released
Status in ceph source package in Hirsute:
  Fix Released

Bug description:
  [Impact]
  Ceph upstream implemented a new feature [1] that will check/report those long network ping times between OSDs, but it introduced an issue that ceph-mgr might be very slow because it needs to dump all the new OSD network ping stats [2] for some tasks, this can be bad especially when the cluster has large number of OSDs.

  Since these kind OSD network ping stats doesn't need to be exposed to
  the python mgr module. so, it only makes the mgr doing more work than
  it needs to, it could cause the mgr slow or even hang and could cause
  the CPU usage of mgr process constantly high. The fix is to disable
  the ping time dump for those mgr python modules.

  This resulted in ceph-mgr not responding to commands and/or hanging
  (and had to be restarted) in clusters with a large number of OSDs.

  [0] is the upstream bug. It was backported to Nautilus but rejected
  for Luminous and Mimic because they reached EOL in upstream. But I
  want to backport to these two releases Ubuntu/UCA.

  The major fix from upstream is here [3], and also I found an
  improvement commit [4] that submitted later in another PR.

  [Test Case]
  Deploy a Ceph cluster (Luminous 13.2.9 or Mimic 13.2.9) with large number of Ceph OSDs (600+). During normal operations of the cluster, as the ceph-mgr dumps the network ping stats regularly, this problem would manifest. This is relatively hard to reproduce as the ceph-mgr may not always get overloaded and thus not hang.

  A simpler version could be to deploy a Ceph cluster with as many OSDs
  as the hardware/system setup allows (not necessarily 600+) and drive
  I/O on the cluster for sometime (say, 60 mins). Then various queries
  could be sent to the manager to verify it does report and doesn't get
  stuck.

  [Regression Potential]
  Fix has been accepted upstream (the changes are here in "sync" with upstream to the extent these old releases match the latest source code) and have been confirmed to work. So the risk is minimal.

  At worst, this could affect modules that consume the stats from ceph-
  mgr  (such as prometheus or other monitoring scripts/tools) and thus
  becomes less useful. But still shouldn't cause any problems to the
  operations of the cluster itself.

  [Other Info]
  - In addition to the fix from [1], another commit [4] is also cherry-picked and backported here - this was also accepted upstream.

  - Since the ceph-mgr hangs when affected, this also impact sosreport
  collection - commands time out as the mgr doesn't respond and thus
  info get truncated/not collected in that case. This fix should help
  avoid that problem in sosreports.

  [0] https://tracker.ceph.com/issues/43364
  [1] https://github.com/ceph/ceph/pull/28755
  [2] https://github.com/ceph/ceph/pull/28755/files#diff-5498d83111f1210998ee186e98d5836d2bce9992be7648addc83f59e798cddd8L430
  [3] https://github.com/ceph/ceph/pull/32406
  [4] https://github.com/ceph/ceph/pull/32554/commits/1112584621016c4a8cac1bedb1a1b8b17c394f7f

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



More information about the Ubuntu-sponsors mailing list