Project

General

Profile

Actions

Feature #42638

closed

Allow specifying pg_autoscale_mode when creating a new pool

Added by Kiefer Chang over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
ceph cli
Pull request ID:

Description

pg_autoscaler is enabled by default in Octopus, but we can't disable the feature when creating a new pool.
This might lead to a situation that the created pool has different pg from the value we specify.

Currently, there are two methods to adjust the pg_autoscale flags for pools:
  • Set the feature by pool. There is a window between this command and `osd create` command, pg_autoscaler might start its operation during this window:
    ceph osd pool set <pool-name> pg_autoscale_mode off
    
  • Turn off the feature globally, which might not be preferred either:
    ceph config set global osd_pool_default_pg_autoscale_mode off
    

It would be nice if we can specify the mode during pool creation. This also helps Dashboard to have better control on new-created pools.


Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #42608: mgr/dashboard: dashboard e2e Jenkins job failures when editing placement groupsResolvedKiefer Chang

Actions
Related to Dashboard - Feature #38227: mgr/dashboard: Manage PG autoscalingResolvedRicardo Marques

Actions
Actions

Also available in: Atom PDF