← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

** Changed in: sosreport (Ubuntu Bionic)
       Status: In Progress => Fix Released

** Changed in: sosreport (Ubuntu Xenial)
       Status: New => Invalid

-- 
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:
  Invalid
Status in sosreport source package in Bionic:
  Fix Released
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