]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: period pull command is not always a raw_storage_op 37336/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 31 Aug 2020 15:19:34 +0000 (11:19 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 23 Sep 2020 11:16:09 +0000 (13:16 +0200)
commit68741d158630d146aeae1b7fdb11e7cacbd4dd7b
treecaba7f6e04a76a3deb9676cf19e089fef3cf00bc
parent0d7baa7913276f22ad2cbd8273df8c572134ced3
radosgw-admin: period pull command is not always a raw_storage_op

if a --url is given, 'period pull' does not depend on any zone/period
configuration and can be a raw_storage_op. if we get a --remote instead,
we do need to initialize the zone/period configuration to find the
correct endpoint/access keys

Fixes: https://tracker.ceph.com/issues/47217
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2b44a9d060d33dca9768c758e1908365488aac2a)
src/rgw/rgw_admin.cc