Project

General

Profile

Actions

Bug #41567

closed

mgr: pg_autoscaler: problem with pool_logical_used

Added by Ansgar Jazdzewski over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The Value for pool_logical_used sould be taken from 'stored' if not the pool-size is used twice

This bug only appears on clusters with a usage of more than 33%

/src/pybind/mgr/pg_autoscaler/module.py
- pool_logical_used = pool_stats[pool_id]['bytes_used']
+ pool_logical_used = pool_stats[pool_id]['stored']

Fix: https://github.com/ceph/ceph/pull/29986

  1. ouput with the error ####
    mon02 [hq]:~$ ceph health detail
    HEALTH_WARN 1 subtrees have overcommitted pool target_size_bytes; 1 subtrees have overcommitted pool target_size_ratio
    POOL_TARGET_SIZE_BYTES_OVERCOMMITTED 1 subtrees have overcommitted pool target_size_bytes
    Pools ['default.rgw.buckets.data', 'cephfs.data'] overcommit available storage by 1.129x due to target_size_bytes 0 on pools []
    POOL_TARGET_SIZE_RATIO_OVERCOMMITTED 1 subtrees have overcommitted pool target_size_ratio
    Pools ['default.rgw.buckets.data', 'cephfs.data'] overcommit available storage by 1.129x due to target_size_ratio 0.000 on pools []

Related issues 1 (0 open1 closed)

Copied to mgr - Backport #42260: nautilus: mgr: pg_autoscaler: problem with pool_logical_usedResolvedNathan CutlerActions
Actions #1

Updated by Nathan Cutler over 4 years ago

  • Tracker changed from Fix to Bug
  • Subject changed from mgr: pg_autoscaler to mgr: pg_autoscaler: problem with pool_logical_used
  • Status changed from New to Fix Under Review
  • Regression set to No
  • Severity set to 3 - minor
  • Pull request ID set to 29986
Actions #2

Updated by Kefu Chai over 4 years ago

  • Backport set to nautilus
Actions #3

Updated by Greg Farnum over 4 years ago

  • Project changed from Ceph to mgr
Actions #4

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Priority changed from Normal to Urgent
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42260: nautilus: mgr: pg_autoscaler: problem with pool_logical_used added
Actions #6

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF