]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/CloudTransition: Add new options to configure tier endpoint
authorSoumya Koduri <skoduri@redhat.com>
Sat, 11 Jul 2020 17:05:04 +0000 (22:35 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 18 Nov 2021 07:22:47 +0000 (12:52 +0530)
commitc63d16ff96203ca768c4733bc757cc08c9e4712f
tree40b564f824c0a35e8fad0fa72676e104536b9521
parentb1fba14ef5f54fbba96a1ba70089f51469d0c16e
rgw/CloudTransition: Add new options to configure tier endpoint

As mentioned in https://docs.google.com/document/d/1IoeITPCF64A5W-UA-9Y3Vp2oSfz3xVQHu31GTu3u3Ug/edit,
the tier storage class will be configured at zonegroup level.

So the existing CLI "radosgw-admin zonegroup placement add  <id> --storage-class <class>" will be
used to add tier storage classes as well but with extra tier-config options mentioned below -

--tier-type : "cloud"
--tier-config : [<key,value>,]

These tier options are already defined to configure cloud sync module which are being reused here.

TODO:
* Add multipart options (if any , like part size, threshold)
* Document
* Test upgrade/downgrade

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