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 #1

Updated by Josh Durgin about 2 years ago

  • Project changed from Ceph to RADOS
Actions #2

Updated by Josh Durgin about 2 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Radoslaw Zarzynski about 2 years ago

  • Priority changed from High to Normal

Getting this back to normal as the impact is the inability to create a new pool (no direct threat to data).

Actions #4

Updated by Radoslaw Zarzynski over 1 year ago

  • Related to Bug #57105: quincy: ceph osd pool set <pool> size math error added
Actions #5

Updated by Matan Breizman over 1 year ago

  • Is duplicate of Bug #57105: quincy: ceph osd pool set <pool> size math error added
Actions #6

Updated by Matan Breizman over 1 year ago

  • Related to deleted (Bug #57105: quincy: ceph osd pool set <pool> size math error)
Actions #7

Updated by Matan Breizman over 1 year ago

Setting this tracker a duplicate. Seems like the same issue, and 57105 proposed PR should address this one as well.

Actions #8

Updated by Matan Breizman about 1 year ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF