Project

General

Profile

Actions

Bug #59471

closed

Object Ownership Inconsistent

Added by Aidan Damerell about 1 year ago. Updated 1 day ago.

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

100%

Source:
Community (user)
Tags:
backport_processed
Backport:
pacific quincy reef
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The `owner` returned via the S3 API is not the same as that returned using `radosgw-admin bi list`. Example below:

```
[root@6369abc6056f /]# radosgw-admin bi list --bucket=repository-4
[ {
"type": "plain",
"idx": "test",
"entry": {
"name": "test",
"instance": "",
"ver": {
"pool": 7,
"epoch": 2
},
"locator": "",
"exists": true,
"meta": {
"category": 1,
"size": 0,
"mtime": "2023-04-17T13:41:05.436888Z",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"storage_class": "",
"owner": "nautilus",
"owner_display_name": "nautilus",
"content_type": "",
"accounted_size": 0,
"user_data": "",
"appendable": false
},
"tag": "7ad03645-e807-4784-be60-3f6ee0d323aa.5486.9422426110878657515",
"flags": 0,
"pending_map": [],
"versioned_epoch": 0
}
}
]
```

S3 API response:

```

<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/&quot;>
<Name>
repository-4</Name>
<Prefix>
</Prefix>
<MaxKeys>
1000</MaxKeys>
<Delimiter>
/</Delimiter>
<IsTruncated>
false</IsTruncated>
<Contents>
<Key>
test</Key>
<LastModified>
2023-04-17T13:41:05.436Z</LastModified>
<ETag>
"d41d8cd98f00b204e9800998ecf8427e"</ETag>
<Size>
0</Size>
<StorageClass>
STANDARD</StorageClass>
<Owner>
<ID>
user-4</ID>
<DisplayName>
</DisplayName>
</Owner>
<Type>
Normal</Type>
</Contents>
<KeyCount>
1</KeyCount>
</ListBucketResult>

```

It would appear the requestor is simply returned by the S3 API, rather than reading the metadata on the object.


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #61351: pacific: Object Ownership InconsistentResolvedCasey BodleyActions
Copied to rgw - Backport #61352: reef: Object Ownership InconsistentResolvedCasey BodleyActions
Copied to rgw - Backport #61353: quincy: Object Ownership InconsistentResolvedCasey BodleyActions
Actions

Also available in: Atom PDF