Project

General

Profile

Actions

Bug #22927

open

rgw: Location element not returned correctly from Post Upload Object

Added by joke lee about 6 years ago. Updated over 4 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

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

Actions #2

Updated by Greg Farnum about 6 years ago

  • Project changed from Ceph to rgw
Actions #3

Updated by Greg Farnum about 6 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Orit Wasserman almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to luminous, mimic
Actions #7

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to 7

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

Actions #8

Updated by Yuri Weinstein over 5 years ago

joke lee wrote:

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

merged

Actions #9

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 7 to Fix Under Review
Actions

Also available in: Atom PDF