Bug 2249537 - [RFE]Include the ability in Cephadm(via spec and cli) to create the required RGW pools.
Summary: [RFE]Include the ability in Cephadm(via spec and cli) to create the required ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2023-11-13 18:18 UTC by daniel parkes
Modified: 2024-11-25 09:00 UTC (History)
10 users (show)

Fixed In Version: ceph-19.1.0-3
Doc Type: Enhancement
Doc Text:
.New streamlining deployment for EC pools for Ceph Object Gateway The Ceph Object Gateway manager module can now create pools for the `rgw` service. Within the pool, data pools can receive attributes, based on the provided specification. This enhancement streamlines deployment for users who want Ceph Object Gateway pools used for Ceph Object Gateway to use EC instead of replica. To create a data pool with the specified attributes, use the following command: ---- ceph rgw realm bootstrap -i <path-to-spec-file> --start-radosgw ---- Currently, the EC profile fields of this specification only make use of the `k`, `m`, `pg_num`, and `crush-device-class` attributes. If other attributes are set, or if the pool type is replicated, the key value pairs pass to the `ceph osd pool create` command. The other pools for the Ceph Object Gateway zone, for example, the buckets index pool, are all created as replicated pools with default settings.
Clone Of:
Environment:
Last Closed: 2024-11-25 08:59:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7900 0 None None None 2023-11-13 18:19:00 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:00:00 UTC

Description daniel parkes 2023-11-13 18:18:07 UTC
Include the ability in Cephadm(via spec and cli) to create the required RGW pools.

As part of Epic: https://jsw.ibm.com/browse/ISCE-433 , we are looking to improve the bootstrap features of RGW to have a production-ready setup with minimal manual steps. 

By Default, RGW uses replica three pools using the default class and Failure domain. This configuration usually doesn't fit a production pool configuration, as you will most likely see the RGW pool using an EC profile to reduce costs.

 

Previously in ceph-ansible this was an option available: https://github.com/ceph/ceph-ansible/blob/main/group_vars/rgws.yml.sample#L57-L80

We have a similar example of a spec file in rook.https://github.com/rook/rook/blob/master/deploy/examples/object-ec.yaml#L29-L42

Erasure Code & Device class RGW Data pool configuration

Be able to select the replication schema EC profile or Replica for the RGW pools
Be able to select the device Class to use for the RGW pools
Be able to select the Failure domain for the RGW pools
[Optional]Be able to specify the PG count for the RGW pools.
Be able to configure zone, zonegroup, realm. Done in 7.0
Be able to configure Multiste Replication. Done in 7.0

Comment 1 RHEL Program Management 2023-11-13 18:18:17 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 18 errata-xmlrpc 2024-11-25 08:59:56 UTC
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 (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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-2024:10216


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