Project

General

Profile

Actions

Bug #10106

closed

rgw acl response should start with <?xml version="1.0" ?>

Added by Jon Kåre Hellan over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
giant, firefly
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I encountered some surprising behaviour when playing with radosgw and s3cmd.
You can probably make a convincing case that the fault lies with s3cmd. But other
applications could easily be wrong in the same way.

Anyway, when I perform GET /?acl or GET /ObjectName?acl on AWS S3, the response content starts like this:

<?xml version="1.0" ?>
<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/&quot;>

With radosgw, the '<?xml' line is missing.

This confuses s3cmd, so that it does not understand the ACL. Any chance that radosgw could start sending
the missing line?

Actions

Also available in: Atom PDF