Project

General

Profile

Actions

Bug #17159

closed

system user can't copy objects using put method and rgwx-source-zone parameter

Added by hikdata hik over 7 years ago. Updated about 7 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

we want to copy an object by sending an uri like /bucket/obj?rgwx-source-zone=xxx&rgwx-client-id=xxx&rgwx-op-id=xxx. but the radosgw log report an error as it can't get the values of parameter client-id an op-id. Because class RGWHTTPArgs puts the parameter starting with 'rgwx-' into a sys_val map, while class RGWCopyObj_ObjStore_S3 use RGWHTTPArgs::get() to get the values of parameter client-id an op-id. The values can only be get by RGWHTTPArgs::sys_get() function.

Actions

Also available in: Atom PDF