Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1489064 - prevent creation (of pools with) too many PGs
prevent creation (of pools with) too many PGs
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RADOS (Show other bugs)
3.0
All All
high Severity high
: rc
: 3.0
Assigned To: Josh Durgin
shylesh
Bara Ancincova
: Reopened
: 1491007 (view as bug list)
Depends On:
Blocks: 1494421
  Show dependency treegraph
 
Reported: 2017-09-06 11:59 EDT by Sage Weil
Modified: 2017-12-05 18:42 EST (History)
13 users (show)

See Also:
Fixed In Version: RHEL: ceph-12.2.1-16.el7cp Ubuntu: ceph_12.2.1-18redhat1
Doc Type: Bug Fix
Doc Text:
.The number of PGs per OSD is now limited Previously, it was possible to create pools that included a large number of placement groups (PGs) which could overload the cluster. This update introduces a new configuration option, `mon_max_pg_per_osd`, that limits the number of PGs per OSD to 200. Creating pools or adjusting the `pg_num` parameter now fails if the change would make the number of PGs per OSD exceed the configured limit. You can adjust this option in the Ceph configuration file. In addition, the `mon_pg_warn_max_per_osd` option has been removed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-05 18:42:05 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github ceph/ceph/pull/17814 None None None 2017-10-05 12:02 EDT
Red Hat Product Errata RHBA-2017:3387 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-05 22:03:45 EST

  None (edit)
Description Sage Weil 2017-09-06 11:59:30 EDT
Description of problem:

Users can create pools with lots of pgs and overload the cluster.  Prevent that via a config option that limits the pgs per osd.

See upstream PR https://github.com/ceph/ceph/pull/17427.  This will need to be backported to luminous and (maybe) 2.y.
Comment 2 Ian Colle 2017-10-04 11:31:08 EDT
https://github.com/ceph/ceph/pull/17814 is backport PR
Comment 6 Josh Durgin 2017-10-16 11:20:31 EDT

*** This bug has been marked as a duplicate of bug 1491007 ***
Comment 8 Josh Durgin 2017-10-16 11:30:00 EDT
*** Bug 1491007 has been marked as a duplicate of this bug. ***
Comment 18 shylesh 2017-10-25 05:28:03 EDT
Verified on 12.2.1-29
Comment 22 errata-xmlrpc 2017-12-05 18:42:05 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387

Note You need to log in before you can comment on or make changes to this bug.