Project

General

Profile

Actions

Feature #55303

open

pg autoscaler: only warn about changes that will take many days

Added by Dan van der Ster about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Urgent
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,quincy
Reviewed:
Affected Versions:
Pull request ID:

Description

Motivation: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/Z2UPETNARNVEPTYYA5Q6J5QBCUWKWTZ2/

We just upgraded our 640 OSD cluster to Ceph 16.2.7 and the resulting rebalancing of
misplaced objects is overwhelming the cluster and impacting MON DB compaction, deep scrub
repairs and us upgrading legacy bluestore OSDs. We have to pause the rebalancing if
misplaced objects or we're going to fall over.

Autoscaler-status tells us that we are reducing our PGs by 700'ish which will take us
over 100 days to complete at our current recovery speed

The autoscaler should not trigger such changes behind the back of the operator.
I propose that it should estimate the amount of time to carry out a split or merge operation, and only "warn" if that operation would take longer than a day (configurable), even if autoscale_mode is on.
Seeing the HEALTH_WARN, the operator can then schedule and carry out the pg split or merge at a time that suits their operations.

Actions #1

Updated by Neha Ojha about 2 years ago

  • Assignee set to Kamoltat (Junior) Sirivadhna
Actions #2

Updated by Radoslaw Zarzynski almost 2 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF