Project

General

Profile

Actions

Bug #12955

closed

Setting ACL on Object removes ETag

Added by Mike Beyer over 8 years ago. Updated over 7 years ago.

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

0%

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

Description

When a set object acl call is made against an object, we have found that the etag and content-type gets cleared from the object record in radosgw.

The etag is still available on a head request to the object, but will show as empty when doing a bucket listing, via s3 or radosgw-admin.

radosgw-admin buckets list --bucket=acl-test
[ {
"name": "1m",
"instance": "",
"namespace": "",
"owner": "7e1af43925cbef79334d2da290d602d586d04d7dd9aeb970c95ab93c0641c1f4",
"owner_display_name": "t3os_test",
"size": 1048576,
"mtime": "2015-09-04 17:35:15.000000Z",
"etag": "b6d81b360a5672d80c27430f39153e2c",
"content_type": "application\/octet-stream",
"tag": "default.165768.937",
"flags": 0
}

]
radosgw-admin buckets list --bucket=acl-test
[ {
"name": "1m",
"instance": "",
"namespace": "",
"owner": "7e1af43925cbef79334d2da290d602d586d04d7dd9aeb970c95ab93c0641c1f4",
"owner_display_name": "t3os_test",
"size": 1048576,
"mtime": "2015-09-04 17:35:29.000000Z",
"etag": "",
"content_type": "",
"tag": "_R6i1XhhxtUKy5_Z0o2UUvSkYt6Dq94n",
"flags": 0
}

]


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #13819: infernalis: Setting ACL on Object removes ETagRejectedAbhishek VarshneyActions
Copied to rgw - Backport #13820: hammer: Setting ACL on Object removes ETagResolvedActions
Actions

Also available in: Atom PDF