]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw, rgw-admin: add realm/zonegroup/zone id configurables
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 29 Jun 2021 22:42:25 +0000 (15:42 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 6 Aug 2021 19:00:22 +0000 (12:00 -0700)
commit15b2da32f215be60ed56015696de14c0df7b7ce7
tree8f09fa6555b16163f3c761ccca2887910f24615c
parent8fdf1089b4595ba5019635618d9bfe7a81f60792
rgw, rgw-admin: add realm/zonegroup/zone id configurables

Add the following configurables:
 - rgw_realm_id
 - rgw_zonegroup_id
 - rgw_zone_id

radosgw-admin already had --realm-id, --zonegroup-id, --zone-id config options,
however, there were no such config options for radosgw. Adding these new config
options so that we could start radosgw with specifying the appropriate entity id
(vs. the entity names that was required previously). These also apply for
radosgw-admin.
The old radosgw-admin params are still valid for backward compatibility.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/common/options/rgw.yaml.in
src/rgw/rgw_admin.cc
src/rgw/rgw_zone.cc
src/rgw/rgw_zone.h