Project

General

Profile

Actions

Bug #39353

closed

Error message displayed when mon_osd_max_split_count would be exceeded is not as user-friendly as it could be

Added by Nathan Cutler about 5 years ago. Updated almost 5 years ago.

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

0%

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

Description

Under certain circumstances, an attempt to increase the PG count of a pool can fail like this:

$ ceph osd pool set foopool pg_num 512
Error E2BIG: specified pg_num 512 is too large (creating 504 new PGs on ~8 OSDs exceeds per-OSD max of 32)

This error can be addressed in two ways: either by increasing mon_osd_max_split_count or by simply increasing the pg_num in smaller increments. However, the error message does not mention either possibility.

This issue affects only mimic and luminous, because the error message (and indeed the mon_osd_max_split_count option itself) was removed in Nautilus.

The issue was partially addressed by https://github.com/ceph/ceph/commit/d2c0fe9b531 in Mimic.


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #39563: luminous: Error message displayed when mon_osd_max_split_count would be exceeded is not as user-friendly as it could beResolvedNathan CutlerActions
Actions #1

Updated by Nathan Cutler about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Nathan Cutler about 5 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 27647
Actions #3

Updated by Nathan Cutler about 5 years ago

  • Affected Versions v12.2.12 added
Actions #4

Updated by Nathan Cutler about 5 years ago

  • Subject changed from Error message displayed when mon_osd_max_split_count would be exceeded is not user-friendly to Error message displayed when mon_osd_max_split_count would be exceeded is not as user-friendly as it could be
Actions #5

Updated by Nathan Cutler about 5 years ago

  • Project changed from Ceph to RADOS
Actions #7

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Nathan Cutler almost 5 years ago

  • Copied to Backport #39563: luminous: Error message displayed when mon_osd_max_split_count would be exceeded is not as user-friendly as it could be added
Actions #9

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF