Bug #12955
closedSetting ACL on Object removes ETag
0%
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
}
]