Bug 2109224 - [RFE] deploy custom RGW realm/zone using orchestrator and a specification file
Summary: [RFE] deploy custom RGW realm/zone using orchestrator and a specification file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 6.1
Assignee: Redouane Kachach Elhichou
QA Contact: Vinayak Papnoi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2022-07-20 17:17 UTC by Matthew Secaur
Modified: 2023-06-15 09:16 UTC (History)
8 users (show)

Fixed In Version: ceph-17.2.6-17.el9cp
Doc Type: Enhancement
Doc Text:
.Users can now create Ceph Object Gateway realm,zone, and zonegroup using `ceph rgw realm bootstrap -i rgw_spec.yaml` command With this release, to streamline the process of setting up Ceph Object Gateway on a {storage-product} cluster, users can create a Ceph Object Gateway realm, zone, and zonegroup using `ceph rgw realm bootstrap -i rgw_spec.yaml` command. The specification file should be modeled similar to the one that is used to deploy Ceph Object Gateway daemons using the orchestrator. The command then creates the realm,zone, and, zonegroup, and passes the specification on to the orchestrator, which then deploys the Ceph Object Gateway daemons. .Example ---- rgw_realm: myrealm rgw_zonegroup: myzonegroup rgw_zone: myzone placement: hosts: - rgw-host1 - rgw-host2 spec: rgw_frontend_port: 5500 ----
Clone Of:
Environment:
Last Closed: 2023-06-15 09:15:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-4862 0 None None None 2022-07-20 17:23:19 UTC
Red Hat Product Errata RHSA-2023:3623 0 None None None 2023-06-15 09:16:56 UTC

Description Matthew Secaur 2022-07-20 17:17:44 UTC
Description of problem:
Unable to create a custom realm/zonegroup/zone using a specification file passed to Orchestrator. The documentation [1] indicates that the realm/zonegroup/zone must be create manually in advance, and then Orchestrator can be used to add hosts/services.

[1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html/operations_guide/management-of-ceph-object-gateway-services-using-the-ceph-orchestrator#deploying-the-ceph-object-gateway-using-the-service-specification_ops 

Version-Release number of selected component (if applicable):
Red Had Ceph Storage 5.1

How reproducible:
Deploy Ceph 5.1 and follow the documentation, where it indicates that the custom realm/zoneset/zone configuration must be performed manually.

Desire Result:
The customer should be able to put custom realm information into radosgw.yaml and have the realm, zoneset, and zone be created if they do not already exist.

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

Comment 2 Redouane Kachach Elhichou 2022-12-19 12:38:23 UTC
This upstream PR should add support for this RFE.

https://github.com/ceph/ceph/pull/47708

Comment 3 jeremy 2022-12-19 13:07:02 UTC
That's awesome thanks ! :)

Comment 15 errata-xmlrpc 2023-06-15 09:15:33 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 (Moderate: Red Hat Ceph Storage 6.1 security and bug fix update), 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-2023:3623


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