Actions
Bug #39353
closedError message displayed when mon_osd_max_split_count would be exceeded is not as user-friendly as it could be
% 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.
Updated by Nathan Cutler about 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 27647
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
Updated by Yuri Weinstein almost 5 years ago
Updated by Nathan Cutler almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
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
Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved
Actions