]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: fixes for period push/pull
authorCasey Bodley <cbodley@redhat.com>
Wed, 9 Sep 2015 14:56:31 +0000 (10:56 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:12:44 +0000 (16:12 -0800)
commit7a760fe79089907f923d637755c13c6e656a27bc
treeb971f26ae4888e009bc16f6c61e53e3ac760c2ad
parent669b9fc5ecd421cb9ab4bf3baaa843a5a55c8948
radosgw-admin: fixes for period push/pull

for send_to_remote_gateway() to work, the push and pull commands had to
be moved to the not-raw-storage section, because RGWRados::init_complete
is needed to set up the gateway connections

the period push command was changed to send the json-encoded period
data, so an in_data argument was added to send_to_remote_gateway()

the parameters for push and pull needed to remain separate from the
request_uri, because request_uri is used as input for the auth digest,
and the server side parses the parameters separately as well

Implements feature #11944

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc