← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1893109] Re: [plugin][ceph] collect ceph balancer and pr-autoscale status

 

This bug was fixed in the package sosreport - 4.0-1~ubuntu0.20.04.2

---------------
sosreport (4.0-1~ubuntu0.20.04.2) focal; urgency=medium

  [Eric Desrochers]
  * d/p/0003-sosclean-fix-handling-of-filepath-with-archive-name.patch:
    - Fixes the splitting of filepaths within the archive,
      when the archive name is included in the filename
      inside the archive. (LP: #1896222)

  * d/p/0004-sosclean-fix-tarball-skipping-regex.patch:
    - Fix tarball skipping regex

  [Dan Hill]
  * d/p/0005-ceph-collect-balancer-and-pg-autoscale-status.patch:
    - Collect balancer and pg-autoscale status (LP: #1893109)

  [Nicolas Bock]
  * d/p/0006-rabbitmq-add-info-on-maybe-stuck-processes.patch:
    - Add information on maybe_stuck() processes for RMQ. (LP: #1890846)

  * d/p/0007-rabbitmq-add-10sec-timeout-to-call-to-maybestuck.patch:
    - Add 10 second timeout to call to `maybe_stuck()`.

 -- Eric Desrochers <eric.desrochers@xxxxxxxxxxxxx>  Wed, 30 Sep 2020
14:29:50 -0400

** Changed in: sosreport (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1893109

Title:
  [plugin][ceph] collect ceph balancer and pr-autoscale status

Status in sosreport:
  Fix Released
Status in sosreport package in Ubuntu:
  Fix Released
Status in sosreport source package in Xenial:
  New
Status in sosreport source package in Bionic:
  In Progress
Status in sosreport source package in Focal:
  Fix Released
Status in sosreport source package in Groovy:
  Fix Released

Bug description:
  [Impact]

  It would be nice to collect:

  ceph osd pool autoscale-status
  ceph balancer status

  https://docs.ceph.com/docs/master/rados/operations/placement-groups/

  VIEWING PG SCALING RECOMMENDATIONS
  You can view each pool, its relative utilization, and any suggested changes to the PG count with this command:

  ceph osd pool autoscale-status
  https://docs.ceph.com/docs/mimic/mgr/balancer/

  STATUS
  The current status of the balancer can be check at any time with:

  ceph balancer status

  [Test Case]

  * Install latest sosreport found in -updates
  * Run sosreport -o ceph (version 3.X and/or 4.X) or sos report -o ceph (4.X only)
  * Look content inside /path_to_sosreport/sos_command/ceph/
  * Make sure the 2 new commands are found there.
  * There will be 3 additional files, as the autoscale-status is also captured in JSON format.

  [Regression Potential]
  This patch adds two commands to the collected command output. Potential regressions would include a command typo, a command hang, a code typo. 
  - A command typo would result in a failed command which should capture the command error output.
  - A command hang will result in the ceph plug-in taking a long time to complete (hitting the default sos timeout). 
  - A code typo will raise an exception in the ceph plug-in halting further ceph data capture.

  [Other Info]
  Both commands are querying the ceph's internal state, without grabbing any locks or performing any modifications. The commands are expected to return very quickly. 

  [Original Description]
  It would be nice to collect:

  ceph osd pool autoscale-status
  ceph balancer status

  Upstream report: https://github.com/sosreport/sos/issues/2211
  Upstream commit: https://github.com/sosreport/sos/commit/52f4661e2b594134b98e2967b02cc860d7963fef

To manage notifications about this bug go to:
https://bugs.launchpad.net/sosreport/+bug/1893109/+subscriptions