Bug 2249537

Summary: [RFE]Include the ability in Cephadm(via spec and cli) to create the required RGW pools.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: daniel parkes <dparkes>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: adking, akraj, cephqe-warriors, jcaratza, mkasturi, rpollack, saraut, tserlin, vereddy, vimishra
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-25 08:59:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2317218    

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