]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/CloudTransition: Do not allow data pool for tier type storage classes
authorSoumya Koduri <skoduri@redhat.com>
Mon, 14 Dec 2020 18:26:16 +0000 (23:56 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 18 Nov 2021 07:22:48 +0000 (12:52 +0530)
commita3fdff29eaf03c475b91d280eb9737d4740a1f30
tree4136f0b75ea1128ffd40a50cc5498d2a6e408f5c
parentb86ba5d655b2d89b86e37f540dc21a3c4b4d2396
rgw/CloudTransition: Do not allow data pool for tier type storage classes

Tier type storage classes should not be allowed to have data
pools

& few other fixes/cleanup stated below -

* If the tier_targets are not configured, do not dump them in
the 'zonegroup get' command.

* If not configured, by default a bucket of below name convention -
"rgwx-$zonegroup-$storage_class-cloud-bucket"

is created in the remote cloud endpoint to transition objects to.

* Rename config option 'tier_storage_class' to 'target_storage_class'.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_json_enc.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_zone.cc
src/rgw/rgw_zone.h