Description of problem: Hi, I'm opening this as based on the upstream bug, which was however closed due to inactivity: [ cephadm/rgw: Add rgw_zonegroup to RGWSpec ] https://tracker.ceph.com/issues/48340 It looks like with cephadm there is no option to specify a custom zonegroup: https://github.com/ceph/ceph/blob/master/src/pybind/mgr/cephadm/services/cephadmservice.py#L767-L781 ~~~ # set rgw_realm and rgw_zone, if present if spec.rgw_realm: ret, out, err = self.mgr.check_mon_command({ 'prefix': 'config set', 'who': f"{utils.name_to_config_section('rgw')}.{spec.service_id}", 'name': 'rgw_realm', 'value': spec.rgw_realm, }) if spec.rgw_zone: ret, out, err = self.mgr.check_mon_command({ 'prefix': 'config set', 'who': f"{utils.name_to_config_section('rgw')}.{spec.service_id}", 'name': 'rgw_zone', 'value': spec.rgw_zone, }) ~~~ As according to the upstream bug, it looks we're hardcoding the zonegroup default everywhere. However in RHCS 4 it was possible to set it using ceph-ansible (group_vars directory): ~~~ rgw_zone: zone1 rgw_zonegroup: prod rgw_realm: realm1 ~~~ These options are then reflected in the corresponding rgw client section of the ceph.conf. Could you please check if it's feasible to implement a way to specify a custom zonegroup using RHCS 5 tooling? Thanks in advance, Sergii
@tchandr
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