]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/rgwam: use realm/zonegroup/zone method arguments for period update
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Wed, 11 Sep 2024 04:36:46 +0000 (10:06 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Wed, 25 Sep 2024 09:28:36 +0000 (14:58 +0530)
commitf95694ca964215ad298e08f765e5391023d40b31
treee0878c7e065f493e2233bccfc8f87255cfde11c3
parent1108cc993b0ae058a58aa267d18f607a05fe0e31
mgr/rgwam: use realm/zonegroup/zone method arguments for period update

period update method currently uses default zonegroup/zone for period
update commit. This PR is to use realm/zg/zone provided in the arguments
for period update. Also make the realm default that is created using realm pull
if it is the only realm present

Fixes: https://tracker.ceph.com/issues/67897
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit e4183b2fde820a6fc41146265f89d5fab79f684f)
src/pybind/mgr/dashboard/services/rgw_client.py
src/python-common/ceph/rgw/rgwam_core.py