Bug 2241321

Summary: [RFE] Allow the modification of zone/zonegroup parameters through the RGW service spec file
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: daniel parkes <dparkes>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 7.1CC: adking, cephqe-warriors, ckulal, mkasturi, rkachach, rpollack, saraut, tserlin, vereddy
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-131.el9cp Doc Type: Enhancement
Doc Text:
.Added automation for the Ceph Object Gateway multi-site setup With this enhancement, zone group host names can now be set using the Ceph Object Gateway realm bootstrap command. Set the `zonegroups_hostnames` by using the specification file that is provided to the `ceph rgw realm bootstrap` command. This feature continues to add another setup option through the initial specification file that is passed to the bootstrap command, instead of requiring additional steps. Add the `zonegroup_hostnames` section to the `spec` section of the Ceph Object Gateway specification that is passed to the realm bootstrap command. When the section is added, Cephadm automatically adds these specified host names to the zone group that is defined in the specification after the Ceph Object Gateway module finishes creating the palm, zone group, or zone. The following provides an example of the `zonegroup_hostnames` section to be added to the specification file: --- zonegroup_hostnames: - host1 - host2 --- NOTE: Adding the zone group host names can take a few minutes, depending on other Cephadm module workload activity at the time of compeltion.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:10:08 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: 2351689    

Description daniel parkes 2023-09-29 09:59:26 UTC
Description of problem:

When deploying a new RGW service, we would like cephadm to be able to do the full bootstrapping of the RGW service for Single and Multisite deployments, which would take the deployed RGW into a production-ready state for the user.

There are specific zone/zonegroup parameters that would normally be modified by the user during the deployment of the RGW service in production, as an example:

Customers that want to use virtual host path access to the buckets, need to configure the "hostnames:" to specify the fqdns.

Enabling/Disabling zone/zonegroup features can be another example: https://docs.ceph.com/en/latest/radosgw/multisite/#zone-features

We also have placement targets in zonegroups and storage classes in zones that would be very useful, but this could be more complex ,so it could be discussed further down the line

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

Comment 38 errata-xmlrpc 2025-06-26 12:10:08 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 (Important: Red Hat Ceph Storage 8.1 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/RHSA-2025:9775