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 #1

Updated by Kiefer Chang over 4 years ago

  • Related to Feature #41005: mgr/dashboard: Suggest enabling newly supported features added
Actions #2

Updated by Kiefer Chang over 4 years ago

  • Related to deleted (Feature #41005: mgr/dashboard: Suggest enabling newly supported features)
Actions #3

Updated by Kiefer Chang over 4 years ago

  • Related to Bug #42608: mgr/dashboard: dashboard e2e Jenkins job failures when editing placement groups added
Actions #4

Updated by Kiefer Chang over 4 years ago

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

Updated by Patrick Seidensal over 4 years ago

  • Blocks Bug #43102: mgr/dashboard: remove E2E test workaround for autoscaler added
Actions #6

Updated by Stephan Müller over 4 years ago

I really think this issue should be closed.
I tested with the autoscaler globally set to on. Tested the pool creation with the autoscaler setting to on and off and if set to off the autoscaler doesn't seem to change the pool after a while, like it does if left on "on".

I didn't test setting the autoscaler globally to "off" and use it in the pool form - ATM I'm not sure this would work. But if so, this would be an issue on it's own.

Actions #7

Updated by Stephan Müller over 4 years ago

  • Blocks deleted (Bug #43102: mgr/dashboard: remove E2E test workaround for autoscaler)
Actions #8

Updated by Stephan Müller over 4 years ago

  • Related to Bug #43102: mgr/dashboard: remove E2E test workaround for autoscaler added
Actions #9

Updated by Stephan Müller over 4 years ago

  • Related to deleted (Bug #43102: mgr/dashboard: remove E2E test workaround for autoscaler)
Actions #10

Updated by Neha Ojha about 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33092
Actions #11

Updated by Lenz Grimmer about 4 years ago

  • Translation missing: en.field_tag_list set to usability
  • Assignee set to Sage Weil
  • Target version set to v15.0.0
Actions #12

Updated by Sage Weil about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF