Project

General

Profile

Actions

Bug #54188

closed

Setting too many PGs leads error handling overflow

Added by Mark Nelson about 2 years ago. Updated about 1 year ago.

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

0%

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

Description

This happened on gibba001:

sudo cephadm shell -- /usr/bin/ceph -c /etc/ceph/ceph.conf osd pool create cbt-librbd 8192 8192
sudo cephadm shell -- /usr/bin/ceph -c /etc/ceph/ceph.conf osd pool application enable cbt-librbd rbd
sudo cephadm shell -- /usr/bin/ceph -c /etc/ceph/ceph.conf osd pool set cbt-librbd size 3

which lead to the following error:

Inferring fsid 2c15bd96-7a20-11ec-b7e0-3cecef3d8fb8
Using recent ceph image quay.ceph.io/ceph-ci/ceph@sha256:7f74479694ddb198ed9809745bc15defe263dc7e1d4309b505f04decead95c34
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
WARNING: The same type, major and minor should not be used for multiple devices.
Error ERANGE: pool id 6 pg_num 1152 size 3 would mean 18446744073709539715 total pgs, which exceeds max 243750 (mon_max_pg_per_osd 250 * num_in_osds 975)

However setting 4096 PGs instead worked as expected. This is verison:

sudo cephadm shell -- ceph --version
ceph version 17.0.0-10229-g7e035110 (7e035110784fba02ba81944e444be9a36932c6a3) quincy (dev)

Related issues 1 (0 open1 closed)

Is duplicate of RADOS - Bug #57105: quincy: ceph osd pool set <pool> size math errorResolvedMatan Breizman

Actions
Actions

Also available in: Atom PDF