Project

General

Profile

Bug #35917

mgr/dashboard: Allow the decrease of pg's of an existing pool

Added by Patrick Seidensal 11 months ago. Updated 24 days ago.

Status:
Pending Backport
Priority:
Normal
Category:
dashboard/pools
Target version:
Start date:
09/11/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

With the newest addition of Sage, it is by now possible to decrease the number of placement groups of a pool. This should also be possible using the dashboard.

ceph osd pool set {pool-name} pg_num {pg_num}

See also placement groups.


Related issues

Related to mgr - Feature #38227: mgr/dashboard: Manage PG autoscaling New 02/07/2019
Related to mgr - Feature #39482: mgr/dashboard: Make a long running task out of the increase or decrease of pgs of a pool Resolved 04/25/2019
Copied to mgr - Backport #39604: mgr/dashboard: Allow the decrease of pg's of an existing pool Need More Info

History

#1 Updated by Lenz Grimmer 11 months ago

I wonder if it will actually be necessary to change these values manually via the dashboard - as far as I understand it PR#24184 implements a Manager module that automatically manages this.

#2 Updated by Patrick Seidensal 9 months ago

As far as I understand it, the PR mentioned doesn't eliminate the need to set a PG number for creation of pools and might also not eliminate the need to be able to change the PG numbers manually.

https://github.com/ceph/ceph/pull/24184/files#diff-91e5380318f1e66a0b2ad947685cb4caR127

We're offering to set the number of placement groups on pool creation and offering to increase the number of placement groups for an existing pool, but preventing the user in the UI from decreasing it again. As this should be possible by now, I tend to just remove limitation from the frontend (and maybe also the backend).

#3 Updated by Lenz Grimmer 6 months ago

  • Related to Feature #38227: mgr/dashboard: Manage PG autoscaling added

#4 Updated by Ricardo Marques 4 months ago

  • Assignee set to Stephan Müller

#5 Updated by Lenz Grimmer 4 months ago

  • Tags set to low-hanging-fruit, management, usability
  • Target version set to v15.0.0
  • Backport set to nautilus

#6 Updated by Stephan Müller 4 months ago

  • Status changed from New to In Progress

#7 Updated by Stephan Müller 4 months ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 27785

#8 Updated by Lenz Grimmer 4 months ago

  • Tracker changed from Feature to Bug
  • Regression set to No
  • Severity set to 3 - minor

Converting this from "feature" to "bug" - not being able to change this via the dashboard while it's possible on the command line is an inconsistency we ought to fix.

#9 Updated by Lenz Grimmer 3 months ago

  • Status changed from Need Review to Pending Backport

Flagging this one for backporting into Nautilus as soon as the remaining comments on the PR into master have been addressed (which will be done in separate PRs)

#10 Updated by Lenz Grimmer 3 months ago

  • Related to Feature #39482: mgr/dashboard: Make a long running task out of the increase or decrease of pgs of a pool added

#11 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #39604: mgr/dashboard: Allow the decrease of pg's of an existing pool added

#12 Updated by Stephan Müller 24 days ago

  • Copied to deleted (Backport #39604: mgr/dashboard: Allow the decrease of pg's of an existing pool)

#13 Updated by Stephan Müller 24 days ago

  • Copied to Backport #39604: mgr/dashboard: Allow the decrease of pg's of an existing pool added

#14 Updated by Stephan Müller 24 days ago

  • Subject changed from mgr/dashboard: Enable increase/decrease of placement groups of a pool to mgr/dashboard: Allow the decrease of pg's of an existing pool

Also available in: Atom PDF