[plugin][ceph] collect ceph balancer and pr-autoscale status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport |
Fix Released
|
Unknown
|
|||
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Dan Hill | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Bionic |
In Progress
|
Medium
|
Dan Hill | ||
Focal |
Fix Released
|
Medium
|
Dan Hill | ||
Groovy |
Fix Released
|
Medium
|
Dan Hill |
Bug Description
[Impact]
It would be nice to collect:
ceph osd pool autoscale-status
ceph balancer status
https:/
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:/
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_
* 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:/
Upstream commit: https:/
Changed in sosreport: | |
status: | Unknown → Fix Released |
tags: | added: seg sts |
Changed in sosreport (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → Chris Johnston (cjohnston) |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | Chris Johnston (cjohnston) → Eric Desrochers (slashd) |
Changed in sosreport (Ubuntu Groovy): | |
assignee: | Eric Desrochers (slashd) → nobody |
assignee: | nobody → Dan Hill (hillpd) |
summary: |
- Backport - collect ceph balancer and pr-autoscale status + [plugin][ceph] Backport - collect ceph balancer and pr-autoscale status |
summary: |
- [plugin][ceph] Backport - collect ceph balancer and pr-autoscale status + [plugin][ceph] collect ceph balancer and pr-autoscale status |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → Dan Hill (hillpd) |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | nobody → Dan Hill (hillpd) |
Changed in sosreport (Ubuntu Groovy): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Focal): | |
status: | New → In Progress |
description: | updated |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Critical |
Changed in sosreport (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Critical → Medium |
This bug was fixed in the package sosreport - 4.0-1ubuntu1
---------------
sosreport (4.0-1ubuntu1) groovy; urgency=medium
[Eric Desrochers] sosclean- fix-handling- of-filepath- with-archive- name.patch:
* d/p/0003-
- 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] ceph-collect- balancer- and-pg- autoscale- status. patch:
* d/p/0005-
- Collect balancer and pg-autoscale status (LP: #1893109)
[Nicolas Bock] rabbitmq- add-info- on-maybe- stuck-processes .patch:
* d/p/0006-
- Add information on maybe_stuck() processes for RMQ. (LP: #1890846)
-- Eric Desrochers <email address hidden> Fri, 18 Sep 2020 09:23:04 -0400