Project

General

Profile

Bug #22927

rgw: Location element not returned correctly from Post Upload Object

Added by joke lee over 1 year ago. Updated about 1 year ago.

Status:
Testing
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/06/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

according to https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html

response should contain ETag and fix the Location Element

in amazon s3

<PostResponse><Location>http://s3.amazonaws.com/happybucket2/prefix%2F111222</Location><Bucket>happybucket2</Bucket><Key>prefix/111222</Key><ETag>"22cf483cd7c9ca14793b86144ad31fba"</ETag></PostResponse>

in rgw

<PostResponse><Location>/test2/prefix/keyv7</Location><Bucket>test2</Bucket><Key>prefix/keyv7</Key></PostResponse>

the objectname bucketname should urlencode and we should have domain url in Location

History

#2 Updated by Greg Farnum over 1 year ago

  • Project changed from Ceph to rgw

#3 Updated by Greg Farnum over 1 year ago

  • Status changed from New to Need Review

#4 Updated by Orit Wasserman over 1 year ago

  • Status changed from Need Review to Pending Backport
  • Backport set to luminous, mimic

#7 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Testing

The master PR https://github.com/ceph/ceph/pull/20330 is still open, presumably pending integration testing?

#8 Updated by Yuri Weinstein about 1 year ago

joke lee wrote:

https://github.com/ceph/ceph/pull/20330 fix this

merged

Also available in: Atom PDF